1292 Commits

Author SHA1 Message Date
Tobias Hartmann
cdd6aa5d50 Merge 2016-01-06 08:02:24 +01:00
Alejandro Murillo
8f53087d6e Merge 2016-01-05 13:08:05 -08:00
Nadeesh TV
e49fa68b05 8146489: @since tag missed
Reviewed-by: lancea, rriggs
2016-01-05 14:33:35 -05:00
Naoto Sato
3f8548453c 8039301: [ja] Host Locale Provider uses non-translated Calendar field names
8039969: Old Korean Calendar conflicts with Host Locale
8049835: [ar/HOST adapter] Hijri calendar era is used but date number follows gregorian
8054010: [HOST provider, not gregory] Return NULL when calling Calendar.getDisplayNames for Calendar.ERA
8054482: [HOST provider] only return standalone-style month display name
8055258: [HOST provider] Short era display name is not returned

Reviewed-by: okutsu
2016-01-05 10:15:54 -08:00
Nadeesh TV
2cfdb95251 8145166: Duration.toString violates specification
Correct Duration.toString method

Reviewed-by: rriggs, scolebourne
2016-01-05 10:09:48 -05:00
Xueming Shen
9b77da0f46 8146431: j.u.z.ZipFile.getEntry("") throws AIOOBE
Reviewed-by: lancea
2016-01-04 14:34:53 -08:00
Joseph Provino
a02ddb869a Merge 2016-01-01 17:08:24 +00:00
Sebastian Sickelmann
053032b76c 8145981: (fs) LinuxWatchService can reports events against wrong directory
Fixes wakeup mechanism of LinuxWatchService and introduces a test

Reviewed-by: alanb
2015-12-30 19:20:51 +01:00
Kishor Kharbas
7763f8d12d 8143925: Enhancing CounterMode.crypt() for AES
Add intrinsic for CounterMode.crypt() to leverage the parallel nature of AES in Counter(CTR) Mode.

Reviewed-by: kvn, ascarpino
2015-12-28 22:28:49 -08: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
Ramanand Patil
c31b3a5e83 8145388: URLConnection.guessContentTypeFromStream returns image/jpg for some JPEG images
Since "image/jpg" is not a valid Content Type, the method should return "image/jpeg" when APPn marker segment has 'EE' as a marker type.

Reviewed-by: prr, bpb
2015-12-25 16:45:15 +03:00
Ramanand Patil
c6d209b505 8066982: ZonedDateTime.parse() returns wrong ZoneOffset around DST fall transition
In Parsed.java the method resolveInstant() is altered such that, the offset (if present) will be given priority over zone.

Reviewed-by: rriggs, scolebourne
2015-12-25 16:43:37 +03:00
Nadeesh TV
6a9a5a80ea 8143413: add toEpochSecond methods for efficient access
Reviewed-by: rriggs, scolebourne
2015-12-23 13:19:58 -05:00
Valerie Peng
e171854b1c 8138593: Make DSA more fair
Changed nounce K generation to FIPS 186-4 B2.1

Reviewed-by: mullan
2015-12-23 02:31:34 +00:00
Christian Thalinger
32aff4400c Merge 2015-12-22 13:41:12 -08:00
Anthony Scarpino
fc6a5d3bd2 8143945: Better GCM validation
Reviewed-by: xuelei, mullan
2015-12-21 10:43:40 -08:00
Christian Thalinger
48e2ec8057 Merge 2015-12-18 10:00:55 -08:00
Alejandro Murillo
a14aea12fc Merge 2015-12-18 09:37:18 -08:00
Xue-Lei Andrew Fan
80015b7586 8133070: Hot lock on BulkCipher.isAvailable
Reviewed-by: mullan
2015-12-23 03:51:35 +00:00
Chris Hegarty
7f221493d8 8146000: Remove sun.mics.CompoundEnumeration
Reviewed-by: coffeys, shade
2015-12-22 21:32:29 +00:00
Chris Hegarty
626fc9bc75 8146038: CleanerImpl should not depend on ManagedLocalsThread
Reviewed-by: rriggs
2015-12-22 21:30:48 +00:00
Claes Redestad
c6afc47fc1 8145862: Improve lazy initialization of fields in java.net.URI
Reviewed-by: shade, chegar
2015-12-22 19:14:47 +01:00
Claes Redestad
22df7c453f 8145988: Use the raw methods of java.net.URI when possible
Reviewed-by: shade, chegar
2015-12-22 16:42:16 +01:00
Chris Hegarty
7e4d56677d 8145990: Move sun.misc math support classes to jdk.internal.math
Reviewed-by: bpb, darcy
2015-12-22 12:17:25 +00:00
David Buck
cbba70caa3 Merge 2015-12-21 21:14:19 +01:00
Claes Redestad
5f1918e76e 8145680: Remove unnecessary explicit initialization of volatile variables in java.base
Reviewed-by: alanb, chegar, jfranck, shade
2015-12-21 20:54:00 +01:00
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