1116 Commits

Author SHA1 Message Date
Roger Riggs
197207b152 8138696: java.lang.ref.Cleaner - an easy to use alternative to finalization
Reviewed-by: mchung, mr, chegar, plevart, kbarrett, dholmes
2015-12-21 11:34:14 -05:00
Daniel Fuchs
72bed9c5df 8145686: SimpleConsoleLogger and LogRecord should take advantage of StackWalker to skip classes implementing System.Logger
Methods defined on classes implementing System.Logger will be skipped when looking for the calling method.

Reviewed-by: mchung
2015-12-21 13:30:58 +01:00
Athijegannathan Sundararajan
4ab55ae7c1 8145750: jjs fails to run simple scripts with security manager turned on
Reviewed-by: hannesw, alanb
2015-12-21 09:40:00 +05:30
Claes Redestad
4e062cde34 8144723: MethodHandleImpl.initStatics is no longer needed
Reviewed-by: vlivanov, mhaupt, forax
2015-12-19 02:24:27 +01:00
Xue-Lei Andrew Fan
fd27d80dbd 8049321: Support SHA256WithDSA in JSSE
Reviewed-by: wetmore, mullan
2015-12-18 23:54:51 +00: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
Vyom Tewari
719833448a 4823133: RandomAccessFile.length() is not thread-safe
RandomAccessFile.length() is not thread-safe

Reviewed-by: rriggs, dfuchs, martin, dsamersoff
2015-12-18 16:06:26 +05:30
Claes Redestad
01b7a38291 8146526: Improve java.net.URI$Parser startup characteristics
Reviewed-by: chegar, alanb
2016-01-06 20:16:59 +01:00
Brian Burkhalter
ae68be4a75 8146041: java.net.URLConnection.guessContentTypeFromStream() does not recognize TIFF streams
Add detection of TIFF magic numbers.

Reviewed-by: rriggs, chegar
2016-01-06 10:15:37 -08:00
Chris Hegarty
0c7d3be7a8 8146484: Examine sun.misc.MessageUtils
Reviewed-by: alanb, mchung, sherman
2016-01-06 17:40:48 +00:00
Rob McKenna
9c4f76c2e6 8146105: Undo accidential changes to sun/security/ssl/SignatureAndHashAlgorithm.java
Reviewed-by: xuelei
2016-01-06 15:13:23 +00:00
Chris Hegarty
aa0ef2e9f5 8145544: Move sun.misc.VM to jdk.internal.misc
Reviewed-by: alanb, mullan, weijun
2016-01-06 10:01:44 +00:00
Brian Burkhalter
119f59143f 8050499: (ch) NativeSignal.signal fails with error 316 on OS X
Do not throw an exception when ESRCH returned by pthread_kill() on OS X.

Reviewed-by: alanb
2016-01-05 13:57:32 -08: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
Paul Sandoz
30fa8bd480 8136924: Vectorized support for array equals/compare/mismatch using Unsafe
Reviewed-by: plevart, jrose, kvn
2015-12-17 10:03:30 +01: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
bc11b9c8b5 8144479: Remove character coders from sun.misc
Reviewed-by: psandoz, rriggs
2015-12-16 12:17:03 +00: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
Sebastian Sickelmann
fb053862e5 4906983: java.net.URL constructors throw MalformedURLException in undocumented way
Added some testcases for the corner-cases in question and clarified javadoc

Reviewed-by: chegar, msheppar
2015-12-15 17:35:27 +01:00
Xue-Lei Andrew Fan
2f861a9225 8144773: Further reduce use of MD5
Reviewed-by: mullan, wetmore, jnimeh, ahgross
2015-12-15 12:59:00 +00: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
Alexander Smundak
4cebcd8b2d 8073139: PPC64: User-visible arch directory and os.arch value on ppc64le cause issues with Java tooling
Add ppc64le/jvm.cfg, check for the ppc64le in addition to ppc64 in tests

Co-authored-by: Andrew Hughes <gnu.andrew@redhat.com>
Reviewed-by: dholmes, ihse
2015-12-11 10:45:58 -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
Chris Hegarty
61f49a0663 8145390: Remove sun.misc.Queue and replace usages with standard Collections
Reviewed-by: psandoz, mchung, serb
2015-12-15 10:11:04 +00: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
12858e2f81 8145214: Remove sun.misc.Request and RequestProcessor
Reviewed-by: alanb, mchung, rriggs
2015-12-14 19:30:13 +00: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
Jaroslav Bachorik
fbce4be2e6 8138677: IllegalAccessException Class sun.usagetracker.UsageTrackerClient$4 (module java.base) can not access a member of class java.lang.management.ManagementFactory (module java.management)
Reviewed-by: alanb, mchung, dholmes, erikj, ihse
2015-12-11 14:02:41 +01:00
Volker Simonis
c19bf5ef49 8145212: ISO-8859-1 isn't properly handled as 'fastEncoding' in jni_util.c
Reviewed-by: martin, rriggs
2015-12-14 15:32:03 +01:00
Chris Hegarty
78853b0d46 8143185: Cleanup for handling proxies
Reviewed-by: alanb, darcy, robm, rriggs, skoivu, rriggs
2015-12-01 12:38:28 +00:00
Michael Haupt
1d4561775d 8081512: Remove sun.invoke.anon classes, or move / co-locate them with tests
Reviewed-by: mchung, sundar
2015-12-09 11:02:54 +00: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
Hamlin Li
d3f047f9cf 8144214: Some log messages will be discarded when VM is bootstrapping
Use logp instead of log.

Reviewed-by: dfuchs
2015-12-02 19:27:16 -08:00
Masayoshi Okutsu
00cf15a96c 8141243: Unexpected timezone returned after parsing a date
Reviewed-by: naoto, peytoia
2015-12-03 15:34:08 +09:00
Phil Race
ab52dbb30c Merge 2015-12-02 16:37:55 -08: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