559 Commits

Author SHA1 Message Date
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
Alan Bateman
fc3364785a 8193818: Remove unused single_step field from java.lang.Thread
Reviewed-by: lancea, dholmes
2018-02-15 13:37:20 +00:00
Xueming Shen
739c973204 8197988: T2 test javax/net/ssl/interop/ClientHelloChromeInterOp.java failed after JDK-8164278
Reviewed-by: alanb
2018-02-15 00:25:01 -08:00
Martin Buchholz
48b9835669 8197893: Mistaken type check in CheckedEntrySet.toArray
Reviewed-by: psandoz
2018-02-14 16:37:20 -08:00
Xueming Shen
f6ca24c05f 8164278: java.util.Base64.EncOutputStream/DecInputStream is slower than corresponding version in javax.mail package
Reviewed-by: rriggs
2018-02-14 14:13:42 -08:00
Claes Redestad
abb7e3a52a 8197849: Misc improvements to jar resource handling
Reviewed-by: rriggs, dfuchs
2018-02-14 19:03:12 +01:00
Brian Burkhalter
f74677e37e 8144672: (ch) PipeImpl should use localhost instead of loopback address
Reviewed-by: alanb, clanger
2018-02-14 08:15:07 -08:00
Claes Redestad
fa933f3971 8195850: Improve startup of code to pull arguments from BootstrapMethodInvoker
Reviewed-by: psandoz, jrose
2018-02-14 15:27:29 +01:00
Claes Redestad
50f6694f00 8197829: Optimize CLDRCalendarDataProviderImpl::retrieveInteger
Reviewed-by: naoto
2018-02-14 14:45:38 +01:00
Jesper Wilhelmsson
9beff15bed Merge 2018-02-10 09:25:35 +01:00
Martin Buchholz
0e83ce1738 8198485: Simplify a URLClassPath constructor
Reviewed-by: alanb, mchung
2018-02-08 17:25:57 -08:00
Martin Buchholz
80e322bbcc 8198484: URLClassPath should use an ArrayDeque instead of a Stack
Reviewed-by: alanb, mchung, plevart, psandoz
2018-02-08 17:25:57 -08:00
Martin Buchholz
541978b4a2 8198482: The URLClassPath field "urls" should be renamed to "unopenedUrls"
Reviewed-by: alanb, mchung
2018-02-08 17:25:57 -08:00
Martin Buchholz
8f24dc87b1 8198481: Coding style cleanups for src/java.base/share/classes/jdk/internal/loader
Reviewed-by: alanb, mchung, rriggs
2018-02-08 17:25:57 -08:00
Martin Buchholz
749ad1ee03 8198480: Improve ClassLoaders static init block
Reviewed-by: alanb, mchung
2018-02-08 17:25:56 -08:00
Claes Redestad
3c9dfe26ed 8198755: Reduce cost of InvokerBytecodeGenerator::isStaticallyInvocable/-Nameable
Reviewed-by: vlivanov, psandoz, jrose
2018-02-27 21:05:07 +01:00
Paul Sandoz
4ce3f37ba2 8198375: Passing 'null' value to lookup param of ConstantBootstraps.invoke does not throw NullPointerException
Reviewed-by: mchung
2018-02-26 16:05:25 -08:00
Claes Redestad
703621f15f 8198492: Bootstrapping java.lang.invoke can cause deadlock after JDK-8198418
8198490: java/util/logging/TestLogConfigurationDeadLock.java timed out

Reviewed-by: alanb
2018-02-26 12:43:53 +01:00
Nishit Jain
3f5b571b5a 8060094: java/util/Formatter/Basic.java failed in tr locale
Reviewed-by: naoto
2018-02-26 11:16:24 +05:30
Mandy Chung
3e28c2f71d 8198653: ClassLoader::getSystemClassLoader throws InternalError when called after shutdown
Reviewed-by: dholmes
2018-02-24 09:41:42 -08:00
Alan Bateman
8f56ea639d 8196830: publicLookup().findVirtual should not return method handle to AccessibleObject.setAccessible
Reviewed-by: mchung, psandoz
2018-02-24 08:26:53 +00:00
Roger Riggs
2af1df8c10 8198645: Use System.lineSeparator() instead of getProperty("line.separator")
Reviewed-by: lancea, xuelei, sherman
2018-02-23 16:00:44 -05:00
Mandy Chung
4bb064c62d 8198249: Remove deprecated Runtime::runFinalizersOnExit and System::runFinalizersOnExit
Reviewed-by: dholmes, alanb, smarks
2018-02-23 12:10:56 -08:00
Roger Riggs
cfe9ad4608 8189330: Cleanup FileDescriptor implementation
Reviewed-by: bpb
2018-02-23 14:26:29 -05:00
Christoph Langer
16f2a0e7a0 8198539: Cleanup of unused imports in java/util/jar/Attributes.java (java.base) and JdpController.java (jdk.management.agent)
Reviewed-by: stuefe
2018-02-23 09:55:52 +01:00