538 Commits

Author SHA1 Message Date
Joseph Provino
a02ddb869a Merge 2016-01-01 17:08:24 +00:00
Kim Barrett
08dadf3015 8071507: (ref) Clear phantom reference as soft and weak references do
GC clears phantom refs on notification; update spec accordingly.

Reviewed-by: mchung, jmasa
2015-12-28 14:03:39 -05:00
Alejandro Murillo
a14aea12fc Merge 2015-12-18 09:37:18 -08:00
Chris Hegarty
355dac1a4c 8056152: API to create Threads that do not inherit inheritable thread-local initial values
Reviewed-by: alanb, dholmes, mchung, mr, rriggs
2015-12-18 16:06:24 +00:00
Paul Sandoz
5d45834ee3 8145006: Collections.asLifoQueue(null) doesn't throw NPE as specified
Reviewed-by: smarks
2015-12-18 09:59:25 +01:00
Aleksey Shipilev
4e9bef8f92 8145539: (coll) AbstractMap.keySet and .values should not be volatile
Reviewed-by: redestad, plevart, dl, psandoz
2015-12-17 21:14:58 +03:00
Aleksey Shipilev
acc5017a2e 8145428: Optimize StringUTF16 compress/copy methods for C1
Reviewed-by: redestad, psandoz, sherman, rriggs
2015-12-17 20:42:01 +03:00
Joel Borggrén-Franck
5c29ca104e 8057804: AnnotatedType interfaces provide no way to get annotations on owner type
Reviewed-by: darcy, redestad
2015-12-16 20:00:03 +01:00
Roger Riggs
570ebc4176 8032510: Add java.time.Duration.dividedBy(Duration)
Reviewed-by: rriggs, scolebourne
2015-12-16 13:00:29 -05:00
Chris Hegarty
6853999d56 8145416: Move sun.misc.ProxyGenerator to java.lang.reflect
Reviewed-by: alanb, mchung, rriggs
2015-12-16 08:42:00 +00:00
Mandy Chung
c7bbc840f5 8145430: Fix typo in StackWalker javadoc
Reviewed-by: dfuchs, darcy
2015-12-15 13:02:01 -08:00
Brian Burkhalter
7a0c72ef9c 8143394: PushbackReader throws NullPointerException
Synchronize on lock in close() to avoid NPE from read()-close() race.

Reviewed-by: alanb, dfuchs
2015-12-15 09:02:46 -08:00
Xueming Shen
f98f28d1df 8145343: CorruptEntry.java fails after push for JDK-8145260
Reviewed-by: weijun
2015-12-15 08:54:35 -08:00
Joseph Provino
a5bc6efb1b Merge 2015-12-14 19:49:10 +00:00
Stuart Marks
82c454ff4a 8144952: add wildcards to the Map.ofEntries() method
Reviewed-by: darcy, psandoz, chegar
2015-12-11 17:01:01 -08:00
Frederic Parain
441b190d5c 8046936: JEP 270: Reserved Stack Areas for Critical Sections
Reviewed-by: acorn, dcubed
2015-12-11 09:08:12 -08:00
Sean Mullan
6578dc0aa5 8144784: Remove @Deprecated annotation from java.security.acl, javax.security.cert and com.sun.jarsigner packages
Reviewed-by: mchung, weijun, wetmore
2015-12-11 09:34:56 -05:00
Naveen Kumar
b831ed3c8b 8139572: SimpleDateFormat parse month stand-alone format bug
Reviewed-by: okutsu
2015-12-15 16:42:30 +09:00
Chris Hegarty
a979586dce 8144995: Move sun.misc.HexDumpEncoder to sun.security.util
Reviewed-by: psandoz, mchung
2015-12-14 19:24:33 +00:00
Xueming Shen
2b91819eec 8145260: To bring j.u.z.ZipFile's native implementation to Java to remove the expensive jni cost and mmap crash risk [2]
Reviewed-by: coffeys
2015-12-14 09:27:15 -08:00
Shinya Yoshida
38302301fd 8144675: Add a filtering collector
Reviewed-by: psandoz, smarks
2015-12-13 15:20:35 +01:00
Tagir Valeev
2a1775f3b1 8145007: Pattern splitAsStream is not late binding as required by the specification
Reviewed-by: chegar, psandoz
2015-12-13 15:10:13 +01:00
Alejandro Murillo
8d7fe09e10 Merge 2015-12-03 22:30:21 -08:00
Michael Haupt
03e64cef7b 8143343: add JEP 274 Javadoc tests to JavaDocExamplesTest
Reviewed-by: sundar
2015-12-03 15:36:20 +01:00
Michael Haupt
d66865cb0f 8072844: Use more efficient LambdaForm type representation
Reviewed-by: sundar, redestad
2015-12-03 15:34:39 +01:00
Stuart Marks
2b8f5ec785 8143858: typo in Timer.purge() doc
Reviewed-by: darcy
2015-12-02 14:18:26 -08:00
Vyom Tewari
dc93a924ee 6856817: Poor performance of Writer#append with CharBuffer
Poor performance of Writer#append with CharBuffer

Reviewed-by: rriggs, dfuchs, sherman, shade
2015-12-02 21:32:40 +01:00
Nadeesh TV
96842473fa 8144349: @since tag missed
Reviewed-by: rriggs, scolebourne
2015-12-02 10:24:54 -05:00
Roger Riggs
bdca5d5f82 8143876: test/java/lang/ProcessHandle/TreeTest.java failed intermittently with assertion error
The parent pid may be re-used, check that the child was started after the parent

Reviewed-by: darcy
2015-12-02 09:40:14 -05:00
Claes Redestad
7010cf730d 8143131: Remove unused code from java.lang.invoke
Reviewed-by: vlivanov, jrose, mhaupt
2015-12-02 12:28:24 +01:00
Alejandro Murillo
40272426a0 Merge 2015-12-01 11:12:27 -08:00
Nils Eliasson
072a8dc245 Merge 2015-12-01 19:18:46 +01:00
Claes Redestad
6e98557332 8143926: ObjectStreamField constructor eagerly load ObjectStreamClass
Reviewed-by: chegar, alanb, shade
2015-12-01 09:22:01 +01:00
Alejandro Murillo
b068c21ff1 Merge 2015-11-30 13:55:09 -08:00
Jesper Wilhelmsson
a5b3e891de Merge 2015-11-30 18:40:06 +01:00
Alejandro Murillo
20665191e3 Merge 2015-11-27 11:44:20 -08:00
Tobias Hartmann
4dd2fac63c 8142303: C2 compilation fails with "bad AD file"
Move range checks into intrinsics for String methods.

Reviewed-by: kvn, aph
2015-11-27 09:37:33 +01:00
Doug Lea
7dcef1554f 8143087: Miscellaneous changes imported from jsr166 CVS 2015-11
Reviewed-by: martin, psandoz, chegar, shade, plevart
2015-11-25 19:45:15 -08:00
Doug Lea
4f79cf98f7 8139574: ReentrantReadWriteLock documentation example has compile time error
Reviewed-by: martin, psandoz, chegar, shade, plevart
2015-11-25 18:51:06 -08:00
Doug Lea
a5fdc4aef7 8143086: Document that ForkJoinWorkerThreadFactory.newThread can return null to reject request
Reviewed-by: martin, psandoz, chegar, shade, plevart
2015-11-25 18:24:21 -08:00
Doug Lea
777901e994 8143073: Improve documentation for ConcurrentHashMap serialized form
Reviewed-by: martin, psandoz, chegar, shade, plevart
2015-11-25 18:18:28 -08:00
Doug Lea
6c32c063cf 8140587: Atomic*FieldUpdaters should use Class.isInstance instead of direct class check
Reviewed-by: martin, psandoz, chegar, shade, plevart
2015-11-25 18:12:38 -08:00
Michael Haupt
063afcee2f 8143798: jck failures: api/java_lang/invoke/MethodHandle/index_MethodsTests[asSpreaderWMTE]: java.lang.VerifyError: Bad type on operand stack
Reviewed-by: vlivanov
2015-11-25 09:23:07 +01:00
Mandy Chung
6c2e3ff586 8143967: The stream state check should handle unsigned anchor value
Reviewed-by: dfuchs, dcubed, coleenp, sspitsyn
2015-11-24 15:30:58 -08:00
Mandy Chung
eb2c6c52bb 8143911: Reintegrate JEP 259: Stack-Walking API
Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Hamlin Li <huaming.li@oracle.com>
Reviewed-by: coleenp, dfuchs, bchristi, psandoz, sspitsyn
2015-11-24 15:05:58 -08:00
Christian Tornqvist
a45dc82702 Merge 2015-11-24 18:32:38 +00:00
Christian Tornqvist
557f4f366f 8143931: Back out JDK-8140450
Reviewed-by: coleenp
2015-11-24 10:12:32 -08:00
Chris Hegarty
a5f7704c26 8140687: Move @Contended to the jdk.internal.vm.annotation package
Reviewed-by: alanb, dholmes, psandoz, shade
2015-11-24 11:50:20 +00:00
Aleksey Shipilev
7fafbde248 8136500: Integer/Long getChars and stringSize should be more idiomatic
Reviewed-by: igerasim, sherman, psandoz, jrose
2015-11-24 19:02:33 +03:00
Naveen Kumar
0138e1fe6e 8073211: javadoc of Format parseObject methods should specify NullPointerExceptions
Reviewed-by: naoto, peytoia, okutsu
2015-11-24 13:22:00 +09:00