1570 Commits

Author SHA1 Message Date
Vladimir Ivanov
9f65bd0bf9 Merge 2016-05-11 00:38:26 +03:00
Vladimir Ivanov
f1ce1322c5 Merge 2016-05-11 00:30:33 +03:00
Weijun Wang
7df23eb45e 8154523: SHA1PRNG output should change after setSeed
Reviewed-by: xuelei
2016-05-11 12:32:00 +08:00
Xueming Shen
b45ea8903e 6328855: String: Matches hangs at short and easy Strings containing \r \n
6192895: java.util.regex.Matcher: Performance issue
6345469: java.util.regex.Matcher utilizes 100% of the CPU
6988218: RegEx matcher loops
6693451: RegEx matcher goes into infinite delay
7006761: Matcher.matches() has infinite loop
8140212: Slow performance of Matcher.find
8151481: j.u.regex.Pattern cleanup
6609854: Regex does not match correctly for negative nested character classes
4916384: CANON_EQ supports only combining character sequences with non-spacing marks
4867170: Pattern doesn't work with composite character in CANON_EQ mode
6995635: CANON_EQ pattern flag is buggy
6728861: ExceptionInInitializerError is caught when the pattern has precomposed character
6736245: A character in Composition Exclusion Table does not match itself
7080302: the normalization in java regex pattern may have flaw

Reviewed-by: rriggs, okutsu, alanb
2016-05-10 21:19:25 -07:00
Weijun Wang
772322c6fa 8156709: Cannot call setSeed on NativePRNG on Mac if EGD is /dev/urandom
Reviewed-by: wetmore
2016-05-11 08:39:36 +08:00
Ivan Gerasimov
fcf085c678 8156661: Handful of typos in javadoc
Reviewed-by: prappo, rriggs
2016-05-10 17:16:55 +03:00
Jaroslav Kamenik
553aa43136 8155795: Optimize Integer/Long.reverse by using reverseBytes
Reviewed-by: redestad, shade
2016-05-10 13:28:00 +02:00
Mandy Chung
36b0cdb85a 8153912: Reconsider StackFrame::getFileName and StackFrame::getLineNumber
Add StackFrame::getByteCodeIndex method. Revised getFileName and getLineNumber method.

Reviewed-by: dfuchs, bchristi
2016-05-09 09:35:57 -07:00
Vladimir Ivanov
8b0b5c0fc4 Merge 2016-05-09 13:12:48 +03:00
Vladimir Ivanov
8761e88b55 Merge 2016-05-09 12:39:41 +03:00
Nishit Jain
880dc078b3 8154295: Currency iso code is int and hence looses the preceeding zero
Reviewed-by: naoto, okutsu, peytoia
2016-05-09 17:46:28 +09:00
Xue-Lei Andrew Fan
5df499dd0b 8156502: Use short name of SupportedEllipticCurvesExtension.java
Reviewed-by: vinnie
2016-05-08 23:02:23 +00:00
Nadeesh TV
4900a83203 8079628: java.time: DateTimeFormatter containing "DD" fails on 3-digit day-of-year value`
Change the definition of 'DD' to match with CLDR

Reviewed-by: rriggs, scolebourne
2016-05-08 07:46:19 +00:00
Mikael Vidstedt
2b1fdef17a 8150921: Update Unsafe getters/setters to use double-register variants
Reviewed-by: dholmes, shade, psandoz, jrose
2016-05-06 15:59:27 -07:00
Serguei Spitsyn
55e2b30835 Merge 2016-05-06 20:36:12 +00:00
Serguei Spitsyn
427a2549f6 8156147: NPE in InstrumentationImpl.transform when loading classes from -Xbootclasspath/a
Use the jdk.internal.loader.Bootloader if the loader argument is null

Reviewed-by: alanb
2016-05-06 12:45:04 -07:00
Stuart Marks
b4192cdebc 8139233: add initial compact immutable collection implementations
Reviewed-by: plevart, forax, dfuchs, chegar, alanb, scolebourne
2016-05-06 11:33:32 -07:00
Vladimir Ivanov
c8104ec617 Merge 2016-05-06 19:35:34 +03:00
Vladimir Ivanov
905fb139d7 Merge 2016-05-06 18:21:41 +03:00
Aleksey Shipilev
85f537701c 8155965: Unsafe.weakCompareAndSetVolatile entry points and intrinsics
Reviewed-by: psandoz, vlivanov
2016-05-06 17:59:49 +03:00
Nadeesh TV
386a77fd91 8148949: DateTimeFormatter pattern letters 'A','n','N'
Changed the definition of pattern letters 'A','n','N' because it does not match the definition of CLDR

Reviewed-by: rriggs, scolebourne
2016-05-06 12:48:19 +00:00
Mandy Chung
b58e171061 8155513: Deprivilege jdk.charsets
Reviewed-by: alanb, chegar
2016-05-05 22:39:36 -07:00
Weijun Wang
b932c60a85 8051408: NIST SP 800-90A SecureRandom implementations
Reviewed-by: wetmore, xuelei, coffeys
2016-05-06 11:38:44 +08:00
Paul Sandoz
3d8d9fe7fa 8155794: Move Objects.checkIndex BiFunction accepting methods to an internal package
Reviewed-by: chegar, shade, forax, vlivanov
2016-05-05 18:14:47 -07:00
Mandy Chung
45aab5eb6d 8154190: Deprivilege java.compiler module
Reviewed-by: alanb, chegar, jjg
2016-05-05 16:36:06 -07:00
Alejandro Murillo
ec7cfcc7c6 Merge 2016-05-05 12:35:54 -07:00
Paul Sandoz
37445185d2 8155258: VarHandle implementation improvements
Reviewed-by: shade, vlivanov
2016-05-05 11:39:08 -07:00
Brian Burkhalter
5106d55d55 8153192: (se) Selector.select(long) uses wrong timeout after EINTR (lnx)
Pass what remains of the initial timeout to epoll_wait(2) (Linux) and ioctl(7d) (Solaris) instead of the original un-decremented timeout value.

Reviewed-by: alanb, rriggs
2016-05-04 08:04:22 -07:00
Claes Redestad
ab72d795f4 8155939: sun.launcher.LauncherHelper INSTANCE is unused
Reviewed-by: rriggs, ksrini
2016-05-04 16:55:03 +02:00
Alejandro Murillo
ffaebaa66e Merge 2016-05-17 05:38:15 -07:00
Paul Sandoz
44afe20e99 8156485: MethodHandles.varHandleExactInvoker should perform exact checks
Reviewed-by: vlivanov
2016-05-17 12:06:41 +02:00
Alan Bateman
6e8eab119e 8156989: Trailing empty element in classpath ignored
Reviewed-by: mchung
2016-05-16 22:07:07 +01:00
Sean Mullan
1839997d4b Merge 2016-05-16 13:54:55 -04:00
Sean Mullan
5c27ac09c7 8150468: ClassCircularityError on error in security policy file
Reviewed-by: mchung, xuelei
2016-05-16 13:53:46 -04:00
Pavel Rappo
baf59c0bd8 8150785: (bf) Hoist slice and duplicate methods up to java.nio.Buffer
Reviewed-by: alanb, rriggs, chegar
2016-05-16 15:10:04 +01:00
Paul Sandoz
00883c0dc9 8154049: DualPivot sorting calculates incorrect runs for nearly sorted arrays
Reviewed-by: shade
2016-05-16 07:01:26 +02:00
Steve Drach
35e6b00ee0 8151542: URL resources for multi-release jar files have a #runtime fragment appended to them
Reviewed-by: alanb, chegar, psandoz, sherman
2016-05-02 09:03:38 -07:00
Joe Darcy
766b494979 4943627: Deprecate rounding mode integer constants in BigDecimal and their uses
Reviewed-by: bpb
2016-05-03 16:17:12 -07:00
Joe Darcy
bd838767a7 8155963: Fix deprecation warning in windows java.net implementation
Reviewed-by: prr
2016-05-03 12:18:50 -07:00
Joe Darcy
01ee88c8ae 6850612: Deprecate Class.newInstance since it violates the checked exception language contract
Reviewed-by: lancea, mullan, dfuchs
2016-05-03 10:40:54 -07:00
Claes Redestad
e8cd76568d 8155775: Re-examine naming of privileged methods to access System properties
Reviewed-by: mullan
2016-05-03 15:50:54 +02:00
Alan Bateman
44790114ee Merge 2016-05-03 11:45:56 +01:00
Alan Bateman
36e0820801 8154956: Module system implementation refresh (4/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, chegar, redestad
2016-05-03 09:09:57 +01:00
Alex Kashchenko
39846dcf8d 8153925: (fs) WatchService hangs on GetOverlappedResult and locks directory (win)
Co-authored-by: Thomas Mader <tmader@redhat.com>
Reviewed-by: alanb
2016-05-03 07:44:52 +01:00
Anthony Scarpino
b3854d5830 8140422: Add mechanism to allow non default root CAs to be not subject to algorithm restrictions
Reviewed-by: mullan, xuelei
2016-05-02 16:45:38 -07:00
Joe Darcy
ce05d52251 8155792: Add @jls citations to java.lang.String
Reviewed-by: alanb
2016-04-30 16:08:48 -07:00
Tagir F. Valeev
53420d6516 8154387: Parallel unordered Stream.limit() tries to collect 128 elements even if limit is less
Reviewed-by: psandoz
2016-04-29 16:58:00 -07:00
Tagir F. Valeev
3ccd7f2289 8153293: Preserve SORTED and DISTINCT characteristics for boxed() and asLongStream() operations
Reviewed-by: psandoz
2016-04-29 16:57:57 -07:00
Paul Sandoz
e955660cf1 8154755: Add a VarHandle weakCompareAndSet with volatile semantics
Reviewed-by: shade, vlivanov
2016-04-29 13:46:19 -07:00
Aleksey Shipilev
4d3fe6b205 8155215: java.lang.String concatenation spec is unnecessarily strong
Reviewed-by: abuckley, sherman, chegar
2016-04-29 23:15:15 +03:00