1103 Commits

Author SHA1 Message Date
Ivan Gerasimov
25ff06c014 8163517: Various cleanup in java.io code
Reviewed-by: shade, rriggs, redestad
2016-08-18 22:07:09 +03:00
Claes Redestad
9dcafe04f0 8164044: Generate corresponding simple DelegatingMethodHandles when generating a DirectMethodHandle at link time
Reviewed-by: vlivanov, mhaupt, shade
2016-08-18 19:00:39 +02:00
Anthony Scarpino
697ec31ecf 8156192: Provider#compute and #merge methods expect wrong permission & #compute ClassCastException even with wrong permission
Reviewed-by: mullan, jnimeh
2016-08-17 16:03:52 -07:00
Nishit Jain
10179e0d9b 8129555: DateFormatSymbols: month-related methods must refer to Calendar constants
Reviewed-by: naoto, okutsu, peytoia
2016-08-16 15:26:41 +09:00
Doug Lea
0f24b72e4e 8163210: java/util/concurrent/tck/JSR166TestCase.java testWriteAfterReadLock(StampedLockTest): timed out waiting for thread to terminate
Reviewed-by: martin, psandoz, dholmes
2016-08-15 09:09:00 -07:00
Doug Lea
cdae608a00 8162805: Optimize AtomicBoolean.getAndSet
Reviewed-by: martin, psandoz, shade
2016-08-15 09:04:40 -07:00
Claes Redestad
7ccd401ac7 8163946: java/lang/String/concat/WithSecurityManager.java fails after 8163878
Reviewed-by: mhaupt
2016-08-12 17:35:01 +02:00
Claes Redestad
fff5c5bf8d 8163878: Remove unnecessary bridge methods, allocations in java.lang.invoke
Reviewed-by: mhaupt, shade
2016-08-12 11:30:23 +02:00
Ivan Gerasimov
9088dcdb4a 8163518: Integer overflow in StringBufferInputStream.read() and CharArrayReader.read/skip()
Reviewed-by: rriggs, shade
2016-08-11 17:03:40 +03:00
Mandy Chung
e2a0ff3e0d 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: alanb, ksrini, henryjen, sundar
2016-08-10 15:51:25 -07:00
Claes Redestad
855893cb3b 8163814: JDK build has been failing after 8163373
Reviewed-by: mchung
2016-08-10 22:49:05 +02:00
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