705 Commits

Author SHA1 Message Date
Roger Riggs
fe2786af5f 8138566: (Process) java.lang.Process.allChildren specification clarification
8140213: Process/ProcessHandle.onExit() spec need to be improved
8140250: (process) Process.info description is inaccurate

Rename to descendants() and clarify

Reviewed-by: psandoz
2015-11-09 11:02:07 -05:00
Peter Levart
10eb29b33e 8131129: Attempt to define a duplicate BMH$Species class
Reviewed-by: mhaupt, redestad, vlivanov
2015-11-09 13:44:58 +01:00
Tagir Valeev
58087e2179 8141630: Specification of Collections.synchronized* need to state traversal constraints
Reviewed-by: psandoz
2015-11-09 09:23:49 +01:00
Alejandro Murillo
7bbbc98da3 Merge 2015-11-06 11:11:53 -08:00
Nils Eliasson
aa89658abd Merge 2015-11-06 11:34:03 +01:00
Jesper Wilhelmsson
3233a95edc Merge 2015-11-05 20:00:53 +01:00
Claes Redestad
05e8afd0ef 8141536: MethodType field offset calculation could be lazy
Reviewed-by: vlivanov
2015-11-05 16:36:55 +01:00
Claes Redestad
6f0997408a 8141539: Avoid calculating string constants in InnerClassLambdaMetaFactory
Reviewed-by: vlivanov
2015-11-05 16:29:16 +01:00
Joe Darcy
afaeebc08d 8141359: @Deprecated on packages should be clarified
Reviewed-by: rriggs
2015-11-04 09:01:15 -08:00
Paul Sandoz
b6f45b1889 8033148: Lexicographic comparators for arrays
Reviewed-by: jrose, chegar, bchristi, mduigou
2015-11-04 16:44:38 +01:00
Tobias Hartmann
4ed5b73f3d 8141132: JEP 254: Compact Strings
Adopt a more space-efficient internal representation for strings.

Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Vivek Deshpande <vivek.r.deshpande@intel.com>
Co-authored-by: Charlie Hunt <charlie.hunt@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Xueming Shen <xueming.shen@oracle.com>
Co-authored-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Reviewed-by: alanb, bdelsart, coleenp, iklam, jiangli, jrose, kevinw, naoto, pliden, roland, smarks, twisti
2015-11-03 09:42:11 +01:00
Jesper Wilhelmsson
a18ce1f7d5 Merge 2015-10-30 00:02:35 +01:00
Peter Levart
78ed4c4c8c 8066644: Fix deprecation warnings in jdk.zipfs module
Co-authored-by: Claes Redestad <claes.redestad@gmail.com>
Reviewed-by: sherman, shade
2015-10-28 23:31:01 +01:00
Chris Hegarty
961f5bb19f 8139891: Prepare Unsafe for true encapsulation
Reviewed-by: alanb, dholmes, jrose, psandoz, twisti
2015-10-27 14:19:55 +00:00
Claes Redestad
10cd607753 6823565: Excessive use of HandleList class in de-serialization code causes OutOfMemory
Reviewed-by: chegar, shade
2015-10-28 12:35:54 +01:00
Brent Christian
084b341c80 8138824: java.lang.String: spec doesn't match impl when ignoring case - equalsIgnoreCase(), regionMatches()
Reviewed-by: naoto, rriggs
2015-10-27 09:20:24 -07:00
Vyom Tewari
392da5db2d 8068887: java.lang.Throwable could use Collections.emptyList for suppressedException
Java.lang.Throwable could use Collections.emptyList for suppressedException

Reviewed-by: mchung, alanb, shade, redestad
2015-10-27 10:14:36 +05:30
Michael Haupt
43fd9baef4 8136967: revert all changes applied to obtain information about 8131129
Reviewed-by: sundar
2015-10-27 09:09:37 +01:00
Paul Sandoz
5e8d2b8ebd 8080418: Add Optional.or()
Reviewed-by: chegar, forax, scolebourne
2015-10-19 11:28:50 -07: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
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
f17770b428 8138978: Examine usages of sun.misc.IOUtils
Reviewed-by: alanb, mullan, psandoz, rriggs, weijun
2015-10-09 14:21:02 +01: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
Naoto Sato
a3ac737f50 8134720: Lazy initialization support for currency names in DecimalFormatSymbols
Reviewed-by: okutsu
2015-10-22 21:44:39 -07:00
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
Paul Sandoz
5ba6e8e439 8133348: Reference.reachabilityFence
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Co-authored-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
Reviewed-by: plevart, mr, chegar, mchung
2015-10-06 18:42:06 +02:00
Paul Sandoz
c464a9de39 8144223: Move j.l.invoke.{ForceInline, DontInline, Stable} to jdk.internal.vm.annotation package
Reviewed-by: jrose, vlivanov, mchung, roland
2015-12-03 11:17:31 +01: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
Naoto Sato
5710e3c754 8062006: Add a new locale data name "COMPAT" for java.locale.providers system property to reduce ambiguity
Reviewed-by: okutsu
2015-11-02 08:46:19 -08: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
Joe Darcy
112eb7283e 8136874: Bug in port of fdlibm pow to Java
Reviewed-by: bpb
2015-09-30 15:25:29 -07: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
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