1092 Commits

Author SHA1 Message Date
Claes Redestad
73b11dc1d0 8163373: Rewrite GenerateJLIClassesPlugin to avoid reflective calls into java.lang.invoke
Reviewed-by: vlivanov, mchung
2016-08-10 21:55:25 +02:00
Claes Redestad
bb95ea6101 8163370: Reduce number of classes loaded by common usage of java.lang.invoke
Reviewed-by: igerasim, psandoz
2016-08-10 13:54:38 +02:00
Claes Redestad
0ae20fdfaa 8163476: java/lang/StackWalker/VerifyStackTrace.java fails after JDK-8163369
Reviewed-by: igerasim, chegar
2016-08-09 15:02:27 +02:00
Claes Redestad
cdef6ef876 8163369: Enable generating DMH classes at link time
Reviewed-by: vlivanov, shade
2016-08-09 10:00:31 +02:00
Brian Burkhalter
522e112b4a 8146215: (fs) java/nio/file/Files/probeContentType/Basic.java failed frequently on Solaris-sparc with Unexpected type: text/plain
Append a FileTypeDetector using java.net.FileNameMap as a fallback on all platforms

Reviewed-by: alanb, rriggs, naoto
2016-08-08 13:57:51 -07:00
Alejandro Murillo
961ca2224c Merge 2016-08-08 08:12:20 -07:00
Claes Redestad
8cf37c5448 8161379: Force inline methods calling Reflection.getCallerClass
Reviewed-by: shade, mchung
2016-08-06 00:34:50 +02:00
Alejandro Murillo
83f8829c06 Merge 2016-08-05 09:50:29 -07:00
Ivan Gerasimov
4809e92cec 8163180: Typos around @code javadoc tag usage
Reviewed-by: dfuchs
2016-08-04 16:05:37 +03:00
Christoph Langer
d83a402794 8162819: fix minor Javadoc issues and remove warnings in java.net.Socket
Reviewed-by: dfuchs
2016-08-03 21:15:05 +02:00
Claes Redestad
68a5236016 8162439: Runtime.Version.parse needs fast-path for major versions
Reviewed-by: psandoz, sdrach, iris
2016-08-01 20:32:10 +02:00
Sean Mullan
df31ad7090 8161506: Deprecate pre-1.2 SecurityManager methods and fields with forRemoval=true
Reviewed-by: coleenp, jnimeh, xuelei
2016-08-01 09:58:36 -04:00
Alejandro Murillo
435f7046be Merge 2016-07-30 00:11:02 +00:00
Alejandro Murillo
41186dae1b Merge 2016-07-29 16:11:57 -07:00
Paul Sandoz
8dc58ab506 8162458: Buffer view implementations use incorrect offset for Unsafe access
Reviewed-by: alanb
2016-07-29 10:18:47 +02:00
Nadeesh TV
c47c7d8ccf 8160681: LocalDate.ofEpochDay input validation
Change the EpochDay range to [-365243219162L, 365241780471L]

Reviewed-by: rriggs, scolebourne
2016-07-28 11:18:43 +00:00
Nadeesh TV
f7eff31b47 8066806: java.time.format.DateTimeFormatter cannot parse an offset with single digit hour
Added support for single digit hour in offset

Reviewed-by: rriggs, scolebourne
2016-07-28 10:28:21 +00:00
David Holmes
a7960979d9 8140723: Remove source code conditionalized on JAVASE_EMBEDDED
Reviewed-by: psandoz, alanb, alexsch
2016-07-26 23:52:29 -04:00
Alejandro Murillo
19e317fe9c Merge 2016-07-26 16:18:24 -07:00
Doug Lea
55ee90a475 8161591: Miscellaneous changes imported from jsr166 CVS 2016-07
Reviewed-by: martin, psandoz, plevart
2016-07-26 10:06:19 -07:00
Doug Lea
2545e51a0c 8161608: StampedLock should use storeStoreFence when acquiring write lock
Reviewed-by: martin, psandoz, plevart
2016-07-26 10:02:05 -07:00
Doug Lea
825edd9274 8160751: Optimize ConcurrentHashMap.keySet().removeAll
8161372: ConcurrentHashMap.computeIfAbsent(k,f) locks bin when k present

Reviewed-by: martin, psandoz, plevart
2016-07-26 09:57:51 -07:00
Doug Lea
6db3f79f39 8160402: Garbage retention with CompletableFuture.anyOf
Reviewed-by: martin, psandoz, plevart
2016-07-26 09:53:38 -07:00
Doug Lea
b7284ca20e 8162396: j.u.c java.lang.LinkageError
Reviewed-by: martin, psandoz, plevart
2016-07-26 09:49:25 -07:00
Martin Buchholz
0d7e21080e 8162563: Fix double checked locking in System.console()
Reviewed-by: rriggs, sherman
2016-07-26 15:41:40 -07:00
Joe Darcy
085f7a6907 8162539: Test fails because it expects a blank between method signature and throws exception
Reviewed-by: coleenp
2016-07-26 12:56:26 -07:00
Vyom Tewari
620b097690 8161291: Serialization Tests for URLPermission is failing
Reviewed-by: dfuchs, chegar
2016-07-26 13:26:12 +05:30
Xueming Shen
e944d9f280 8161942: java.util.zip.ZipEntry.java not covering UpperLimit range of DOS epoch
Reviewed-by: redestad
2016-07-22 16:32:48 -07:00
Alejandro Murillo
9b3ccc70ac Merge 2016-07-22 10:35:48 -07:00
Masayoshi Okutsu
2d98fa4822 8161203: ResourceBundle.getBundle performance regression
Reviewed-by: alanb
2016-07-22 13:31:58 +09:00
Alejandro Murillo
f9685d533c Merge 2016-07-21 20:09:20 -07:00
Iris Clark
89602315a1 8161236: Runtime.Version.{compareTo, equals}IgnoreOpt should be renamed
Reviewed-by: alanb, rfield, ksrini
2016-07-21 07:42:05 -07:00
Brent Christian
99b4bd5013 8161718: Copyright/License updates to corba, jdk
Reviewed-by: bpb, naoto
2016-07-20 08:32:07 -07:00
Steve Drach
fe8757403b 8157524: Revert JarFile methods "entries" and "stream" to Java 8 behavior
Reviewed-by: alanb, psandoz, redestad
2016-07-19 10:05:22 -07:00
Alejandro Murillo
088da8eae6 Merge 2016-07-15 09:10:36 -07:00
Paul Sandoz
2446e48a5f 8151163: All Buffer implementations should leverage Unsafe unaligned accessors
Reviewed-by: shade, aph
2016-07-15 12:36:15 +02:00
Valerie Peng
99cea12e90 8136459: MessageDigest.isEqual is not a "simple byte compare"
Update the corresponding javadoc with @implNote and clarification.

Reviewed-by: mullan, darcy
2016-07-15 01:24:22 +00:00
Volker Simonis
d09561f8c6 8160564: TEST: Add a test to check the implementation of VersionProps.versionNumbers()
Reviewed-by: mchung, redestad
2016-07-14 16:49:30 +02:00
Steve Drach
0062a02e07 8150680: JarFile.Release enum needs reconsideration with respect to it's values
Reviewed-by: alanb, psandoz
2016-07-13 11:43:45 -07:00
Xueming Shen
47c84f9fe6 7031075: GZIPInputStream's available() reports 1, but read() gives -1
Reviewed-by: bpb
2016-07-13 16:37:24 -07:00
Steve Drach
e4a671e635 8155770: Correct URLClassLoader API documentation to explicitly say jar-scheme URL's are accepted
Reviewed-by: psandoz
2016-07-12 11:05:27 -07:00
Xueming Shen
faaf303a95 8133170: Deflater.deflate with small output buffers fails
Reviewed-by: bpb
2016-07-07 14:16:58 -07:00
Nishit Jain
74a59850a5 8055900: j.t.SimpleDateFormat spec needs to be clarified regarding month patterns
Reviewed-by: okutsu, peytoia
2016-07-07 17:53:55 +09:00
Shilpi Rastogi
aec121f999 8158169: MethodHandles.dropArgumentsToMatch(...)
Reviewed-by: psandoz, mhaupt
2016-07-07 09:51:47 +02:00
Michael Haupt
d09f7620fe 8160717: MethodHandles.loop() does not check for excessive signature
Reviewed-by: psandoz, redestad
2016-07-06 17:10:36 +02:00
Joe Darcy
098053564e 6226715: (ann) java.lang.annotation.AnnotationTypeMismatchException could not be serialized
Reviewed-by: rriggs
2016-07-05 21:11:40 -07:00
Alejandro Murillo
451f529750 Merge 2016-07-05 13:50:37 -07:00
Bhanu Prakash Gopularam
9717ec036b 8159616: java.time.Instant falls through switch statement
Removed the unneeded case statement INSTANT_SECONDS

Reviewed-by: rriggs, scolebourne
2016-07-04 10:50:28 +00:00
Michael Haupt
a06c5e0f57 8143211: provide bytecode intrinsics for loop and try/finally executors
Reviewed-by: psandoz, redestad, vlivanov
2016-07-04 10:08:18 +02:00
Vinnie Ryan
dc536f2d74 8157730: Mark deprecated java.security.{Identity,IdentityScope,Signer} APIs with forRemoval=true
Reviewed-by: mullan
2016-07-01 22:55:26 +01:00