8343 Commits

Author SHA1 Message Date
Brian Burkhalter
7d1b3d7277 8075222: RandomAccessFile.getChannel changed to non-final in error
Reinstate 'final' RandomAccessFile.getChannel() declaration.

Reviewed-by: alanb
2015-03-16 13:49:00 -07:00
Paul Sandoz
7618752fd9 8075230: Optimized count operations incorrectly declare the stream shape
Reviewed-by: chegar
2015-03-16 17:44:34 +01:00
Alexander Stepanov
765a1e4435 8028266: Tidy warnings cleanup for packages java.security/javax.security
Some tidy warnings in docs were fixed

Reviewed-by: mullan, wetmore
2015-03-16 19:09:13 +04:00
Weijun Wang
d5d207d635 8074836: Resolve disabled warnings for libosxkrb5
8074835: Resolve disabled warnings for libj2gss

Reviewed-by: erikj
2015-03-16 18:08:01 +08:00
Aggelos Biboudis
cb566c6ce5 8067969: Optimize Stream.count for SIZED Streams
Reviewed-by: psandoz, chegar
2015-03-16 10:19:49 +01:00
Jamil Nimeh
2349ff99bc 6996366: convert MacAlg to an enum
Reviewed-by: xuelei
2015-03-14 09:38:52 -07:00
Brian Burkhalter
17f8ee8cf0 8073214: javadoc of Properties methods should specify NullPointerExceptions
Add test for null parameter and corresponding throws clause to load() methods

Reviewed-by: darcy
2015-03-13 14:54:40 -07:00
Joe Darcy
1382affe60 8075160: Add javadoc to serialver class
Reviewed-by: lancea
2015-03-13 11:34:37 -07:00
Jamil Nimeh
a55dd41fc7 8074064: OCSPResponse.SingleResponse objects do not parse singleExtensions
Reviewed-by: mullan, vinnie
2015-03-13 09:32:54 -07:00
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