762 Commits

Author SHA1 Message Date
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
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
Alejandro Murillo
b84738d2e3 Merge 2016-04-11 14:21:27 -07: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
Jesper Wilhelmsson
e0a7cbf80a Merge 2016-04-11 20:16:34 +02:00
Paul Sandoz
878d4d8655 8151706: Update VarHandle implementation to use @Stable arrays
Reviewed-by: mhaupt, shade, redestad
2016-04-11 18:21:25 +02:00
Peter Levart
589c46da46 8152115: (proxy) Examine performance of dynamic proxy creation
Redesign caching of dynamic Proxy classes

Reviewed-by: mchung
2016-04-11 10:55:03 +02:00
Mark Sheppard
8906a1381d 8134577: Eliminate or standardize a replacement for sun.net.spi.nameservice.NameServiceDescriptor
Reviewed-by: chegar, alanb
2016-04-11 03:00:50 +01:00
Brent Christian
74f12569ec 8153123: Streamline StackWalker code
Reviewed-by: coleenp, dfuchs, mchung, redestad
2016-04-08 12:26:47 -07:00
Bharadwaj Yadavalli
3d214817a2 Merge 2016-04-08 12:36:27 -04:00
Nishit Jain
3fd42e1ad4 7129443: (cal) Difference between comment and implementation of DAY_OF_WEEK_IN_MONTH
Reviewed-by: okutsu, peytoia
2016-04-08 14:35:35 +09:00
Doug Lea
c35f79810f 8151579: Optimize ConcurrentHashMap.Node
Reviewed-by: martin, psandoz, forax
2016-04-07 10:12:08 -07:00