753 Commits

Author SHA1 Message Date
Weijun Wang
041dbf030e 8048030: Expectations should be consistent
Reviewed-by: valeriep, mullan, ahgross
2015-05-24 16:35:12 +08:00
Roger Riggs
4758ab0627 8138963: java.lang.Objects new method to default to non-null
Add java.util.Object.nonNullElse and nonNullElseGet

Reviewed-by: dfuchs, jrose, psandoz, smarks, igerasim, chegar
2015-10-21 14:18:49 -04:00
Alejandro Murillo
50c8b18b1a Merge 2015-10-20 11:56:24 -07:00
Nadeesh TV
85378470d9 8134928: java.time.Instant.truncatedTo(TemporalUnit unit) is truncating up if the year < 1970
Reviewed-by: rriggs, scolebourne
2015-10-20 13:10:28 -04:00
Yuka Kamiya
0c9cabae96 8072600: Unicode 8 support
Reviewed-by: okutsu
2015-10-20 19:34:04 +09:00
Anthony Scarpino
274ee0ec5b 8133151: Preferred provider configuration for JCE
Reviewed-by: valeriep
2015-10-19 17:35:18 -07:00
Alejandro Murillo
f629fa832c Merge 2015-10-19 12:30:18 -07:00
Paul Sandoz
5e8d2b8ebd 8080418: Add Optional.or()
Reviewed-by: chegar, forax, scolebourne
2015-10-19 11:28:50 -07:00
Time Du
64f132cecd 8077806: mismatch comment and code in CipherSuite.java
Reviewed-by: xuelei
2015-10-19 08:19:58 +00:00
Claes Redestad
e3d1fffbe4 8139706: JarFile.getBytes could use InputStream.readNBytes
Reviewed-by: sherman, chegar, alanb
2015-10-18 01:43:06 +02:00
Sean Coffey
780e19cb1e 8038502: Deflater.needsInput() should use synchronization
Reviewed-by: chegar
2015-10-15 14:41:37 +01:00
Ivan Gerasimov
08216fc198 8138938: Clarify javadoc for java.util.Collections.copy()
Reviewed-by: smarks
2015-10-15 13:56:39 +03:00
Sean Coffey
7af86aa369 6907252: ZipFileInputStream Not Thread-Safe
Reviewed-by: sherman
2015-10-15 09:33:03 +01:00
Joe Darcy
655a976e65 8136799: Port fdlibm cbrt to Java
Reviewed-by: bpb
2015-10-14 16:17:08 -07:00
Doug Lea
c38b0eaba5 8134853: Bulk integration of java.util.concurrent classes
8080939: ForkJoinPool and Phaser deadlock
8044616: Clients of Unsafe.compareAndSwapLong need to beware of using direct stores to the same field
8071638: [JAVADOC] Buggy example in javadoc for afterExecute to access a submitted job's Throwable
8043743: Data missed in java.util.concurrent.LinkedTransferQueue
8054446: Repeated offer and remove on ConcurrentLinkedQueue lead to an OutOfMemoryError
8031374: TEST_BUG: java/util/concurrent/ConcurrentQueues/OfferRemoveLoops.java fails Intermittently
8034208: Cleanup to test/java/util/concurrent/BlockingQueue/Interrupt.java
8035661: Test fix java/util/concurrent/ConcurrentQueues/OfferRemoveLoops.java from jsr166 CVS
8062841: ConcurrentHashMap.computeIfAbsent stuck in an endless loop
8073208: javadoc typo in java.util.concurrent.Executor
8073704: FutureTask.isDone returns true when task has not yet completed
8037093: java/util/concurrent/locks/Lock/TimedAcquireLeak.java fails intermittently
8022642: ScheduledThreadPoolExecutor with zero corePoolSize create endlessly threads
8065320: Busy loop in ThreadPoolExecutor.getTask for ScheduledThreadPoolExecutor
8129861: High processor load for ScheduledThreadPoolExecutor with 0 core threads
8051859: ScheduledExecutorService.scheduleWithFixedDelay fails with max delay
7146994: example afterExecute for ScheduledThreadPoolExecutor hangs

Reviewed-by: martin, psandoz, chegar
2015-10-13 16:45:35 -07:00
Doug Lea
0f49a089d6 8134855: Bulk integration of java.util.concurrent.locks classes
8051848: ReentrantReadWriteLock.ReadLock fails on unlock by different thread
8049843: Lack of save / restore interrupt mechanism undermines the StampedLock

Reviewed-by: martin, psandoz, chegar
2015-10-13 16:35:22 -07:00
Doug Lea
e82602a13a 8134850: Integrate the Flow API
Reviewed-by: martin, psandoz, chegar
2015-10-13 16:25:10 -07:00
Doug Lea
2d8e9b323c 8134852: Integrate fork/join with API enhancements
Reviewed-by: martin, psandoz, chegar
2015-10-13 16:15:06 -07:00
Doug Lea
cf43156eed 8134851: Integrate CompletableFuture with API enhancements
8039378: CompletableFuture: Avoid StackOverflowError for long linear chains

Reviewed-by: martin, psandoz, chegar
2015-10-13 16:04:56 -07:00
Peter Levart
2beb7a2fd8 8136893: Improve early java.lang.invoke infrastructure initialization
Reviewed-by: mhaupt, psandoz, redestad, vlivanov
2015-10-14 00:08:42 +02:00
Chris Hegarty
dc881c5368 8139297: java.lang.NoClassDefFoundError: Could not initialize class jdk.internal.jimage.ImageNativeSubstrate
Reviewed-by: alanb, jlaskey
2015-10-12 19:14:59 +01:00
Chris Hegarty
a086d7e431 8139179: URLStreamHandler* should link to URL ctor that specifies how factories/providers are located
Reviewed-by: alanb
2015-10-10 17:30:04 +01:00
Chris Hegarty
37935fc4a0 8139307: Remove sun.misc.ConditionLock and Lock
Reviewed-by: alanb, lancea, martin, mchung, shade, smarks
2015-10-10 17:27:10 +01:00
Chris Hegarty
f17770b428 8138978: Examine usages of sun.misc.IOUtils
Reviewed-by: alanb, mullan, psandoz, rriggs, weijun
2015-10-09 14:21:02 +01:00
Alejandro Murillo
76324a733f Merge 2015-10-08 14:28:56 -07:00
Valerie Peng
fcb924e751 8130648: JCK test api/java_security/AuthProvider/ProviderTests_login starts failing after JDK-7191662
Make uninitialized SunPKCS11 provider throw IllegalStateException for AuthProvider calls.

Reviewed-by: mullan
2015-10-08 20:51:08 +00:00
Rachna Goel
3848cce42f 8075315: API doc of Currency.getInstance(Locale) method is incorrect
Updated API doc of Currency.getInstance(Locale)method.

Reviewed-by: peytoia, naoto
2015-10-08 17:03:07 +05:30
Paul Sandoz
25c1cff728 8135248: Add utility methods to check indexes and ranges
Reviewed-by: forax, chegar, scolebourne, jrose, darcy
2015-10-07 15:22:43 +02:00
Joe Darcy
f674b491a6 8138823: Correct bug in port of fdlibm hypot to Java
Reviewed-by: bpb
2015-10-06 18:39:26 -07:00
James Laskey
d424f85c55 8138960: Module version is checked incorrectly in libjimage
Reviewed-by: alanb, mchung, iris
2015-10-06 13:49:41 -03:00
Ivan Gerasimov
cc953fc59a 8138819: (se) File descriptor leak when Selector.open fails
Reviewed-by: rriggs, alanb
2015-10-06 12:00:38 +03:00
Jean-Francois Denise
26d5d5d625 8136365: Provider "jrt" is not available after bootmodules.jimage recreation
META-INF content was lost during recreate.

Reviewed-by: jlaskey, sundar
2015-10-06 09:12:00 +02:00
Naoto Sato
f8dca18a53 8138613: Remove SPI locale provider adapter from the default provider list
Reviewed-by: okutsu
2015-10-05 08:16:11 -07:00
Aleksei Efimov
673882edf9 8138716: (tz) Support tzdata2015g
Reviewed-by: peytoia
2015-10-05 17:38:04 +03:00
Zoltan Majo
efc0baaf97 8137173: @HotSpotIntrinsicCandidate is not Oracle-specific
Change the description of the @HotSpotIntrinsicCandidate annotation.

Reviewed-by: mr, alanb
2015-10-05 10:30:20 +02:00
Jamil Nimeh
3ef293dbc1 8138704: CertStatusReqItemV2 should not implement StatusRequest interface
Sets class to have proper inheritance and reduces visibility of length and send methods.

Reviewed-by: mullan
2015-10-02 11:14:31 -07:00
Naveen Kumar
aef9a19da8 8081794: ParsePosition getErrorIndex returns 0 for TimeZone parsing problem
Reviewed-by: peytoia, okutsu
2015-10-01 15:16:35 +09:00
Rob McKenna
7127fab647 8133249: Occasional SIGSEGV: non thread-safe use of strerr in getLastErrorString
Reviewed-by: igerasim, rriggs, christos
2015-10-01 00:13:09 +01:00
Rob McKenna
ddf365ac99 8135305: InetAddress.isReachable reports true when loopback interface is specified
Reviewed-by: michaelm
2015-10-01 00:09:51 +01:00
Joe Darcy
112eb7283e 8136874: Bug in port of fdlibm pow to Java
Reviewed-by: bpb
2015-09-30 15:25:29 -07:00
Artem Smotrakov
fb9ae3bb10 8137174: NTLM impl should use doPrivileged when it reads system properties
Reviewed-by: chegar
2015-09-30 15:30:50 +03:00
Vyom Tewari
bed7702d83 8038075: JNI warnings in jdk/src/share/native/sun/misc/VMSupport.c
Reviewed-by: rriggs
2015-09-29 19:50:56 +02:00
Doug Lea
df66629e12 8134854: Bulk integration of java.util.concurrent.atomic classes
Reviewed-by: martin, psandoz, chegar
2015-09-29 16:44:29 +01:00
Chris Hegarty
0cc24c29ca 8137056: Move SharedSecrets and interface friends out of sun.misc
Reviewed-by: alanb, mchung, psandoz, rriggs
2015-09-28 13:39:27 +01:00
Ivan Gerasimov
1613e728cc 8137121: (fc) Infinite loop FileChannel.truncate
Reviewed-by: alanb
2015-09-26 00:23:15 +03:00
Roger Riggs
38173b5458 8129744: Documentation in Month refers to quarters
8129556: TemporalAdjusters dayOfWeekInMonth wrongly says "in the same month"

Reviewed-by: chegar, scolebourne
2015-09-24 11:01:01 -04:00
Alexander Stepanov
6c618e48b9 8133651: replace some <tt> tags (obsolete in html5) in core-libs docs
Reviewed-by: martin
2015-09-24 17:07:44 +03:00
Joe Darcy
47814c8df0 7130085: Port fdlibm hypot to Java
Reviewed-by: bpb
2015-09-23 14:14:14 -07:00
Roger Riggs
f6878d40ef 8132883: The spec of allChildren/children of j.l.Process/ProcessHandle need to be relaxed
8131763: j.l.Process.allChildren spec clarification

Reviewed-by: chegar
2015-09-23 15:02:46 -04:00
Roger Riggs
4e7617c040 8132541: (process) ProcessBuilder support for redirection to discard output
Add redirect to NUL or /dev/null depending on the OS

Reviewed-by: chegar, martin
2015-09-23 11:18:34 -04:00