462 Commits

Author SHA1 Message Date
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
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
Jamil Nimeh
a55dd41fc7 8074064: OCSPResponse.SingleResponse objects do not parse singleExtensions
Reviewed-by: mullan, vinnie
2015-03-13 09:32:54 -07:00
Martin Buchholz
47ed235f36 8074578: Document memory visibility effects of Unsafe compareAndSwap methods
Reviewed-by: psandoz, jrose, dholmes
2015-03-04 17:35:40 -08:00
Martin Buchholz
8ab93c84ec 8073158: zip files with total entry count 0xFFFF need not be ZIP64 files
Minor rewrite of crufty zip implementation in parse_manifest.c

Reviewed-by: sherman
2015-03-25 15:36:43 -07:00
Pavel Rappo
39b55b3d5a 8075959: Change parameter names in some IOException subclasses
Reviewed-by: rriggs
2015-03-25 15:42:41 +00:00
Paul Sandoz
b220e6cb1d 8075307: Pipeline calculating inconsistent flag state for parallel stateful ops
Reviewed-by: smarks
2015-03-25 10:50:08 +00:00
Jason Uh
6a2c954d63 8074531: Remove javax.security.cert.X509Certificate usage in internal networking packages
Reviewed-by: mullan
2015-03-24 11:31:04 -07: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
Ivan Gerasimov
b035ca7348 8073692: (cs) Inconsistent docs for CharsetDecoder.replaceWith and CharsetEncoder.replaceWith
Reviewed-by: martin
2015-03-06 13:30:49 +03: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
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
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
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
Mark Sheppard
dcdbd32603 8046893: JNI exception pending in jdk/src/solaris/native/java/net: ExtendedOptionsImpl.c, PlainDatagramSocketImpl.c
Reviewed-by: alanb, chegar
2015-02-25 17:05:56 +00:00
Kumar Srinivasan
8749a5a08c 8066185: VM crashed with SIGSEGV VirtualMemoryTracker::add_reserved_region
Reviewed-by: coleenp, dholmes
2015-02-25 06:21:55 -08:00