272 Commits

Author SHA1 Message Date
Chris Hegarty
34c03b5907 Merge 2018-04-17 19:25:50 +01:00
Xueming Shen
1775d925de 8194750: Console.readPassword does not save/restore tty settings
Reviewed-by: martin, alanb
2018-04-17 11:20:50 -07:00
Chris Hegarty
049184f334 Merge 2018-04-17 18:18:53 +01:00
Chris Hegarty
a3b61fd4c7 8197564: HTTP Client implementation
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Michael McMahon <michael.x.mcmahon@oracle.com>
Co-authored-by: Pavel Rappo <pavel.rappo@oracle.com>
Reviewed-by: chegar, dfuchs, michaelm, prappo
2018-04-17 08:54:17 -07:00
Vivek Theeyarath
97979a53a1 8184692: add Pattern.asMatchPredicate
Reviewed-by: psandoz, rriggs
2018-04-16 11:21:32 -07:00
Naoto Sato
1d0e7680e8 8201507: Generate alias entries in j.t.f.ZoneName from tzdb at build time
Reviewed-by: erikj, rriggs
2018-04-13 10:23:01 -07:00
Jesper Wilhelmsson
468c1c19bb Merge 2018-04-13 03:05:19 +02:00
Claes Redestad
f5a681373f 8152821: Merge jdk.internal.misc.JavaSecurityAccess and jdk.internal.misc.JavaSecurityProtectionDomainAccess shared secrets
Reviewed-by: mullan
2018-04-13 01:04:33 +02:00
Xueming Shen
0b24f2acda 8201443: NoSuchMethodException JarFile.open when jar file is used in classpath
Reviewed-by: rriggs, redestad
2018-04-12 13:30:58 -07:00
Claes Redestad
9ab38159e8 8201494: Avoid early initialization of java.nio.Bits
Reviewed-by: rriggs, alanb
2018-04-12 17:23:32 +02:00
Paul Sandoz
d3760023e6 8199875: Require first parameter type of a condy bootstrap to be Lookup
Reviewed-by: jrose
2018-04-11 11:11:13 -07:00
Naoto Sato
a9e6a67296 8189784: Parsing with Java 9 AKST timezone returns the SystemV variant of the timezone
Reviewed-by: erikj, sherman
2018-04-11 09:14:47 -07:00
Doug Lea
cdd36df363 8197531: Miscellaneous changes imported from jsr166 CVS 2018-04
Reviewed-by: martin, psandoz
2018-04-10 11:37:18 -07:00
Doug Lea
a4f3a1d9eb 8200258: Improve CopyOnWriteArrayList subList code
Reviewed-by: martin, psandoz, smarks
2018-04-10 11:33:29 -07:00
Doug Lea
f1e4c3cf6b 8200520: forkjoin tasks interrupted after shutdown
Reviewed-by: martin, psandoz, chegar, dholmes
2018-04-10 11:29:37 -07:00
Doug Lea
98ede98f5a 8200728: Docs (Comparison of Stack and Deque methods) for Deque is not correct
Reviewed-by: martin, psandoz
2018-04-10 11:25:46 -07:00
Claes Redestad
c40af49970 8201179: Regression due loading java.nio.charset.StandardCharsets during bootstrap
Reviewed-by: sherman, martin
2018-04-10 16:16:34 +02:00
Vivek Theeyarath
824df1c125 8164781: Pattern.asPredicate specification is incomplete
Updated specification to reflect usage of find()

Reviewed-by: psandoz
2018-04-09 10:39:29 -07:00
Weijun Wang
f965fb8986 8200792: PKCS12Attribute#hashCode is always constant -1
Reviewed-by: xuelei
2018-04-08 11:32:46 +08:00
Ivan Gerasimov
9fe989cc39 8200788: Optimal initial capacity of java.lang.VarHandle.AccessMode.methodNameToAccessMode
Reviewed-by: redestad
2018-04-07 17:07:13 -07:00
Jesper Wilhelmsson
9bfdee7c5a Merge 2018-04-06 19:16:33 +02:00
Jesper Wilhelmsson
82847e4ec0 Merge 2018-04-06 03:53:28 +02:00
Martin Buchholz
2137690f0a 8200131: Improve lazy init of InetAddress.canonicalHostName and NativeObject.pageSize
Reviewed-by: alanb
2018-04-05 09:37:19 -07:00
Martin Buchholz
2fd847eb0e 8200127: Replace collection.stream().forEach() with collection.forEach()
Reviewed-by: alanb
2018-04-05 09:34:46 -07:00
Martin Buchholz
184bbf01dd 8200125: Fix some classloader/module typos
Reviewed-by: alanb
2018-04-05 09:33:27 -07:00
Jonathan Gibbons
810af1172d 8200888: typo in name of exception in @throws
Reviewed-by: bpb, darcy
2018-04-04 17:50:53 -07:00
Jonathan Gibbons
afec7bd7f2 8200664: fix broken links in java.base docs
Reviewed-by: alanb, joehw
2018-04-04 14:42:53 -07:00
Ivan Gerasimov
277ac7e034 8200696: Optimal initial capacity of java.lang.Class.enumConstantDirectory
Reviewed-by: dholmes, redestad
2018-04-04 14:09:31 -07:00
Sean Mullan
ceea439679 8193032: Remove terminally deprecated SecurityManager APIs
Remove the checkTopLevelWindow, checkSystemClipboardAccess, checkAwtEventQueueAccess, and checkMemberAccess methods.

Reviewed-by: alanb, mchung, kcr
2018-04-04 11:26:10 -04:00
David Lloyd
ecf063f209 8199947: Rename HTML element id in ClassLoader javadoc to avoid name conflict with private elements
Rename "name" anchor to "binary-name"

Reviewed-by: jjg, alanb, mchung, martin
2018-04-02 17:11:11 -07:00
Martin Buchholz
79fffd05ef 8200364: Remove unnecessary boxing via primitive wrapper valueOf(String) methods
Reviewed-by: dfuchs, alanb
2018-04-02 17:09:29 -07:00
Sergey Tsypanov
826b38052c 8199800: Optimize Boolean.parseBoolean(String)
Reviewed-by: alanb
2018-04-02 17:08:00 -07:00
Joe Wang
dd67e0fa16 8199176: Accessibility issues in java.base docs
Reviewed-by: lancea, alanb, jjg, rriggs
2018-04-02 16:39:17 -07:00
Martin Buchholz
1cd649af57 8200123: Replace Thread.init with telescoping constructor
Reviewed-by: dholmes, mchung, plevart
2018-03-29 16:23:35 -07:00
Martin Buchholz
200fb2b35b 8200122: Remove unused field Thread.threadQ
Reviewed-by: dholmes, mchung, plevart
2018-03-29 16:21:54 -07:00
Claes Redestad
243b2364f6 8200238: Reduce number of exceptions created when calling MemberName$Factory::resolveOrNull
Reviewed-by: lfoltan, acorn, dholmes
2018-03-29 10:38:29 +02:00
Martin Buchholz
4546512c19 8200310: Avoid charset lookup machinery in java.nio.charset.StandardCharsets
Reviewed-by: sherman, ulfzibis
2018-03-28 21:14:06 -07:00
Martin Buchholz
08adfe31b3 8200124: Various cleanups in jar/zip
Reviewed-by: sherman, ulfzibis
2018-03-28 21:14:03 -07:00
Roger Riggs
e50e03e199 8197595: Serialization javadoc should link to security best practices
Reviewed-by: lancea, mullan, ahgross
2018-03-28 14:15:41 -04:00
Jonathan Gibbons
6a8ea38ecc 8199465: {@docRoot} references need to be updated to reflect new module/package structure
Reviewed-by: martin, alanb, chegar
2018-03-27 16:25:40 -07:00
Claes Redestad
3fbef735ea 8200289: Reduce number of exceptions created when calling Lookup::canBeCached
Reviewed-by: sundar, psandoz
2018-03-28 00:45:37 +02:00
Ivan Gerasimov
0af73c4306 8199843: Optimize Integer/Long.highestOneBit()
Reviewed-by: redestad, plevart
2018-03-26 17:30:14 -07:00
Brian Burkhalter
6670f60a21 8180410: ByteArrayOutputStream should not throw IOExceptions
Add ByteArrayOutputStream.writeBytes()

Reviewed-by: rriggs, smarks
2018-03-23 15:05:43 -07:00
Brian Burkhalter
68cf42d465 8180451: ByteArrayInputStream should override readAllBytes, readNBytes, and transferTo
Reviewed-by: bchristi, rriggs, psandoz
2018-03-23 10:09:45 -07:00
Brian Burkhalter
9e3d8fd230 8194746: (fs) Add equivalents of Paths.get to Path interface
Copy Paths.get() methods to Path.get() methods and have former call latter

Reviewed-by: alanb, forax, chegar, psandoz
2018-03-22 12:30:47 -07:00
Brian Burkhalter
37f1b2b1e3 8198753: (dc) DatagramChannel throws unspecified exceptions
Reviewed-by: alanb
2018-03-22 12:29:52 -07:00
Claes Redestad
9aff9cb645 8193128: Reduce number of implementation classes returned by List/Set/Map.of()
8191418: List.of().indexOf(null) doesn't throw NullPointerException

Reviewed-by: smarks, jrose, martin, plevart
2017-12-09 03:33:39 +01:00
Paul Sandoz
a2ea38d2c9 8199773: (bf) XXXBuffer:compareTo method is not working as expected
Reviewed-by: alanb
2018-03-22 09:07:08 -07:00
Nishit Jain
8314e06ebc 8196399: Formatting a decimal using locale-specific grouping separators causes ArithmeticException (division by zero)
8199672: ClassCastException is thrown by java.util.Formatter when an NumberFormatProvider SPI is used

Reviewed-by: naoto
2018-03-22 12:59:58 +05:30
Claes Redestad
c71bc3581a 8199862: Examine ProxyBuilder::referencedTypes startup cost
Reviewed-by: mchung
2018-03-21 10:13:49 +01:00