462 Commits

Author SHA1 Message Date
Xueming Shen
9e2b6dfd08 8080248: Coding regression in HKSCS charsets
To update the sp correctly when encoding supplementary characters

Reviewed-by: martin
2015-05-21 15:42:30 -07:00
Brian Burkhalter
457be276d8 8080589: (fs) FileChannel.force should use fcntl(F_FULLFSYNC) instead of fsync on OS X
Replace f[data]sync(fd) with fcntl(fd, F_FULLSYNC) on OS X.

Reviewed-by: alanb
2015-05-21 09:57:59 -07:00
Sean Mullan
d29a80d711 8055753: Use ConcurrentHashMap to map ProtectionDomain to PermissionCollection
Reviewed-by: weijun
2015-05-21 07:17:36 -04:00
Rob McKenna
efc37c5e71 8077155: LoginContext Subject ignored by jdk8 sun.net.www.protocol.http.HttpURLConnection
Reviewed-by: michaelm
2015-05-20 18:06:31 +01:00
Rob McKenna
9cecb7f70a 8077822: javac does not recognize '*.java' as file if '-J' option is specified
Reviewed-by: ksrini
2015-05-20 18:03:56 +01:00
Doug Lea
8654e36410 8080623: CPU overhead in FJ due to spinning in awaitWork
Reviewed-by: chegar, dholmes
2015-05-20 14:50:57 +02:00
Joe Darcy
5899576955 8075284: fix up miscellaneous TM constructions
Reviewed-by: lancea
2015-05-19 13:30:03 -07:00
Brian Burkhalter
a6ad9cd49a 8080629: (fs) Re-enable ability to fsync() on directories even though read()s on those directories may fail
Revert fix applied to resolve JDK-8066915.

Reviewed-by: alanb
2015-05-19 07:12:10 -07:00
Alexander Stepanov
30cda926e9 8080422: some docs cleanup for core libs
Some docs cleanup

Reviewed-by: rriggs, lancea
2015-05-19 16:04:14 +04:00
Ivan Gerasimov
43b2601a96 8080535: (ch) Expected size of Character.UnicodeBlock.map is not optimal
Reviewed-by: martin, chegar
2015-05-18 19:15:50 +03:00
Ivan Gerasimov
7e89934d9e 8080522: Optimize string operations in java.base/share/classes/sun/security/x509/
Reviewed-by: mullan
2015-05-18 17:38:38 +03:00
Joe Darcy
9fe30fb118 8078136: Incorrect figure number in reference to Hacker's Delight book in Long.bitCount() method
Reviewed-by: lancea
2015-05-17 11:04:01 -07:00
Peter Levart
f79ca89ac7 8074002: java.time.ZoneId.systemDefault() should be faster
Cache ZoneId inside TimeZone object

Reviewed-by: scolebourne, rriggs, dfuchs
2015-05-17 18:49:21 +02:00
Ivan Gerasimov
cbe55b316e 8071571: Move substring of same string to slow path
Reviewed-by: martin
2015-05-15 22:10:29 +03:00
Claes Redestad
608c2ef496 8061254: SPECjvm2008-XML performance regressions in 9-b33
Reviewed-by: alanb, shade
2015-05-15 16:09:55 +02:00
Valerie Peng
d296137c20 8038084: CertStore needs a way to add new CertStore types
Removed internal helper classes and reflection usage for LDAP CertStore.

Reviewed-by: mullan
2015-05-15 01:14:25 +00:00
Naoto Sato
8f571ff813 8080342: Incorrect GPL header causes RE script to miss swap to commercial header for licensee source bundle
Reviewed-by: lancea
2015-05-14 09:50:30 -07:00
Phil Race
95cc940989 Merge 2015-05-13 08:37:34 -07:00
Jeremy Manson
292354a1fe 8079841: Buffer underflow with empty zip entry names
Check for zero-length entry name before accessing "last" byte

Reviewed-by: sherman, martin
2015-05-12 14:39:36 -07:00
Sean Mullan
5dbc7756f6 8075706: Policy implementation does not allow policy.provider to be on the class path
Reviewed-by: alanb, mchung
2015-05-12 13:13:06 -04:00
Pavel Rappo
431c16c78d 8029689: (spec) Reader.read(char[], int, int) throws unspecified IndexOutOfBoundsException
Reviewed-by: chegar, lancea
2015-05-12 13:59:31 +01:00
Paul Sandoz
0e7987c721 8078645: removeIf(filter) in ConcurrentHashMap removes entries for which filter is false
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: martin, dholmes
2015-05-12 10:50:40 +02:00
Joe Darcy
7ceb605aa6 8053918: make the spec for @Documented comprehensible
Reviewed-by: jjg, abuckley
2015-05-11 17:54:03 -07:00
Sean Mullan
96b94e09d7 8034820: Wrong isAssignableFrom test when adding Principal to Subject
Reviewed-by: valeriep
2015-05-11 07:03:24 -04:00
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
Severin Gehwolf
d604ad29ba 6991580: IPv6 Nameservers in resolv.conf throws NumberFormatException
Reviewed-by: michaelm, andrew
2015-04-21 14:36:57 +01: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