492 Commits

Author SHA1 Message Date
Brian Burkhalter
c0d7208b4b 8065109: (fs spec) Files.newBufferedWriter doesn't specify SecurityException for DELETE_ON_CLOSE option
Add to specification of newBufferedWriter() and write() methods that the DELETE_ON_CLOSE option triggers invoking checkDelete().

Reviewed-by: alanb
2015-05-07 16:12:10 -07:00
Naoto Sato
9a104f4c57 8079186: Add 'localeServiceProvider' target in the class description of RuntimePermission
Reviewed-by: mullan
2015-05-07 08:55:17 -07:00
Alexander Stepanov
1e20f048f1 8079478: some docs cleanup for sun.security
Some docs cleanup

Reviewed-by: weijun
2015-05-06 21:15:07 +04:00
Jason Uh
53ae2943eb 8058543: Certificate returns null Subject Alternative Name if it is an X400Address type
Reviewed-by: weijun
2015-05-05 14:44:39 -07:00
Phil Race
b8cf472fe8 Merge 2015-05-05 13:29:31 -07:00
Vinnie Ryan
99e090089e 8079129: NullPointerException in PKCS#12 Keystore in PKCS12KeyStore.java
Reviewed-by: weijun
2015-05-05 17:55:16 +01:00
Alejandro Murillo
bc6eae682e Merge 2015-05-05 08:11:41 -07:00
Peter Levart
b308a894cf 8074003: java.time.zone.ZoneRules.getOffset(java.time.Instant) can be optimized
Make epochSecond part of ZoneOffsetTransition so it doesn't have to be recomputed frequently

Reviewed-by: scolebourne, rriggs
2015-05-04 10:13:19 +02:00
Aleksei Efimov
c565cf62f8 8077685: (tz) Support tzdata2015d
Reviewed-by: okutsu
2015-05-02 22:51:45 +03:00
Alejandro Murillo
c185e9a5bf Merge 2015-05-01 03:56:04 -07:00
Bharadwaj Yadavalli
9e764c9abf Merge 2015-04-30 18:15:01 -04:00
Naoto Sato
ae93bb2873 8075545: Add permission check for locale service provider implementations
Reviewed-by: mchung, alanb
2015-04-29 11:03:56 -07:00
Phil Race
60bb43ad32 Merge 2015-04-29 08:52:47 -07:00
Alexander Stepanov
0bdbfa87dc 8076224: some tidy warnings from core libs
Minor HTML markup fix

Reviewed-by: rriggs, lancea
2015-04-28 21:30:10 +04:00
Brian Burkhalter
d44ef60eb0 8024086: (fs) AtomicMoveNotSupportedException allows reason to be null
Modify javadoc specification of 'reason' parameter to allow null

Reviewed-by: alanb
2015-04-28 10:12:15 -07:00
Phil Race
96700da961 Merge 2015-04-27 09:17:39 -07:00
Christian Thalinger
8abeeabcef 8022853: add ability to load uncompressed object and Klass references in a compressed environment to Unsafe
Reviewed-by: coleenp, jrose, kvn
2015-04-27 09:02:48 -07:00
Doug Lea
37fbfc1a3d 8078490: Missed submissions in ForkJoinPool
Reviewed-by: psandoz, shade, martin, chegar
2015-04-24 15:39:41 +02:00
Vladimir Ivanov
7840b0e7c1 8059455: LambdaForm.prepare() does unnecessary work for cached LambdaForms
Reviewed-by: psandoz
2015-04-23 18:01:38 +03:00
Joe Darcy
dd2c3d1c22 8078468: Update security libraries to use diamond with anonymous classes
Reviewed-by: weijun
2015-04-23 18:51:18 -07:00
Joe Darcy
d112215fc2 8078467: Update core libraries to use diamond with anonymous classes
Reviewed-by: mchung, alanb
2015-04-23 09:32:35 -07:00
Vladimir Ivanov
ad2c8376dd 8078290: Customize adapted MethodHandle in MH.invoke() case
Reviewed-by: jrose
2015-04-21 21:06:06 +03:00
Chris Hegarty
e028ed3a21 8075139: Restore java.protocol.handler.pkgs to work as a fallback for migration
Reviewed-by: alanb, psandoz
2015-04-21 14:23:58 +01:00
Brent Christian
b5af5771c7 8048264: StringBuffer's codePoint methods throw unspecified IndexOutOfBoundsException
Add missing @throws tags

Reviewed-by: dholmes, lancea
2015-04-17 12:49:51 -07:00
Jason Uh
454ec2e69d 7194452: Remove "Reverse" PKIX CertPathBuilder implementation
Reviewed-by: mullan
2015-04-17 11:51:47 -07:00
Vladimir Ivanov
f0f9b42b17 8057967: CallSite dependency tracking scales devastatingly poorly
Reviewed-by: jrose, roland, plevart, shade
2015-04-17 18:15:13 +03:00
Sergey Bylokhov
e79b50f322 8076264: [macosx] Launching app on MacOSX requires enclosing class
Reviewed-by: azvegint, ksrini
2015-04-16 21:55:55 +03:00
Naoto Sato
5b2c289414 8076287: Performance degradation observed with TimeZone Benchmark
Reviewed-by: okutsu
2015-04-16 08:25:19 -07:00
Henry Jen
3bef36626e Merge 2015-04-15 07:33:34 -07:00
Zoltan Majo
9700d9c1fa Merge 2015-04-15 07:49:25 +00:00
Zoltan Majo
b15381aaba 8067648: JVM crashes reproducible with GCM cipher suites in GCTR doFinal
Change restore mechanism in GCTR.java to avoid setting counter to null; added length check to constructor

Reviewed-by: jrose, kvn, ascarpino
2015-04-15 09:37:51 +02:00
Artem Smotrakov
dc99c45870 8076221: Disable RC4 cipher suites
Reviewed-by: xuelei, wetmore
2015-04-15 07:34:24 +00:00
Jason Uh
31a7b46b00 8076117: EndEntityChecker should not process custom extensions after PKIX validation
Reviewed-by: xuelei, mullan
2015-04-14 13:02:23 -07:00
Michael Haupt
2e8fb0e5de 8033465: JSR292: InvokerBytecodeGenerator: convert a check for REF_invokeVirtual on an interface into an assert
Reviewed-by: vlivanov
2015-04-14 18:26:01 +03:00
Vladimir Ivanov
c9ac987bf3 8076461: JSR292: remove unused native and constants
Reviewed-by: jrose, vlivanov
2015-04-14 18:16:02 +03:00
Vladimir Ivanov
4097393258 8057919: Class.getSimpleName() should work for non-JLS compliant class names
Reviewed-by: dholmes, jrose
2015-04-14 18:03:12 +03:00
Vladimir Ivanov
bc83974fb5 8077054: DMH LFs should be customizeable
Reviewed-by: jrose
2015-04-14 17:59:52 +03:00
Xueming Shen
a0fedc8556 8077640: DateTimeFormatter does not parse/accept the era.toString() result from MinguoEra/ThaiBuddhistEra
To parse and accept the era.toString() for era parsing in lenient/smart mode

Reviewed-by: rriggs
2015-04-13 11:15:41 -07:00
Weijun Wang
2d5fbe3e4d 8047789: auth.login.LoginContext needs to be updated to work with modules
Reviewed-by: mullan, mchung, alanb
2015-04-10 09:15:34 +08:00
Alexander Stepanov
be039332c8 8076223: Rest of tidy warning in javax.security / java.security
Minor HTML markup fix for documentation

Reviewed-by: xuelei
2015-04-09 16:31:55 +04:00
Anthony Scarpino
c8b71e6bd3 8064546: CipherInputStream throws BadPaddingException if stream is not fully read
Reviewed-by: xuelei
2015-04-08 17:46:43 -07:00
Chris Hegarty
7e6f12e6e9 8076442: Cannot fully read BitSet.stream() if bit Integer.MAX_VALUE is set
Reviewed-by: alanb, henryjen
2015-04-07 10:33:08 +01:00
Xueming Shen
2de64493a2 8076641: getNextEntry throws ArrayIndexOutOfBoundsException when unzipping file
To add extra sanity check for entry extra data

Reviewed-by: alanb
2015-04-06 13:41:10 -07:00
Valerie Peng
0f2e689f50 8042332: Enhance thread contexts in security libraries
Modified to use ManagedLocalsThread wherever applicable.

Reviewed-by: xuelei, skoivu
2015-04-03 23:01:17 +00:00
Jonathan Gibbons
1c198f4faa 8076583: move jdk.Exported from langtools to jdk
Reviewed-by: darcy, alanb, tbell, mchung, jlahoda
2015-04-03 15:23:02 -07:00
Vladimir Kozlov
34e5820b03 Merge 2015-04-03 11:41:26 -07:00
Brent Christian
6c5d70bfbc 8071667: HashMap.computeIfAbsent() adds entry that HashMap.get() does not find
Throw ConcurrentModificationException from computeIfAbsent() & friends

Reviewed-by: chegar, psandoz
2015-04-02 12:33:03 -07:00
Mikael Vidstedt
7b1455163e 8074840: Resolve disabled warnings for libjli and libjli_static
Reviewed-by: dholmes, ksrini
2015-04-02 11:54:33 -07:00
Nadeesh TV
1795821684 8076441: Dead code in java.time.chrono.Chronology.isLeapYear after fixing JDK-8067800
Reviewed-by: igerasim, rriggs
2015-04-02 14:25:27 -04:00
Andrew Haley
252f04c7fd 8026049: (bf) Intrinsify ByteBuffer.put{Int, Double, Float, ...} methods
Use unaligned Unsafe loads and stores for ByteBuffer access on platforms which support unaligned access. Add intrinsics for Unsafe.{get,put}-X-Unaligned methods.

Reviewed-by: dholmes, jrose, psandoz, kvn
2015-03-31 12:30:52 -07:00