388 Commits

Author SHA1 Message Date
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
Alan Bateman
34c94079ed 8200257: (se) More Selector cleanup
Reviewed-by: bpb
2018-03-30 08:28:09 +01: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
Chris Hegarty
71a0d523dd 8200304: TwoStacksPlainDatagramSocketImpl and socket cleaner
Reviewed-by: alanb, dfuchs, rriggs
2018-03-29 20:12:02 +01:00
Erik Joelsson
5c124571d0 8200409: jdk11 nightly solaris sparc build failure
Reviewed-by: alanb, tbell
2018-03-29 08:52:41 -07: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
Magnus Ihse Bursie
89f6ccb93e 8200178: Remove mapfiles for JDK native libraries
Reviewed-by: erikj, alanb, mchung, prr, weijun
2018-03-28 23:56:08 +02: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
Pallavi Sonal
cab25623b6 8144300: http.nonProxyHosts value having wildcard * both at end and start are not honored
Added validation for wildcard at start and end

Reviewed-by: chegar, dfuchs, clanger
2018-03-26 17:33:58 +05:30
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
3d160a80fc 8198358: Align organization of TwoStacksPlainSocketImp with DualStackPlainSocketImpl [win]
Reviewed-by: chegar, clanger
2018-03-27 13:22:40 -07:00
Alan Bateman
704b2ccd93 8200256: java/nio/channels/AsynchronousChannelGroup/Basic.java fails intermittently
Reviewed-by: chegar
2018-03-27 19:29:46 +01:00
Ivan Gerasimov
0af73c4306 8199843: Optimize Integer/Long.highestOneBit()
Reviewed-by: redestad, plevart
2018-03-26 17:30:14 -07:00
Alan Bateman
187bf57418 8200179: (se) More Selector cleanup
Reviewed-by: bpb
2018-03-24 08:49:55 +00: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
Chris Hegarty
22af725681 8200181: Remove superflous non-IPv4 code from Java_java_net_TwoStacksPlainSocketImpl_socketListen
Reviewed-by: alanb
2018-03-23 21:39:54 +00: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
Phil Race
cb1ef28563 Merge 2018-03-23 10:02:55 -07:00
Roger Riggs
299b4b7b44 8199756: Simplify language, country, script, and variant property initialization
Reviewed-by: mchung, naoto, alanb
2018-03-23 11:53:11 -04:00
Phil Race
3d9f35c4f5 Merge 2018-03-23 08:49:58 -07:00
Alan Bateman
3bb85f5fc5 8199791: (se) More Selector cleanup
Reviewed-by: redestad, bpb
2018-03-23 14:18:18 +00:00
Phil Race
1597645191 8200129: Remove D3D Performance Counter
Reviewed-by: alanb, serb
2018-03-22 14:02:20 -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
Phil Race
f004bcc467 Merge 2018-03-22 11:34:38 -07:00
Phil Race
d270a407b5 8200072: Remove un-needed qualified export from java.base to java.desktop
Reviewed-by: alanb, mchung
2018-03-22 11:09:50 -07: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
Brian Burkhalter
917c015610 8198997: Cache normalized/resolved user.dir property
Normalize cached user.dir property value in constructor (windows only)

Reviewed-by: alanb
2018-03-22 08:41:06 -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
Claes Redestad
74827c6a87 8199865: Avoid initializing ShortCache in ProxyGenerator
Reviewed-by: mchung
2018-03-21 10:13:14 +01:00
Patrick Reinhart
4c7f1ac52c 8196298: Add null Reader and Writer
Reviewed-by: bpb, forax, smarks, alanb, rriggs
2018-03-19 09:58:41 -04:00
Joe Wang
e5a5c2a832 8183554: Add constructors with Charset parameter for FileReader and FileWriter
Reviewed-by: alanb, rriggs, smarks
2018-03-15 14:54:10 -07:00
Brian Burkhalter
f5578ab220 8189230: JDK method:java.lang.Integer.numberOfLeadingZeros(int) can be optimized
Directly return zero for a negative parameter instead of calculating

Reviewed-by: psandoz
2018-03-15 08:11:01 -07:00
David Lloyd
acb3103b8f 8188240: Reflection Proxy should skip static methods
Reviewed-by: mchung, sundar, shade, plevart
2018-03-15 12:07:59 +01:00
Alan Bateman
fc927f60c3 8199329: Remove code that attempts to read bytes after connection reset reported
Reviewed-by: redestad, clanger, chegar
2018-03-15 11:02:22 +00:00
Alan Bateman
3a7f72200c 8199611: (se) Minor selector implementation clean-up
Reviewed-by: clanger, redestad, bpb
2018-03-15 10:47:58 +00:00
Paul Sandoz
0628437ecc 8198889: Clarify the throwing of exceptions from ConstantBootstraps.invoke
Reviewed-by: mchung
2018-03-14 12:39:57 -07:00
Claes Redestad
b66ffad152 8199471: Enable generation of callSiteForms at link time
Reviewed-by: psandoz, mchung
2018-03-14 17:14:02 +01:00
Brian Burkhalter
516fa74ca5 8182684: Further clarify InputStream#available()
Reviewed-by: alanb, rriggs
2018-03-13 12:24:39 -07:00