8334 Commits

Author SHA1 Message Date
Brian Burkhalter
68ef8f6035 8068373: (prefs) FileSystemPreferences writes \0 to XML storage, causing loss of all preferences
Disallow entries whose key or value contains the null control character '\u0000' from being stored in the preferences node.

Reviewed-by: psandoz, rriggs
2015-02-12 12:56:48 -08:00
Joe Darcy
55f8f159ca 8075034: Bad javadoc tags in javax.xml.crypto.dsig
Reviewed-by: mullan
2015-03-12 09:39:48 -07:00
Staffan Larsen
e8b15600ac 8074841: Resolve disabled warnings for the JVMTI demo compiledMethodLoad
8074842: Resolve disabled warnings for the JVMTI demo waiters

Reviewed-by: alanb, ihse, dsamersoff
2015-03-11 08:09:35 +01:00
Masayoshi Okutsu
6a297b5c2b 8074791: Long-form date format incorrect month string for Finnish locale
Reviewed-by: naoto
2015-03-11 14:33:14 +09:00
Xue-Lei Andrew Fan
665dc6f627 8072385: Only the first DNSName entry is checked for endpoint identification
Reviewed-by: weijun, jnimeh
2015-03-11 04:52:39 +00:00
Martin Buchholz
0d022c42c9 8074579: Use more efficient and readable way of checking PKZIP signatures
Reviewed-by: sherman
2015-03-10 14:23:03 -07:00
Martin Buchholz
f825d1ff35 8074577: Modernize Unsafe internal javadoc
Use modern javadoc style

Reviewed-by: jrose
2015-03-04 17:35:40 -08:00
Roger Riggs
367a429ff4 8058464: (process spec) ProcessBuilder.redirectXXX throws unspecified NPE
Add a class level spec for null arguments throwing NPE in ProcessBuilder

Reviewed-by: martin, alanb
2015-03-10 16:44:45 -04:00
Amy Lu
71d53d5bb7 8074674: Doclint regression in java/util/regex/Matcher.java
Reviewed-by: psandoz
2015-03-10 13:30:21 +01:00
Joe Darcy
f54b0ebdc2 8074788: Javadoc typo in PKCS8EncodedKeySpec
Reviewed-by: xuelei
2015-03-09 18:16:52 -07:00
Jason Uh
47e85e2963 8073430: Deprecate security APIs that have been superseded
Reviewed-by: mullan, weijun
2015-03-09 17:21:07 -07:00
Mark Sheppard
6e61892373 8065078: NetworkInterface.getNetworkInterfaces() triggers intermittent test failures
Reviewed-by: chegar
2015-03-09 18:48:40 +00:00
Kumar Srinivasan
64c0d97630 8074373: NMT is not enabled if NMT option is specified after class path specifiers
Reviewed-by: dholmes
2015-03-07 15:21:36 -08:00
Xueming Shen
011b337a51 8074406: DateTimeFormatter.appendZoneOrOffsetId() fails to resolve a ZoneOffset for OffsetDateTime
To support resolve OffsetDateTime from DTF.appendZoneOrOffset()

Reviewed-by: rriggs
2015-03-07 10:11:03 -08:00
Mandy Chung
a1ffcbec36 8074430: Move policytool to jdk.policytool module
Reviewed-by: alanb, weijun, erikj, ihse
2015-03-06 09:11:42 -08:00
Mandy Chung
014ea775ad 8074429: Move jar, jarsigner tool to jdk.jartool module
Reviewed-by: alanb, weijun, erikj, ihse
2015-03-06 09:07:32 -08:00
Mandy Chung
2ae75ccaa1 8074428: Move pack200, unpack200, libpack200 to jdk.pack200
Reviewed-by: alanb, weijun, erikj, ihse
2015-03-06 09:02:26 -08:00
Ivan Gerasimov
b035ca7348 8073692: (cs) Inconsistent docs for CharsetDecoder.replaceWith and CharsetEncoder.replaceWith
Reviewed-by: martin
2015-03-06 13:30:49 +03:00
Shanliang Jiang
b7c2d1b8fe 8073148: "The server has decided to close this client connection" repeated continuously
Reviewed-by: jbachorik
2015-03-05 14:54:07 +01:00
Dmitry Samersoff
b4061375cc 8030708: warnings from b119 for jdk/src/share/back: JNI exception pending
Added some more checks for pending exception

Reviewed-by: dholmes, sspitsyn
2015-03-05 05:06:00 -08:00
Brian Burkhalter
bd61d670c3 8073445: (fs) FileSystem.getPathMatcher(...) should check syntax component without regard to case
Change String equals() to equalsIgnoreCase() where needed.

Reviewed-by: alanb
2015-03-04 15:05:41 -08:00
Stuart Marks
d01c5811df 8073923: Files.lines() documentation needs clarification
Reviewed-by: darcy, alanb
2015-03-04 13:22:45 -08:00
Ivan Gerasimov
2264f58af9 8074067: (bf) Re-examine java.base/share/native/libjava/Bits.c
Reviewed-by: alanb, martin
2015-03-04 13:44:18 +03:00
Zaiyao Liu
7b95618234 8050371: More MessageDigest tests
Reviewed-by: xuelei
2015-03-04 08:10:23 +00:00
Jason Uh
33505a8b52 8054037: Improve tracing for java.security.debug=certpath
8055207: keystore and truststore debug output could be much better

Reviewed-by: mullan, coffeys, jnimeh
2015-03-03 14:16:49 -08:00
Phil Race
9f78b4347e Merge 2015-03-03 08:49:13 -08:00
Alejandro Murillo
1b7e7fdf70 Merge 2015-03-03 06:23:50 -08:00
Paul Sandoz
0405de7fca 8071479: Stream and lambdafication improvements to j.u.regex.Matcher
Reviewed-by: smarks, briangoetz, sherman
2015-03-03 12:30:48 +01:00
Ivan Gerasimov
68b3fe02ad 8074066: Useless code in share/native/libjava/VM.c
Reviewed-by: mchung
2015-03-03 10:30:44 +03:00
Vladimir Kozlov
adfbe70e01 Merge 2015-03-02 17:36:56 -08:00
Joe Darcy
de2f72a351 8074126: Correct @see cross-refs to the JLS in java.lang[.annotation]
Reviewed-by: lancea
2015-03-02 16:06:58 -08:00
Vladimir Kozlov
2c553427a9 Merge 2015-03-02 10:09:03 -08:00
Daniel Fuchs
9b5f69fa24 8074032: Instant.ofEpochMilli(millis).toEpochMilli() can throw arithmetic overflow in toEpochMilli()
Instant.toEpochMilli() now takes into account the sign of the 'seconds' field.

Reviewed-by: rriggs, scolebourne
2015-03-02 14:46:10 +01:00
Ivan Gerasimov
fee38a671f 8055915: (ch) FileDispatcherImpl.truncate0 should use SetFileInformationByHandle [win]
Reviewed-by: alanb
2015-03-02 11:07:47 +03:00
Masayoshi Okutsu
e088a6e1ef 8072602: Unpredictable timezone on Windows when OS's timezone is not found in tzmappings
Reviewed-by: peytoia
2015-03-02 11:48:08 +09:00
Claes Redestad
c8e99e3610 8073497: Lazy conversion of ZipEntry time
Reviewed-by: sherman, plevart
2015-02-28 13:17:13 +01:00
Weijun Wang
2bcc0c7789 8074018: Named extension not recognized in keytool -ext honored after 8073182
Reviewed-by: mullan
2015-02-28 10:47:07 +08:00
Brian Burkhalter
03088bb6e6 8071599: (so) Socket adapter sendUrgentData throws IllegalBlockingMode when channel configured non-blocking
Remove restriction to blocking case

Reviewed-by: alanb, chegar
2015-02-27 14:36:03 -08:00
Chris Hegarty
43f188234a 8074043: java.util.Arrays setAll and parallelSetAll subrange note
Reviewed-by: smarks
2015-02-27 18:12:07 +00:00
Alejandro Murillo
bcb3fde88f Merge 2015-02-27 07:34:27 -08:00
Vladimir Ivanov
284a867adc 8073644: Assertion in LambdaFormEditor.bindArgumentType is too strict
Reviewed-by: psandoz
2015-02-27 18:03:21 +03:00
Chris Hegarty
dc378de91b 8074022: Serialization should issue a freeze action after reconstituting a graph that contains objects with final fields
Reviewed-by: dholmes, plevart, psandoz
2015-02-27 11:45:07 +00:00
Paul Sandoz
95b2455d16 8071600: Add a flat-mapping collector
Reviewed-by: smarks, chegar, briangoetz
2015-02-27 09:58:25 +01:00
Joe Darcy
8efc09a66a 8073952: Spec of j.l.r.Method.toString/toGenericString need to be clarified
Reviewed-by: lancea
2015-02-26 18:02:49 -08:00
Vladimir Kozlov
7e75bdc891 Merge 2015-02-26 10:56:26 -08:00
Vinnie Ryan
a929976abd 8073955: Update java.security.debug help text to reflect recent enhancements for debugging
Reviewed-by: mullan
2015-02-26 16:29:49 +00:00
Xueming Shen
ece4e20848 8073893: Enable charsets build system to configure euc_tw into java.base module/sun.nio.cs
To enable charsets build system to configure euc_tw into java.base module/sun.nio.cs

Reviewed-by: alanb, mchung
2015-02-25 13:04:31 -08:00
Mark Sheppard
c90f8b8839 8046901: Check jdk/src/solaris/native/sun/nio for Parfait flagged uninitialized memory
Reviewed-by: rriggs, alanb
2015-02-25 19:36:29 +00:00
Daniel Fuchs
fc084beb84 8072645: java.util.logging should use java.time to get more precise time stamps
J.u.logging uses j.t.Instant to store LogRecord time stamps. XMLFormatter format is updated to allow for a new optional <nanos> element containing a nano second adjustment. SimpleFormatter passes a ZonedDateTime object to String.format. LogRecord getMillis/setMillis are deprecated, replaced by getInstant/setInstant.

Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: scolebourne, plevart, rriggs
2015-02-25 18:41:07 +01:00
Mark Sheppard
0f708456b2 8055204: Memory leak in jdk/src/windows/native/java/lang/java_props_md.c
Reviewed-by: rriggs
2015-02-25 17:24:13 +00:00