2369 Commits

Author SHA1 Message Date
Paul Sandoz
e7fe2a82ca 8166735: JarFile#getVersion spec clarification for unversioned jars
Reviewed-by: mchung, alanb
2016-11-08 12:36:21 -08:00
Paul Sandoz
060ce7c739 8165782: java.util.jar.JarFile.runtimeVersion() spec needs clarification
Reviewed-by: mchung, alanb
2016-11-08 12:36:13 -08:00
Claes Redestad
a13cbb364c 8168911: Increased number of classes initialized during initialization of SignatureFileVerifier
Reviewed-by: ascarpino
2016-11-08 13:23:16 +01:00
Nishit Jain
c8aad861dc 8166994: Improve sun.util.locale.LocaleMatcher
Reviewed-by: okutsu, naoto, peytoia
2016-11-08 14:48:55 +05:30
David Dehaven
d4857ff0f3 8169289: JavaFX application in named module fails to launch if no main method
Reviewed-by: mchung, ksrini
2016-11-07 12:46:23 -08:00
Bhanu Prakash Gopularam
86bd9c2fd3 8066291: Return unmodifiable set of zone IDs to optimize ZoneIdPrinterParser
Cache the available zones to speed up parsing

Reviewed-by: rriggs, scolebourne
2016-11-21 06:04:25 +00:00
Mandy Chung
671d12ce6b 8169909: java agent fails to add to class path when the initial module is a named module
Reviewed-by: alanb
2016-11-20 07:57:57 -08:00
Claes Redestad
709d9ee9d0 8169993: Class::desiredAssertionStatus should call getClassLoader0
Reviewed-by: psandoz
2016-11-19 12:22:35 +01:00
Claes Redestad
09591861d0 8169880: Remove the sun.reflect.noCaches option
Reviewed-by: shade, psandoz, mchung
2016-11-17 19:38:14 +01:00
Weijun Wang
9a7622561a 7004967: SecureRandom should be more explicit about threading
8169312: SecureRandom::getSeed(num) not specified if num is negative

Reviewed-by: mullan, xuelei
2016-11-17 21:02:39 +08:00
Anubhav Meena
3f35be7242 8167618: DateTimeFormatter.format() uses exceptions for flow control
Removed flow control in exception catch

Reviewed-by: rriggs, scolebourne
2016-11-17 11:55:59 +00:00
Paul Sandoz
ce32d2aec8 8072784: Better spliterator implementation for BitSet.stream()
Reviewed-by: martin
2016-11-16 14:26:14 -08:00
Paul Sandoz
4bcf62b9d1 8132097: Stream.generate should use a covariant Supplier as parameter
Reviewed-by: forax, martin
2016-11-16 14:26:12 -08:00
Jamil Nimeh
2eff7e6a9a 8043252: Debug of access control is obfuscated - NullPointerException in ProtectionDomain
Protect against null return value from Permission.getActions in ProtectionDomain's toString method.

Reviewed-by: weijun, mullan
2016-11-16 08:29:58 -08:00
Daniel Fuchs
f3cb8c41dc 8169068: Add a new method: java.net.Authenticator.getDefault()
Reviewed-by: chegar
2016-11-16 15:40:06 +00:00
Stuart Marks
d55905fe1b 8156079: consider making empty instances singletons
8169222: minor immutable collections optimizations

Reviewed-by: forax, redestad, alanb
2016-11-04 14:29:34 -07:00
Mandy Chung
d74e2a09ac 6479237: (cl) Add support for classloader names
Reviewed-by: alanb, bchristi, coleenp, dfuchs, lfoltan, psandoz, sspitsyn
2016-11-03 18:08:28 -07:00
Jamil Nimeh
c535c8a446 8133632: javax.net.ssl.SSLEngine does not properly handle received SSL fatal alerts
Upon receiving a fatal alert, make sure the input and output queues are closed and the engine is in the NOT_HANDSHAKING state.

Reviewed-by: xuelei
2016-11-03 15:18:16 -07:00
Joe Darcy
1f577b2097 8168681: Correct deprecation text for Class.newInstance
Reviewed-by: mchung
2016-11-03 13:06:24 -07:00
Ivan Gerasimov
d86b93b397 8168921: Inconsistent Annotation.toString()
Reviewed-by: darcy, redestad
2016-11-02 20:53:56 +03:00
Ivan Gerasimov
4541ef3ed7 8168923: Use unsigned random long in a temp directory name
Reviewed-by: bpb, alanb
2016-11-02 18:45:14 +03:00
Christoph Langer
cc20838f95 8168771: Remove #ifdef AF_INET6 guards in libnet native coding
Reviewed-by: chegar
2016-11-02 11:52:51 +01:00
Erik Joelsson
fb5635d6df 8063154: Checked in jvmti.h not in sync with generated jvmti.h
Reviewed-by: tbell
2016-11-02 10:43:48 +01:00
Paul Sandoz
530da2782a 8168841: The JavaDoc of java.util.stream.Collectors method collectingAndThen has incorrect code snippet
Reviewed-by: smarks, lancea, tvaleev
2016-11-01 17:29:49 -07:00
Paul Sandoz
1730680ce7 8167974: MethodHandles.iteratedLoop(...) fails with CCE in the case of iterating over array
8167966: MethodHandles.iteratedLoop fails with IAE in the case of correct arguments

Reviewed-by: redestad
2016-11-01 17:29:48 -07:00
Paul Sandoz
ff33d165a6 8163553: java.lang.LinkageError from test java/lang/ThreadGroup/Stop.java
Reviewed-by: redestad
2016-11-01 17:20:45 -07:00
Steve Drach
674c5463e3 8156499: Update jlink to support creating images with modules that are packaged as multi-release JARs
Reviewed-by: alanb, mchung
2016-11-01 14:36:26 -07:00
Chris Hegarty
707d289a69 8168980: Reinstate sun.reflect.ReflectionFactory.newConstructorForSerialization(Class,Constructor)
Reviewed-by: alanb
2016-11-01 12:37:29 +00:00
Bradford Wetmore
853690d658 4985694: Incomplete spec for most of the getInstances
Reviewed-by: xuelei, mullan
2016-10-31 14:09:42 -07:00
Xueming Shen
882dd28a12 8166261: Scanner.nextInt(int) (and similar methods) throws PatternSyntaxException
Reviewed-by: naoto
2016-10-31 10:34:31 -07:00
Weijun Wang
0527e4e401 8167646: Better invalid FilePermission
Reviewed-by: rriggs
2016-10-31 16:41:41 +08:00
Weijun Wang
2c2ce8ad1f 8168127: FilePermissionCollection merges incorrectly
Reviewed-by: rriggs
2016-10-31 16:40:31 +08:00
Xue-Lei Andrew Fan
b8904d34fe 8167680: DTLS implementation bugs
Reviewed-by: jnimeh, asmotrak
2016-10-29 13:34:53 +00:00
Daniel Fuchs
53cbda2d85 8163162: The separation between system loggers and application loggers should take the extension loader in consideration
DefaultLoggerFinder.isSystem is changed to return 'true' for classes loaded from the platform loader and its ancestors. This means that classes loaded by the platform loader will get exactly the same kind of loggers than classes loaded by the boot (null) loader.

Reviewed-by: rriggs, mchung
2016-10-28 12:10:12 +01:00
Alan Bateman
83df093985 8168789: ModuleReader.list and ModuleFinder.of update
Reviewed-by: mchung
2016-10-28 10:18:07 +01:00
Xue-Lei Andrew Fan
d0891a2ffc 8168822: Document that algorithm restrictions do not apply to trusted anchors
Reviewed-by: weijun, jnimeh, mullan
2016-10-27 23:49:38 +00:00
Mandy Chung
fc99db2ced 8168205: Should not default class path to CWD if -cp is not specified but -m is specified
Reviewed-by: alanb
2016-10-27 13:42:12 -07:00
Sean Mullan
abea796b35 Merge 2016-10-27 14:52:01 -04:00
Sean Mullan
dfbba1428e 8168851: Tighten permissions granted to the java.smartcardio module
Reviewed-by: vinnie, mchung
2016-10-27 14:50:23 -04:00
Kumar Srinivasan
5fb3e9b3cc 8168010: Deprecate obsolete launcher -d32/-d64 options
Reviewed-by: alanb
2016-10-27 05:49:41 -07:00
Phil Race
5817fca746 Merge 2016-10-27 08:51:48 -07:00
Christoph Langer
955f784be9 8167481: cleanup of headers and includes for native libnet
Reviewed-by: chegar
2016-10-27 11:00:28 +02:00
Claes Redestad
ec5f1743aa 8168640: (fc) Avoiding AtomicBoolean in FileInput/-OutputStream improves startup
Reviewed-by: alanb, plevart
2016-10-26 17:50:08 +02:00
Alejandro Murillo
cb0a755549 Merge 2016-10-25 14:55:29 -07:00
Brent Christian
1552f3ddbb 8165793: Provide an API to query if a ClassLoader is parallel capable
Reviewed-by: alanb, mchung
2016-10-25 12:58:34 -07:00
Alejandro Murillo
da37860566 Merge 2016-10-25 12:25:44 -07:00
Masayoshi Okutsu
6ce08d0985 8165804: Revisit the way of loading BreakIterator rules/dictionaries
Reviewed-by: naoto, peytoia, erikj
2016-10-25 15:43:19 +09:00
Roger Riggs
e89ce16097 8164908: ReflectionFactory support for IIOP and custom serialization
Add support for serialization to sun.reflect.ReflectionFactory

Reviewed-by: alanb, chegar, plevart, amlu
2016-10-24 14:52:51 -04:00
Masayoshi Okutsu
c0ee1b68c1 8152926: PropertyResourceBundle constructor don't understand the System.setProperty change
Reviewed-by: naoto, peytoia
2016-10-24 15:26:15 +09:00
Sean Mullan
4f556f887f Merge 2016-10-21 09:03:35 -04:00