1753 Commits

Author SHA1 Message Date
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
Daniel Fuchs
9fb04d6e56 8153082: Update XSLT compiler to generate classes that invoke addReads
This fix updates the XSLT compiler to generate Module.addReads statements for external function calls (see FunctionCall.java)

Reviewed-by: alanb, clanger, joehw
2016-07-26 14:30:52 +01:00
Xue-Lei Andrew Fan
4c352f2d46 8161898: Mark the use of deprecated javax.security.cert APIs with forRemoval=true
Reviewed-by: vinnie, mullan
2016-07-27 02:47:04 +00:00
Valerie Peng
9a82da0c94 8159488: Deprivilege java.xml.crypto
Update java.policy with the necessary permissions and minor code refactoring

Reviewed-by: mullan
2016-07-27 01:24:09 +00: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
Naoto Sato
1c514f5458 8162343: non-ASCII characters in source code comments (.hpp)
Reviewed-by: rriggs
2016-07-26 10:53:20 -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
Vinnie Ryan
149b8bf45d 8161571: Verifying ECDSA signatures permits trailing bytes
Reviewed-by: xuelei
2016-07-22 16:05:23 +01:00
Christoph Langer
d585d63b3e 8160174: java.net.NetworkInterface - fixes and improvements for network interface listing
Reviewed-by: chegar
2016-07-22 14:38:33 +02: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
Anthony Scarpino
da8486b47a 8060224: Enable SHA-1 CertPath Restrictions
Reviewed-by: mullan
2016-07-21 15:08:06 -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
284de87e36 8161039: System.getProperty("os.version") returns incorrect version number on Mac
Omit trailing .0 from os.version when patchVersion is 0

Reviewed-by: alanb
2016-07-21 13:02:35 -07:00
Naoto Sato
2de3b82d9a 8161937: non-ASCII characters in source code comments
Reviewed-by: alanb
2016-07-21 09:21:48 -07:00
Volker Simonis
d17574e8dd 8161951: 8132379 introduced non ANSI C coding
Reviewed-by: dholmes
2016-07-20 20:47:42 +02: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
Frederic Parain
ed5f40504b 8161034: GPL header missing comma after year
Reviewed-by: alanb
2016-07-18 08:28:32 -07:00
Daniel D. Daugherty
5bfaf361d1 Merge 2016-07-15 18:09:33 +00:00
Alan Burlison
963af328b0 8160997: Solaris: deprecated <pwd.h> and <gid.h> interfaces should be replaced
Use final POSIX 1003.1c versions of getgrgid_r(), getgrnam_r(), getpwnam_r(), and getpwuid_r().

Reviewed-by: alanb, dcubed, simonis, dholmes
2016-07-15 09:37:38 -07:00
Alejandro Murillo
088da8eae6 Merge 2016-07-15 09:10:36 -07:00
Alejandro Murillo
2bff7015a6 Merge 2016-07-15 09:05: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
Rachna Goel
4e8a2de21a 8154797: Localization data for "GMT"
Reviewed-by: naoto, okutsu
2016-07-14 10:30:23 +09: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
Serguei Spitsyn
327708637b 8159145: Add JVMTI function GetNamedModule
Introduce function GetNamedModule with a jtreg test coverage

Reviewed-by: alanb, ctornqvi, hseigel, jiangli, dholmes, dcubed
2016-07-09 17:45:16 -07:00
Phil Race
252e4cbffa Merge 2016-07-08 09:30:13 -07:00
Ivan Gerasimov
a58b562057 8161017: GPL header missing comma in year
Reviewed-by: coffeys, rriggs
2016-07-08 17:56:52 +03:00
Henry Jen
d996c5d95f 8132379: -J options can cause crash or "Warning: app args parsing error passing arguments as-is"
Reviewed-by: ksrini
2016-07-07 21:15: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
Weijun Wang
1931ac4196 8130302: jarsigner and keytool -providerClass needs be re-examined for modules
Reviewed-by: valeriep, mchung, mullan
2016-07-12 09:41:49 +08:00
Martin Walsh
a7e2ba6615 8160831: GioFileTypeDetector always calls deprecated g_type_init
Ensure that g_type_init is non-null before using it.

Reviewed-by: alanb
2016-07-11 14:46:21 -07:00
Xueming Shen
faaf303a95 8133170: Deflater.deflate with small output buffers fails
Reviewed-by: bpb
2016-07-07 14:16:58 -07:00
Joe Darcy
871852cb44 8152174: Type annotations with a missing type throw NullPointerException
Reviewed-by: jfranck
2016-07-07 10:16:47 -07:00
Paul Sandoz
a4245ceb1d 8160885: Unsafe.compareAndExchangeDouble/FloatAcquire should defer to compareAndExchangeLong/IntAcquire
Reviewed-by: mhaupt
2016-07-07 18:30:43 +02: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
Weijun Wang
db8e727862 8158589: Possible integer overflow issues for DRBG
Reviewed-by: xuelei, mullan
2016-07-06 21:52:12 +08:00