780 Commits

Author SHA1 Message Date
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
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
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
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
37445185d2 8155258: VarHandle implementation improvements
Reviewed-by: shade, vlivanov
2016-05-05 11:39:08 -07: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
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
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
Tagir F. Valeev
6db653621d 8155600: Performance optimization of Arrays.asList().iterator()
Reviewed-by: redestad, shade, plevart, attila
2016-04-29 16:52:05 +03:00
Aleksey Shipilev
a6f2cdbb0f 8155090: String concatenation fails with a custom SecurityManager that uses concatenation
Reviewed-by: redestad, chegar
2016-04-29 13:24:27 +03:00
Stuart Marks
93a8bd3843 8154801: deprecate Observer and Observable
Reviewed-by: darcy
2016-04-28 14:29:09 -07:00
Michael Haupt
0b7775586f 8155106: MHs.Lookup.findConstructor returns handles for array classes
Reviewed-by: shade, sundar
2016-04-27 20:18:49 +02:00
Daniel Fuchs
1e0d1458a2 8148568: LoggerFinder.getLogger and LoggerFinder.getLocalizedLogger should take a Module argument instead of a Class
Changes System.LoggerFinder methods to take a Module argument instead of a Class.

Reviewed-by: mchung
2016-04-27 18:04:16 +02:00
Paul Sandoz
27f82bea87 8154447: Exempt classes under java.util.concurrent from MH.Lookup restrictions
Reviewed-by: mchung, martin
2016-04-26 18:42:51 -07:00
Paul Sandoz
1af2806677 8154556: Use java.nio.ByteOrder instead of boolean value
Reviewed-by: alanb
2016-04-26 18:30:00 -07:00
Nadeesh TV
911f4b1664 8031085: DateTimeFormatter won't parse dates with custom format "yyyyMMddHHmmssSSS"
Changed the FractionPrinterParser to subclass of NumberPrinterParser to make it participate in adjacent value parsing

Reviewed-by: rriggs, scolebourne
2016-04-25 09:37:43 +00:00
Stuart Marks
48a86ddf3e 8153330: deprecate Runtime.traceInstructions() and traceMethodCalls()
Reviewed-by: alanb, dholmes, mchung
2016-04-22 13:10:53 -07:00
Michael Haupt
cafabcafce 8154754: MethodHandles.countedLoop errors in deriving loop arguments, result type, and local state
Reviewed-by: redestad
2016-04-22 15:05:54 +02:00
Michael Haupt
e53e280d37 8154751: MethodHandles.countedLoop does not accept empty bodies
Reviewed-by: redestad
2016-04-22 15:05:26 +02:00
Michael Haupt
5b392c0abc 8152667: MHs.iteratedLoop(...) throws unexpected WMTE, disallows Iterator subclasses, generates inconsistent loop result type
Reviewed-by: redestad
2016-04-22 13:36:22 +02:00
Nadeesh TV
d9e44503b4 8148947: DateTimeFormatter pattern letter 'g'
Handled 'g'  in the required places

Reviewed-by: rriggs, scolebourne
2016-04-22 05:46:54 +00:00
Nadeesh TV
183d5aad2e 8154050: java.time.format.DateTimeFormatter can't parse localized zone-offset
Corrected the mistake in calculating parse end position

Reviewed-by: rriggs, scolebourne
2016-04-21 17:51:18 +00:00
Claes Redestad
2b5207e74d 8154231: Simplify access to System properties from JDK code
Reviewed-by: rriggs, chegar, weijun
2016-04-21 13:39:53 +02:00
Brian Burkhalter
6e3d77a8ba 8154183: (spec) Spec of read(byte[],int,int) and readFully(byte[],int,int) is confusing/incomplete
Clarify and expand specification of ObjectInputStream.read(byte[],int,int) and both variants of {DataInput,DataInputStream,ObjectInputStream,RandomAccessfile}.readFully().

Reviewed-by: rriggs, smarks
2016-04-20 15:06:13 -07:00
Sean Coffey
29fc25717a 8071125: Improve exception messages in URLPermission
Reviewed-by: chegar, prappo
2016-04-20 22:46:47 +01:00
Vladimir Ivanov
49b2db4ae7 8152335: Improve MethodHandle consistency
Co-authored-by: Michael Haupt <michael.haupt@oracle.com>
Reviewed-by: acorn, ahgross, jrose
2016-03-18 18:07:55 -07: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
Michael Haupt
402c448d0a 8150956: j.l.i.MethodHandles.whileLoop(...) and .iteratedLoop(...) throw unexpected exceptions in the case of 'init' return type is void
Reviewed-by: psandoz
2016-04-19 14:39:35 +02:00
Alejandro Murillo
2b6eedeff9 Merge 2016-04-18 20:19:39 -07:00
Alejandro Murillo
df4b562ac5 Merge 2016-04-18 15:39:47 -07:00
Stuart Marks
ba908a9037 8145468: update java.lang APIs with new deprecations
Reviewed-by: alanb, psandoz, lancea, forax, scolebourne, chegar, martin
2016-04-18 14:10:14 -07:00
Joe Darcy
965536262b 4851642: Add fused multiply add to Java math library
Reviewed-by: bpb, nadezhin
2016-04-15 10:14:57 -07:00
Chris Hegarty
07cdc33e34 8137058: Clear out all non-Critical APIs from sun.reflect
Reviewed-by: alanb, jfranck, mchung
2016-04-15 16:19:15 +01: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