10467 Commits

Author SHA1 Message Date
Mandy Chung
8ca2400daa Merge 2016-06-20 19:31:03 -07:00
Brian Burkhalter
432ff69a8b 8136738: InputStream documentation for IOException in skip() is unclear or incorrect
Clarify javadoc of skip().

Reviewed-by: rriggs, prappo
2016-06-20 14:08:05 -07:00
Mandy Chung
d3e5142694 8155955: packager needs to determine the root modules to create JRE image
Reviewed-by: alanb
2016-06-19 16:46:49 -07:00
Mandy Chung
23a9fbcadd 8159630: Add new test for jdk.internal.misc.VM::getRuntimeArguments
Reviewed-by: lancea
2016-06-17 14:37:00 -07:00
Roger Riggs
2fce52789b 8155808: Process.getInputStream().skip() method is faulty
For Process input streams, implement skip as read

Reviewed-by: prappo, dfuchs
2016-06-17 15:57:28 -04:00
Paul Sandoz
d7695b19e9 8159821: "PrimitiveStream.iterateFinite" methods contain incorrect code sample
Reviewed-by: chegar, briangoetz
2016-06-17 10:08:39 -07:00
Mohamed Naufal
6e64c35e6f 8158253: Collections: Implement a noop clear() for EmptyList, EmptyMap and EmptySet
Reviewed-by: psandoz
2016-05-28 13:57:30 +05:30
Alan Bateman
40abbd6d10 8140449: (fs) Paths.get("x").relativize("") return ..\ on Windows
Reviewed-by: chegar, rriggs
2016-06-17 17:17:21 +01:00
Claes Redestad
ccc3cbf458 8159745: Remove java.net.Parts
Reviewed-by: alanb, chegar
2016-06-17 16:18:37 +02:00
Weijun Wang
644df29a24 8158633: BASE64 encoded cert not correctly parsed with UTF-16
Reviewed-by: mullan
2016-06-17 21:07:31 +08:00
Nishit Jain
868cd939e6 8159420: The LanguageRange.parse() method is throwing IllegalArgumentException in Turkish Locale
Reviewed-by: naoto, okutsu, peytoia
2016-06-17 21:42:38 +09:00
Alan Bateman
8547893efe 8158456: ModuleDescriptor.read does not verify dependence on java.base in module-info.class
8159248: ModuleFinder.of not clear that FindException thrown if module descriptor cannot be derived for automatic module

Reviewed-by: chegar, mchung
2016-06-17 08:41:39 +01:00
Weijun Wang
7827c194e7 8146619: Re-examine supportness of public classes in com.sun.security.auth.**
Reviewed-by: xuelei
2016-06-17 09:46:34 +08:00
Weijun Wang
6c14c3fdae 6968542: keytool -importcert cannot deal with duplicate certs
Reviewed-by: xuelei
2016-06-17 09:46:27 +08:00
Weijun Wang
8d0acfd66e 8027781: New jarsigner timestamp warning is grammatically incorrect
Reviewed-by: jnimeh, mullan
2016-06-17 09:46:03 +08:00
Joe Darcy
b2795ca463 8071859: AnnotationInvocationHandler.equals(Object) return true when apply to annotation
Reviewed-by: mchung, chegar
2016-06-16 13:00:34 -07:00
Jim Laskey
f98b4f5aea 8159206: All jlink or jmod tests failing
Reviewed-by: alanb, mchung
2016-06-16 09:09:53 -03:00
Valerie Peng
c1c5618ddd 8154191: Deprivilege java.smartcardio module
Updated java.policy with the entry for java.smartcardio module

Reviewed-by: mullan, mchung
2016-06-15 23:24:08 +00:00
Doug Lea
ccf113da6d 8159351: non-atomic "bulk" ops note in class javadoc for ConcurrentLinkedQueue, ConcurrentLinkedDeque, & LinkedTransferQueue should not include equals
Reviewed-by: martin
2016-06-15 13:44:16 -07:00
Doug Lea
559140e18e 8066070: PriorityQueue corrupted when adding non-Comparable
Reviewed-by: martin, chegar
2016-06-01 19:03:15 -07:00
David Dehaven
a513e6fe8a Merge 2016-06-15 12:47:50 -07:00
Kumar Srinivasan
b464feabff 8065831: Ensure the pack200/unpack200 help is consistent with man page
Reviewed-by: mchung
2016-06-15 12:36:19 -07:00
Chris Hegarty
b48a0e79c4 8157045: NPE during websocket communication with wss
Reviewed-by: michaelm, prappo
2016-06-15 19:18:19 +01:00
David Dehaven
2579e92c1f Merge 2016-06-15 09:24:05 -07:00
Xue-Lei Andrew Fan
46261e5d4e 8150966: Typo in javax.net.ssl.SSLEngineResult.HandshakeStatus.NEED_UNWRAP_AGAIN
Reviewed-by: weijun, jnimeh
2016-06-15 09:11:12 +00:00
Alejandro Murillo
6015181842 Merge 2016-06-14 20:17:41 -07:00
Weijun Wang
5d498d96f8 8157848: Mark deprecated javax.security.auth.Policy API with forRemoval=true
Reviewed-by: mullan, xuelei
2016-06-15 10:13:21 +08:00
Vicente Romero
ec6f5c4bf7 8159530: recent compiler change results in compile error in JapaneseDate.java
Reviewed-by: darcy
2016-06-14 18:19:54 -07:00
Xueming Shen
5aad7937b7 8139414: java.util.Scanner hasNext() returns true, next() throws NoSuchElementException
8072582: Scanner delimits incorrectly when delimiter spans a buffer boundary

Reviewed-by: smarks
2016-06-14 16:56:27 -07:00
Alejandro Murillo
3391d95d57 Merge 2016-06-14 10:22:07 -07:00
Joe Darcy
b4934af2e2 8159330: Improve deprecation text for Class.newInstance
Reviewed-by: rriggs, weijun
2016-06-14 09:03:12 -07:00
Nishit Jain
3db5ac3931 8135061: java.util.Locale#lookup throws java.lang.StringIndexOutOfBoundsException for range having '-' as second character
Reviewed-by: okutsu, peytoia
2016-06-14 12:29:49 +09:00
Valerie Peng
d9d53c3850 8157489: AppleProvider in java.base/macosx/classes/module-info.java.extra
Remove the line for ServiceLoader lookup

Reviewed-by: mchung
2016-06-13 21:49:37 +00:00
Valerie Peng
a03a15a590 8157881: security.provider property description needs to be updated for modules
Update java.security file with using provider name for provider registration

Reviewed-by: mullan
2016-06-13 21:49:12 +00:00
Pavel Rappo
763be5ec14 8159039: sun/net/httpclient/hpack/HeaderTableTest.java fails on some locales
Reviewed-by: chegar
2016-06-13 15:48:17 +01:00
Claes Redestad
3fe3701880 8159334: ModuleDescriptor retains overlapping sets for all and concealed packages
Reviewed-by: alanb, mchung
2016-06-13 14:02:04 +02:00
Jan Lahoda
4123c26144 8139507: WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs
Making Preferences.systemRoot/userRoot lazy on Windows, to avoid warnings for system root when only user root was requested; reducing synchronization while creating the Preferences.

Reviewed-by: alanb
2016-06-13 11:46:07 +02:00
Chris Hegarty
5c046950ce 8158519: Incorrect network mask and broadcast address on Linux when there are multiple IPv4 addresses on an interface
Co-authored-by: Christoph Langer <christoph.langer@sap.com>
Co-authored-by: Doychin Bondzhev <doychin@dsoft-bg.com>
Reviewed-by: clanger, chegar, dsamersoff
2016-06-13 08:29:43 +01:00
Daniel Fuchs
4c69f47805 8153666: Optimize Formatter.formatMessage
This patch brings a small optimization that removes needless synchronization in Formatter.formatMessage. It also fixes the code that decides whether to call MessageFormat, and brings a small clarification to the API documentation on the conditions when that will happen.

Reviewed-by: rriggs, martin
2016-06-13 08:20:34 +01:00
Joe Darcy
0530bceffc 5041778: (ann) AnnotationFormatError if "default" Class type not found
Reviewed-by: jfranck
2016-06-12 12:14:52 -07:00
Weijun Wang
ec53a43962 8158534: DrbgParameters strength parameter is underspecified if < -1
Reviewed-by: xuelei
2016-06-12 10:48:19 +08:00
Alejandro Murillo
b6cad8150e Merge 2016-06-10 15:13:40 -07:00
Iris Clark
eb64124e48 8158458: Update references from "1.9" to "9"
Reviewed-by: prr
2016-06-10 13:47:19 -07:00
Valerie Peng
2f6adf09a0 8157627: Ucrypto prov need to workaround the renaming of CK_AES_GCM_PARAMS starting S11.3
Update Ucrypto header files to provide the definition of CK_AES_GCM_PARAMS for S11.3 and later

Reviewed-by: ascarpino
2016-06-10 23:06:24 +00:00
Valerie Peng
18e69df0e8 8157495: SHA-3 Hash algorithm performance improvements (~12x speedup)
Various improvements on performance and memory footprint

Reviewed-by: ascarpino
2016-06-10 22:39:40 +00:00
Nishit Jain
acac4bb550 8040211: Update LSR datafile for BCP 47
Reviewed-by: okutsu, peytoia
2016-06-10 20:25:51 +09:00
Jamil Nimeh
ff8336341c 8157925: Typo in the API documentation of X509KeyManager
Corrects the misspelled word "implentations" to "implementations"

Reviewed-by: ascarpino
2016-06-10 00:37:24 -07:00
Jim Laskey
50e2a2ced0 8158402: jlink: should use regex for all pattern operations (--order-resources or --exclude-resources)
Reviewed-by: sundar, alanb
2016-06-09 11:39:42 -03:00
Jim Laskey
32757e8ed8 8156995: jimage: extract specified contents
Reviewed-by: sundar, alanb
2016-06-09 11:39:42 -03:00
Jim Laskey
9cc375cdf9 8156994: jimage --help is not helpful
Reviewed-by: sundar, alanb
2016-06-09 11:39:42 -03:00