405 Commits

Author SHA1 Message Date
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
Brian Burkhalter
ae966db198 8199258: BigInteger.bitLength() should explicitly specify behavior when the value is zero
Reviewed-by: lancea, rriggs
2018-03-13 11:49:17 -07:00
Roger Riggs
d4941f14af 8199470: Remove unused property file.encoding.pkg
Reviewed-by: bpb, sherman
2018-03-13 12:46:01 -04:00
Naoto Sato
6744ceac88 8198989: Provide more diagnostic IAE messages
Reviewed-by: lancea
2018-03-12 20:47:21 -07:00
Ben Walsh
de3604ea0c 8199462: Use Reference.reachabilityFence in direct ByteBuffer methods
Reviewed-by: psandoz, vlivanov, plevart
2018-03-12 16:09:18 -07:00
Claes Redestad
d88408c75b 8199453: Enable link-time generation of constructor forms
Reviewed-by: alanb, psandoz, mchung
2018-03-12 18:31:02 +01:00
Roger Riggs
f0cd136c74 8199420: Update javadoc tags in java.lang.System and related
Reviewed-by: lancea, bpb
2018-03-12 10:04:12 -04:00
Jesper Wilhelmsson
6a37cbc50c Merge 2018-03-02 21:00:12 +01:00
Weijun Wang
50484af54b 8191139: Remove deprecated javax.security.auth.Policy API
Reviewed-by: mullan
2018-03-08 12:20:26 +08:00
Alan Bateman
c37c87b388 8199120: (so) SocketChannelImpl read/write don't need stateLock when channel is configured non-blocking
Reviewed-by: bpb
2018-03-07 07:20:38 +00:00
Alan Bateman
61aa187aaf 8199015: (se) SocketChannelImpl.translateXXXOps access channel state without synchronization
Reviewed-by: bpb
2018-03-07 07:15:24 +00:00
Alan Bateman
889a041f22 8198928: (so) SocketChannel connect may deadlock if closed at around same time that connect fails
Reviewed-by: bpb, mli
2018-03-07 07:13:55 +00:00
Brian Burkhalter
1deb2a7bd5 8198302: VS2017 (C4477) java.base/windows/native/libnet/NetworkInterface_winXP.c incorrect printf format strings
Cast to expected data type

Reviewed-by: chegar, clanger, rriggs
2018-03-06 10:51:26 -08:00
Roger Riggs
4166d0663c 8197538: Remove mention of hotjava paths in MimeTable.java
Reviewed-by: lancea, bpb, chegar
2018-03-06 10:00:49 -05:00
Naoto Sato
3d4edcc571 4993841: (str) java.lang.Character should have a toString(int) method
Reviewed-by: martin, rriggs, sherman, smarks
2018-03-05 08:50:47 -08:00
Xueming Shen
d4d8c255b2 8198966: To make CoderResult.Cache.cache final and allocate it eagerly
Reviewed-by: redestad
2018-03-04 00:32:53 -08:00
Roger Riggs
9f72c07d5a 8198970: jnu_util.c compilation error on Solaris
Reviewed-by: mchung, redestad
2018-03-02 18:08:50 -05:00
Jim Laskey
522a9d15fd 8198955: String#repeat loop optimization
Reviewed-by: rriggs, redestad, igerasim
2018-03-02 18:10:57 -04:00
Roger Riggs
c43cebb5cf 8198697: Simplify initialization of platform encoding
Reviewed-by: redestad, sherman
2018-03-02 14:17:04 -05:00
Martin Buchholz
fa4abe66dd 8198810: URLClassLoader does not specify behavior when URL array contains null
Reviewed-by: alanb, darcy, dholmes
2018-03-01 19:01:34 -08:00
Claes Redestad
ec495ebede 8198888: Reduce string allocation churn in InvokerBytecodeGenerator
Reviewed-by: psandoz, plevart
2018-03-01 13:08:06 +01:00
Joe Wang
5a7aff9897 8137326: Methods for comparing CharSequence, StringBuilder, and StringBuffer
Reviewed-by: rriggs, smarks, sherman, tvaleev
2018-03-01 15:31:04 -08:00
Philipp Kunz
5db337db24 6372077: JarFile.getManifest() should handle manifest attribute name 70 bytes
Reviewed-by: alanb, sherman
2018-03-01 15:50:26 -05:00
Xueming Shen
3a03cd060f 8187653: Lock in CoderResult.Cache becomes performance bottleneck
Reviewed-by: rriggs, alanb
2018-03-01 12:31:24 -08:00
Jim Laskey
b4d4d8f66c 8197594: String#repeat
Reviewed-by: smarks, psandoz, plevart, rriggs, redestad
2018-03-01 15:45:51 -04:00
Alan Bateman
95b1eef0da 8198841: Thread.interrupt should set interrupt status while holding blockerLock
Reviewed-by: bpb
2018-03-01 18:27:39 +00:00
Jesper Wilhelmsson
3dfe4d61b3 Merge 2018-03-01 01:47:46 +01:00
Jesper Wilhelmsson
1739105160 Merge 2018-02-25 04:59:43 +01:00
Claes Redestad
16a61139e2 8198831: Lazy initialization of ValueConversions MethodHandles
Reviewed-by: shade
2018-02-28 15:28:46 +01:00
Alan Bateman
13dd8888d2 8198562: (ch) Separate blocking and non-blocking code paths (part 1)
8198754: (ch) Separate blocking and non-blocking code paths (part 2)

Reviewed-by: bpb
2018-02-28 09:54:38 +00:00
Robin Westberg
f2c21c058d 8041626: Shutdown tracing event
Reviewed-by: dholmes, alanb, rriggs
2018-02-13 15:48:23 +01:00
Harold Seigel
7d1735efbb 8184289: Obsolete -XX:+UnsyncloadClass and -XX:+MustCallLoadClassInternal options
Add comments, fix a small issue with the boot loader, and add an assert.

Reviewed-by: coleenp, alanb, acorn, dholmes
2018-02-21 11:18:52 -05:00
Martin Buchholz
a95d50a5fc 8197812: (ref) Data race in Finalizer
Reviewed-by: plevart, mchung
2018-02-15 19:35:17 -08:00
Alan Bateman
0b78370b74 8193819: Error message when module does not have a ModuleMainClass attribute is confusing
Reviewed-by: sundar
2018-02-15 14:44:14 +00:00