8630 Commits

Author SHA1 Message Date
Ivan Gerasimov
97f5b473ec 8081027: Create a common test to check adequacy of initial size of static HashMap/ArrayList fields
Reviewed-by: martin
2015-05-29 19:20:22 +03:00
Xueming Shen
5fe4d18385 8081452: Move sun.nio.cs.AbstractCharsetProvider into jdk.charset/sun.nio.cs.ext
To AbstractCharsetProvider class from base.java module to jdk.charsets module

Reviewed-by: alanb
2015-05-29 09:08:36 -07:00
Staffan Larsen
6329a86bca 8080991: Compilation error with recent clang in java.base/share/native/launcher/main.c: error: comparison of array 'const_jargs' not equal to a null pointer is always true
Reviewed-by: ksrini, ddehaven
2015-05-28 14:54:58 -07:00
Roger Riggs
6c70d53d16 8075678: java.time javadoc error in DateTimeFormatter::parsedLeapSecond
8075676: java.time package javadoc typos
8068276: java.time.chrono.HijrahChronology.eraOf() assertions may lead to misunderstanding

Reviewed-by: lancea, scolebourne
2015-05-28 17:37:33 -04:00
Joe Darcy
5aee5a8ee7 8081359: Update bug reporting URL
Reviewed-by: lancea
2015-05-28 11:31:40 -07:00
Xueming Shen
91868186b0 8038310: Re-examine integration of extended Charsets
To use ServiceLoader to load the extended charsets

Reviewed-by: alanb, mchung
2015-05-28 10:00:51 -07:00
Weijun Wang
18dd0d6305 8081278: Typo in Exception Message
Reviewed-by: mullan
2015-05-28 09:11:14 +08:00
Xueming Shen
ba7c5970f9 8028480: (zipfs) NoSuchFileException on creating a file in ZipFileSystem with CREATE and WRITE
8034773: (zipfs) newOutputstream uses CREATE_NEW when no options specified

To open the new steram with appropricate open options

Reviewed-by: alanb
2015-05-27 12:23:35 -07:00
Alejandro Murillo
fa672c31d0 Merge 2015-05-26 09:22:39 -07:00
Alexander Stepanov
60ea3cb98f 8040147: minor cleanup for docs
Minor cleanup for docs

Reviewed-by: lancea
2015-05-26 18:31:21 +04:00
Weijun Wang
4f8755f9b8 8080911: sun/security/krb5/auto/UseCacheAndStoreKey.java timed out intermittently
Reviewed-by: xuelei
2015-05-26 22:10:37 +08:00
Athijegannathan Sundararajan
b04e91828a 8068978: All versions of javax.script.ScriptEngine.eval(...) method may clarify ScriptException throwing
Reviewed-by: attila, jlaskey
2015-05-25 19:09:44 +05:30
Sean Mullan
af164e7926 8065233: Remove Policy provider code that synchronizes on identityPolicyEntries List
Reviewed-by: weijun
2015-05-24 08:54:38 -04:00
Mandy Chung
efeb942f9f 8074431: Remove native2ascii tool
Reviewed-by: erikj, alanb, okutsu, mfang, naoto
2015-05-22 16:43:39 -07:00
Joe Darcy
0de6f9f413 8080901: Replace package.html files with package-info.java in the java.base module
Reviewed-by: lancea, alanb, vinnie
2015-05-22 10:45:59 -07:00
Xueming Shen
4612edcf52 8080803: sun/nio/cs/FindEncoderBugs.java failing intermittently
To eliminate an extra byte buffer and copy in iso2022 encoding

Reviewed-by: alanb, darcy
2015-05-22 10:33:27 -07:00
Xueming Shen
d1d75812b0 8064736: Part of java.util.jar.JarFile spec looks confusing with references to Zip
Update the api doc for entries()/stream() accordingly

Reviewed-by: alanb
2015-05-22 08:56:33 -07:00
Roger Riggs
3788afad1f 8074818: Resolve disabled warnings for libjava
8080007: Stop ignoring warnings for libjava

Reviewed-by: alanb, erikj
2015-05-22 10:12:18 -04:00
Alejandro Murillo
d312bbb6ed Merge 2015-05-21 17:11:55 -07:00
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
Jason Uh
8ddcf2aab0 8079693: Add support for ECDSA P-384 and P-521 curves to XML Signature
Reviewed-by: mullan
2015-05-21 14:18:33 -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
Athijegannathan Sundararajan
216d24980d 8072002: The spec on javax.script.Compilable contains a typo and confusing inconsistency
Reviewed-by: lagergren, attila
2015-05-20 08:58:14 +05:30
Joe Darcy
5899576955 8075284: fix up miscellaneous TM constructions
Reviewed-by: lancea
2015-05-19 13:30:03 -07:00
Alejandro Murillo
8a9c3a81ff Merge 2015-05-19 11:40:00 -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
Weijun Wang
ae7da8e119 8077102: dns_lookup_realm should be false by default
Reviewed-by: valeriep
2015-05-19 09:09:09 +08:00
Jeremy Manson
13c92b58f0 8080538: hprof does not work well with multiple agents on non-Solaris platforms
Never take the address of Agent_OnLoad.

Reviewed-by: sla, martin
2015-05-18 13:34:56 -07:00
Artem Smotrakov
eb68509b7d 8079140: IgnoreAllErrorHandler should use doPrivileged when it reads system properties
Reviewed-by: mullan
2015-05-18 19:26:48 +03: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
Athijegannathan Sundararajan
268d0924b9 8072853: SimpleScriptContext used by NashornScriptEngine doesn't completely complies to the spec regarding exception throwing
Reviewed-by: psandoz, lagergren
2015-05-18 18:57:35 +05:30
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
Peter Levart
30bcd97f81 8077846: improve locking strategy for readConfiguration(), reset(), and initializeGlobalHandlers()
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Reviewed-by: dholmes, alanb, mchung
2015-05-17 10:38:36 +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
Ivan Gerasimov
ff06dffa94 8074657: Missing space on a boundary of concatenated strings
Added missing spaces, fixed indentation, replaced StringBuffer with StringBuilder

Reviewed-by: martin, rriggs
2015-05-15 22:09:49 +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
Alejandro Murillo
937fb712ee Merge 2015-05-14 12:05:33 -07: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