846 Commits

Author SHA1 Message Date
Doug Lea
2b446bf074 8150014: java/lang/invoke/LFCaching/LFMultiThreadCachingTest.java fails with NoClassDefFoundError
Reviewed-by: martin, psandoz, darcy, mhaupt, dholmes
2016-02-20 12:19:36 -08:00
Vladimir Ivanov
4458220d4a 8148994: Replacing MH::invokeBasic with a direct call breaks LF customization
Reviewed-by: jrose, redestad
2016-02-15 20:27:12 +03:00
Chris Hegarty
40965e0d6a 8134424: BlockDataInputStream.readUTFBody: size local StringBuffer with the given length
Reviewed-by: rriggs, shade
2016-02-15 14:25:21 +00:00
Chris Hegarty
7f68f6d847 8149656: Examine usages of sun.misc.LRUCache
Reviewed-by: redestad, rriggs
2016-02-15 10:14:39 +00:00
Chris Hegarty
8f6486a73b 8149653: Move sun.misc.InnocuousThread to jdk.internal.misc
Reviewed-by: mchung, rriggs
2016-02-15 10:13:21 +00:00
Xueming Shen
0072af1be6 7071819: To support Extended Grapheme Clusters in Regex
8147531: To add named character construct \N{...} to support Unicode name property

Reviewed-by: naoto, okutsu, plevart
2016-02-12 19:24:31 -08:00
Roger Riggs
b16bb1267a 8142539: Incorrect definition of ZoneOffset.MIN
8140211: Example in the Documentation is wrong for java.time.ZonedDateTime.minusHours
8139529: java.time.temporal.ChronoUnit.FOREVER typo

Reviewed-by: lancea, scolebourne
2016-02-11 11:19:03 -05:00
Mikael Vidstedt
7f395c26ab 8141491: Unaligned memory access in Bits.c
Introduce alignment-safe Copy::conjoint_swap and j.i.m.Unsafe.copySwapMemory

Reviewed-by: jrose, dholmes, psandoz
2016-02-10 15:20:41 -08:00
Aleksey Shipilev
7bee07b465 8149459: StringConcatFactory should be synced up with LambdaMetafactory
Reviewed-by: psandoz, vlivanov, forax
2016-02-10 16:36:25 +03: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
Alejandro Murillo
a1cfe0ce2d Merge 2016-04-14 19:55:41 -07:00
Daniel D. Daugherty
451af9b1b2 Merge 2016-04-14 15:25:41 -07:00
Roger Riggs
38659d2ed9 8086278: java/lang/ProcessHandle/TreeTest.java failed - ProcessReaper StackOverflowException
Increase reaper stack size by 50% to 48k

Reviewed-by: chegar, martin
2016-04-13 16:57:49 -04:00
Mandy Chung
c5f11b19c4 8153895: (proxy) redundant read edges to superinterfaces of proxy interfaces
Reviewed-by: sundar, plevart
2016-04-13 11:03:16 -07:00
Anthony Scarpino
87bdca8684 8152205: jdk.security.provider.preferred is ambiguously documented
Reviewed-by: wetmore, xuelei, weijun
2016-04-13 10:20:40 -07:00
Shilpi Rastogi
284ec15fed 8150829: Enhanced drop-args, identity and default constant, varargs adjustment
Reviewed-by: psandoz, mhaupt, jrose
2016-04-13 15:48:14 +02:00
Alan Bateman
33a3b1cdf0 8154077: (fs) Reduce number of file system classes loaded during startup
Reviewed-by: bpb, chegar
2016-04-13 14:29:25 +01:00
Paul Sandoz
87c6cee72e 8146458: Improve exception reporting for Objects.checkIndex/checkFromToIndex/checkFromIndexSize
Reviewed-by: jrose, smarks
2016-04-13 15:05:50 +02:00
Paul Sandoz
e10605459a 8151198: VarHandle factory-specific exceptions
Reviewed-by: shade
2016-04-13 15:05:49 +02:00
Paul Sandoz
a7aff44bbb 8151705: VarHandle.AccessMode enum names should conform to code style
Reviewed-by: mhaupt, shade, redestad
2016-04-13 15:05:48 +02:00
Nadeesh TV
f1634255f5 8148849: Truncating Duration
Introduce a new method  to truncatedTo()

Reviewed-by: rriggs, scolebourne
2016-04-13 10:41:27 +00:00
Michael Haupt
c304110149 8153637: MethodHandles.countedLoop/3 initialises loop counter to 1 instead of 0
Reviewed-by: psandoz, redestad
2016-04-13 09:20:22 +02:00
Alejandro Murillo
fd0239a0bc Merge 2016-04-13 00:00:39 -07:00
Mandy Chung
becc097af0 8153665: URLClassLoader::definePackage no longer inspect packages from ancestors
Reviewed-by: alanb
2016-04-12 18:58:21 -07:00
Claes Redestad
08d525d5fc 8154067: Avoid early use of limited privilege escalation in InnerClassLambdaMetafactory
Reviewed-by: alanb, mchung, mullan, briangoetz
2016-04-12 21:41:28 +02:00
Steve Drach
f767b8ce19 8153213: Jar manifest attribute "Multi-Release" accepts any value
Reviewed-by: psandoz, redestad
2016-04-12 18:25:10 +02:00
Stuart Marks
4544652494 8145461: finalize and integrate @Deprecated annotation specification change
Reviewed-by: scolebourne, chegar, lancea
2016-04-11 11:45:30 -07:00