1121 Commits

Author SHA1 Message Date
Paul Sandoz
060ce7c739 8165782: java.util.jar.JarFile.runtimeVersion() spec needs clarification
Reviewed-by: mchung, alanb
2016-11-08 12:36:13 -08:00
Stuart Marks
d55905fe1b 8156079: consider making empty instances singletons
8169222: minor immutable collections optimizations

Reviewed-by: forax, redestad, alanb
2016-11-04 14:29:34 -07:00
Mandy Chung
d74e2a09ac 6479237: (cl) Add support for classloader names
Reviewed-by: alanb, bchristi, coleenp, dfuchs, lfoltan, psandoz, sspitsyn
2016-11-03 18:08:28 -07:00
Joe Darcy
1f577b2097 8168681: Correct deprecation text for Class.newInstance
Reviewed-by: mchung
2016-11-03 13:06:24 -07:00
Ivan Gerasimov
4541ef3ed7 8168923: Use unsigned random long in a temp directory name
Reviewed-by: bpb, alanb
2016-11-02 18:45:14 +03:00
Paul Sandoz
530da2782a 8168841: The JavaDoc of java.util.stream.Collectors method collectingAndThen has incorrect code snippet
Reviewed-by: smarks, lancea, tvaleev
2016-11-01 17:29:49 -07:00
Paul Sandoz
1730680ce7 8167974: MethodHandles.iteratedLoop(...) fails with CCE in the case of iterating over array
8167966: MethodHandles.iteratedLoop fails with IAE in the case of correct arguments

Reviewed-by: redestad
2016-11-01 17:29:48 -07:00
Bradford Wetmore
853690d658 4985694: Incomplete spec for most of the getInstances
Reviewed-by: xuelei, mullan
2016-10-31 14:09:42 -07:00
Xueming Shen
882dd28a12 8166261: Scanner.nextInt(int) (and similar methods) throws PatternSyntaxException
Reviewed-by: naoto
2016-10-31 10:34:31 -07:00
Weijun Wang
0527e4e401 8167646: Better invalid FilePermission
Reviewed-by: rriggs
2016-10-31 16:41:41 +08:00
Weijun Wang
2c2ce8ad1f 8168127: FilePermissionCollection merges incorrectly
Reviewed-by: rriggs
2016-10-31 16:40:31 +08:00
Alan Bateman
83df093985 8168789: ModuleReader.list and ModuleFinder.of update
Reviewed-by: mchung
2016-10-28 10:18:07 +01:00
Mandy Chung
fc99db2ced 8168205: Should not default class path to CWD if -cp is not specified but -m is specified
Reviewed-by: alanb
2016-10-27 13:42:12 -07:00
Christoph Langer
955f784be9 8167481: cleanup of headers and includes for native libnet
Reviewed-by: chegar
2016-10-27 11:00:28 +02:00
Claes Redestad
ec5f1743aa 8168640: (fc) Avoiding AtomicBoolean in FileInput/-OutputStream improves startup
Reviewed-by: alanb, plevart
2016-10-26 17:50:08 +02:00
Brent Christian
1552f3ddbb 8165793: Provide an API to query if a ClassLoader is parallel capable
Reviewed-by: alanb, mchung
2016-10-25 12:58:34 -07:00
Roger Riggs
e89ce16097 8164908: ReflectionFactory support for IIOP and custom serialization
Add support for serialization to sun.reflect.ReflectionFactory

Reviewed-by: alanb, chegar, plevart, amlu
2016-10-24 14:52:51 -04:00
Masayoshi Okutsu
c0ee1b68c1 8152926: PropertyResourceBundle constructor don't understand the System.setProperty change
Reviewed-by: naoto, peytoia
2016-10-24 15:26:15 +09:00
Anubhav Meena
d3d2beed82 8163330: HijrahDate aligned day of week incorrect
Reviewed-by: rriggs, scolebourne
2016-10-21 14:52:04 +05:30
Rachna Goel
8f9823ef6e 8146750: java.time.Month.getDisplayName() return incorrect narrow names with JRE provider on locale de,de_DE,en_US
Reviewed-by: okutsu, rriggs, naoto, peytoia
2016-10-21 11:33:37 +09:00
Shilpi Rastogi
ff97659a79 8071368: Use more concrete types for NamedFunction constants in the code
Reviewed-by: psandoz, vlivanov, mhaupt
2016-02-10 11:04:13 +01:00
Shilpi Rastogi
3e45966cd3 8138884: MethodHandles.Lookup.findVirtual() Javadoc fails to consider private interface methods
Reviewed-by: psandoz, mhaupt
2016-02-10 10:44:58 +01:00
Anthony Scarpino
719c597241 8098581: SecureRandom.nextBytes() hurts performance with small size requests
Reviewed-by: valeriep
2016-02-08 13:09:16 -08:00
Brian Burkhalter
0d7421752a 8064466: (fs spec) Files.readAttributes(Path, String, LinkOption...) not clear when called with zero attributes
Change specification to indicate "one or more" instead of "zero or more" attributes.

Reviewed-by: alanb
2016-02-08 10:46:42 -08:00
Shilpi Rastogi
e49c2412cb 8138578: MethodHandles.Lookup.findSpecial() Javadoc fails to consider static methods
Reviewed-by: psandoz, vlivanov, mhaupt
2016-02-08 17:37:46 +01:00
Nadeesh TV
3795972295 8146747: java.time.Duration.toNanos() and toMillis() exception on negative durations
Reviewed-by: rriggs, scolebourne
2016-02-08 09:56:26 -05:00
Tagir F. Valeev
0e250ec504 8148838: Stream.flatMap(...).spliterator() cannot properly split after tryAdvance()
Reviewed-by: psandoz
2016-02-08 15:33:53 +01:00
Tagir F. Valeev
e41fea88e7 8148115: Stream.findFirst for unordered source optimization
Reviewed-by: psandoz
2016-02-08 10:40:00 +01:00
Tagir F. Valeev
9e65963f4f 8148250: Stream.limit() parallel tasks with ordered non-SUBSIZED source should short-circuit
Reviewed-by: psandoz
2016-02-08 10:37:37 +01:00
Aleksey Shipilev
24816037ab 8148936: Adapt UUID.toString() to Compact Strings
Reviewed-by: igerasim, redestad
2016-02-04 16:00:48 +03:00
Brian Burkhalter
0ee02dbd71 8148821: (fs) Path.getParent() javadoc error
Change "If this path has one or more elements" to "If this path has more than one element."

Reviewed-by: rriggs, alanb
2016-02-03 13:34:19 -08:00
Aleksey Shipilev
68d21c3b1e 8148869: StringConcatFactory MH_INLINE_SIZED_EXACT strategy does not work with -XX:-CompactStrings
Reviewed-by: vlivanov, psandoz
2016-02-03 00:49:41 +03:00
Chris Hegarty
64b292668e Merge 2016-02-02 17:20:53 +00:00
Nadeesh TV
6d4368a7cb 8141452: Convert between TimeUnit and ChronoUnit
Reviewed-by: martin, psandoz, chegar, rriggs, scolebourne
2016-02-02 08:53:49 -08:00
Aleksey Shipilev
454df89b32 8148787: StringConcatFactory exactness check produces bad bytecode when a non-arg concat is requested
Reviewed-by: vlivanov, psandoz
2016-02-02 18:15:15 +03:00
Chris Hegarty
5765b5b4f0 8148117: Move sun.misc.Cleaner to jdk.internal.ref
Reviewed-by: alanb, rriggs
2016-02-02 08:59:52 +00:00
Tagir F. Valeev
c2f738c53d 8146218: Add LocalDate.datesUntil method producing Stream<LocalDate
Reviewed-by: scolebourne, rriggs, sherman
2016-02-01 10:02:40 -05:00
Aleksey Shipilev
ad776ff126 8148730: Add @since tags in new String concat APIs
Reviewed-by: alanb
2016-02-01 15:11:50 +03:00
Claes Redestad
9102b6eb21 8148626: URI.toURL needs to use protocol Handler to parse file URIs
Back out the parts of 8147462 that attempted to optimize file URI to URL conversions

Reviewed-by: darcy, chegar
2016-01-31 22:30:35 +01:00
Doug Lea
7f6a9e3180 8145164: Default implementation of ConcurrentMap::compute can throw NPE
Reviewed-by: martin, psandoz, chegar
2016-01-29 11:49:37 -08:00
Doug Lea
47e7f9dcdc 8144305: documentation of Queue interface contains reference to LinkedBlockingQueue twice in 'See Also' section
Reviewed-by: martin, psandoz, chegar
2016-01-29 11:48:00 -08:00
Claes Redestad
7ae729a77f 8147462: URI.toURL could be more efficient for most non-opaque URIs
Reviewed-by: alanb, chegar
2016-01-29 11:35:56 +01:00
Shanliang Jiang
83e0997bbd 8144430: Improve JMX connections
Reviewed-by: dfuchs, jbachorik, skoivu, ahgross
2016-01-22 13:27:09 +01:00
Chris Hegarty
0aa59442eb 8129952: Ensure thread consistency
Reviewed-by: alanb, ahgross, skoivu
2016-01-20 20:51:45 +00:00
Valerie Peng
5c40a6a808 8138811: Construction of static protection domains
Updated SubjectDomainCombiner to keep static ProtectionDomain static

Reviewed-by: mullan
2015-12-23 02:36:57 +00:00
Joe Darcy
a9f457a94e 8161500: Use getTypeName and StringJoiner in core reflection toString methods
Reviewed-by: redestad
2016-07-18 10:27:58 -07:00
Doug Lea
14d4754bdd 8080603: Replace Unsafe with VarHandle in java.util.concurrent classes
8153715: Use Unsafe.weakCompareAndSet in java.util.concurrent

Reviewed-by: martin, psandoz, rriggs, plevart, dfuchs, shade
2016-07-15 14:04:09 -07:00
Doug Lea
a09ddefd05 8157522: Performance improvements to CompletableFuture
Reviewed-by: martin, psandoz, rriggs, plevart, dfuchs
2016-07-15 13:59:58 -07:00
Doug Lea
7fa43fa58f 8157523: Various improvements to ForkJoin/SubmissionPublisher code
Reviewed-by: martin, psandoz, rriggs, plevart, dfuchs
2016-07-15 13:55:51 -07:00
Doug Lea
aa81d50820 8159924: Various improvements to StampedLock code
Reviewed-by: martin, psandoz, rriggs, plevart, dfuchs
2016-07-15 13:51:43 -07:00