6011 Commits

Author SHA1 Message Date
Erik Gahlin
65580cea43 6696975: JTop plugin fails if connected readonly to target JVM
Reviewed-by: mchung, jbachorik, sla, sjiang
2013-10-01 17:48:01 +02:00
Paul Sandoz
7ee60c366e 8025535: Unsafe typecast in java.util.stream.SortedOps
Reviewed-by: mduigou, chegar
2013-10-01 18:20:03 +02:00
Masayoshi Okutsu
f640e20e65 8022666: java.util.Calendar.set(int,int,int,int,int,int) documentation typo
Reviewed-by: peytoia
2013-10-02 17:57:04 +09:00
Sean Coffey
8d0e77641f 8024952: ClassCastException in PlainSocketImpl.accept() when using custom socketImpl
Reviewed-by: chegar
2013-10-02 09:21:02 +01:00
Masayoshi Okutsu
824b25cc94 6902861: (cal) GregorianCalendar roll WEEK_OF_YEAR is broken for January 1 2010
Reviewed-by: peytoia
2013-10-02 15:31:35 +09:00
Artem Smotrakov
54ebd8d42e 8025123: SNI support in Kerberos cipher suites
Reviewed-by: weijun, xuelei
2013-10-01 20:25:44 -07:00
David Chase
fdf6a159f5 8022701: Accessibility checking: InvocationTargetException is thrown instead of IllegalAccessError
Inserted code to convert specific exceptions, case-by-case, plus a test.

Reviewed-by: jrose, twisti
2013-09-27 13:32:32 -04:00
Kumar Srinivasan
de7eca4a39 8025342: NLS: unsupported translation format in jar/pack/DriverResource.java
Reviewed-by: naoto, mfang
2013-10-01 15:40:34 -07:00
Eric McCorkle
e92da66e0b 8021398: j.l.r.Parameter.getAnnotatedType().getType() for not annotated use of type returns null
Fixed issue with type annotation reflection framework that would cause getType of AnnotatedTypes to be null if no annotations were present.

Reviewed-by: darcy, jfranck
2013-10-01 17:35:32 -04:00
Vladimir Ivanov
8e924e70a6 8024616: JSR292: lazily initialize core NamedFunctions used for bootstrapping
Reviewed-by: jrose
2013-09-18 20:12:05 +04:00
Vladimir Ivanov
b91ee23895 8001107: @Stable annotation for constant folding of lazily evaluated variables
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: twisti, kvn, rbackman
2013-09-23 19:51:40 +04:00
Mike Duigou
bf70514208 8025067: Unconditionally throw NPE if null op provided to Arrays.parallelPrefix
Reviewed-by: henryjen, chegar, psandoz
2013-10-01 10:23:00 -07:00
Stephen Colebourne
8fd60ce581 7057785: Add note about optional support of recursive methods for self-referential Collection/Map
Reviewed-by: scolebourne, darcy, mduigou
2013-09-30 15:50:06 -07:00
Paul Sandoz
223c6bf379 8024408: Specifications for Collection/List/Set/SortedSet.spliterator() need to document if all the (subclass) instances are required to return SIZED spliterators
Reviewed-by: alanb
2013-10-01 12:19:20 +02:00
Naoto Sato
3debf156b1 8016110: Japanese char (MS932) 0x5C cannot be used as an argument when quoted
Reviewed-by: ksrini, akhil
2013-09-30 16:15:49 -07:00
Anthony Scarpino
e9806ae426 8009438: sun/security/pkcs11/Secmod tests failing on Ubuntu 12.04
Reviewed-by: vinnie
2013-09-02 09:52:08 -07:00
Anthony Scarpino
bae7582243 7122707: Security Providers need to have their version numbers updated for JDK8
Reviewed-by: xuelei
2013-09-19 11:59:14 -07:00
Peter Allwin
2f5f83e38c 8012923: [parfait] File Descriptor Leak in jdk/src/windows/demo/jvmti/hprof/hprof_md.c
Reviewed-by: chegar, sla, sspitsyn, mgronlun
2013-09-30 14:28:53 +02:00
Joel Borggrén-Franck
738a5097a7 8009719: core reflection should get type annotation data from the VM lazily
Remove typeAnnotations field from Method, Constructor, and Field, update  Executable and Field to fetch data on demand.

Reviewed-by: darcy, erikj
2013-09-30 12:19:48 +02:00
Joel Borggrén-Franck
279576cf17 8007072: Update Core Reflection for Type Annotations to match latest spec
8022324: j.l.Class.getAnnotatedInterfaces() for array type returns wrong value
8024915: j.l.r.Executable.getAnnotatedReceiverType() should return null for static methods

Update javadoc and implementation of reflection for type annotations to match latest spec

Reviewed-by: darcy
2013-09-30 11:18:18 +02:00
Mike Duigou
230478592d 8025610: Add explicit @throws NPE documentation to Optional constructor and Optional.of
Reviewed-by: briangoetz, chegar, alanb
2013-09-27 17:27:15 -07:00
Dan Xu
512fbc2a59 8025128: File.createTempFile fails if prefix is absolute path
Use only the file name from the supplied prefix for backward compatibility

Reviewed-by: alanb, chegar
2013-09-27 17:09:25 -07:00
Mike Duigou
114ccbddf8 8023340: Clarify that unmodifiable List.replaceAll() may not throw UOE if there are no items to be replaced
Reviewed-by: psandoz, jjg
2013-09-27 13:30:35 -07:00
Paul Sandoz
ea739968d2 8023339: Refined Collection.removeIf UOE conditions
Reviewed-by: mduigou
2013-09-27 13:30:31 -07:00
Weijun Wang
b16be80c6b 8024861: Incomplete token triggers GSS-API NullPointerException
Reviewed-by: mullan
2013-09-27 15:25:18 +08:00
Christian Thalinger
4d086fe704 8019192: StringIndexOutOfBoundsException: in Class.getSimpleName()
Reviewed-by: jrose
2013-09-26 18:20:25 -07:00
Brent Christian
587ef317c6 8025173: HashMap.put() replacing an existing key can trigger a resize()
Ensure that HashMap is not resized if we're just replacing a value

Reviewed-by: alanb, martin
2013-09-26 11:13:34 -07:00
Michael Fang
6c7b18ed04 Merge 2013-09-24 14:34:55 -07:00
Michael Fang
c5bb090fff 8025215: jdk8 l10n resource file translation update 4
Reviewed-by: naoto, yhuang
2013-09-24 14:17:42 -07:00
Lance Andersen
508e958dfe 7097386: Correct error in Predicate javadoc example
Reviewed-by: alanb, shade
2013-09-17 07:56:56 -04:00
Henry Jen
43e0cb6327 8024874: Copy-paste typo in the spec for j.u.Comparator.thenComparing(Function, Comparator)
Reviewed-by: mduigou
2013-09-16 10:28:20 -07:00
Mark Sheppard
4d540aa581 6458027: Disabling IPv6 on a specific network interface causes problems
Added a check to test if an interface is configured for IPv6 to native code TwoStacklainDatagramSocketImpl: getMulticastInterface, setMulticastInterface

Reviewed-by: chegar, michaelm
2013-09-16 14:51:48 +01:00
Xueming Shen
763eb8d2e3 8020687: Deflater.setLevel does not work as expected
To clarify the api to match the existing implementation behavior

Reviewed-by: alanb
2013-09-15 13:58:47 -07:00
Xueming Shen
344c38fc80 7186311: (props) "Unicode" is misspelled as "Uniocde" in JavaDoc and error message
To correct the typo

Reviewed-by: alanb, chegar
2013-09-15 11:16:58 -07:00
Paul Sandoz
bef51c4a08 8010293: java/util/concurrent/ConcurrentHashMap/toArray.java fails intermittently
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: forax, chegar, alanb
2013-09-02 11:59:57 +02:00
Roger Riggs
e763c78a79 8023556: Update javadoc for start of Meiji era
Correct the javadoc in JapaneseEra.MEIJI to match the implementation

Reviewed-by: darcy, sherman
2013-09-14 13:55:06 -04:00
Henry Jen
9bed48236a 8024825: Some fixes are missing from java.util.stream spec update
Reviewed-by: mduigou
2013-09-06 15:36:00 -07:00
Lance Andersen
320e8d21e8 8014967: EBehavior of DriverManager.registerDriver(dr) is unspecified if driver is null
Reviewed-by: alanb
2013-09-13 19:10:31 -04:00
Brent Christian
ac02958e79 7199674: (props) user.home property does not return an accessible location in sandboxed environment [macosx]
On MacOS X set user.home to value of NSHomeDirectory()

Reviewed-by: alanb, ddehaven, mduigou
2013-09-13 11:26:44 -07:00
Mike Duigou
b59dc6762e 8021591: Additional explicit null checks
Reviewed-by: psandoz, alanb
2013-09-13 11:18:44 -07:00
Brent Christian
276b809ff4 8024009: Remove jdk.map.useRandomSeed system property
Removed usage of hashSeed in Hashtable & WeakHashMap, and removed tests

Reviewed-by: alanb, mduigou
2013-09-12 14:22:53 -07:00
Shanliang Jiang
f6e4c46294 8023669: MBean*Info.hashCode : NPE
Reviewed-by: dholmes, dfuchs, jbachorik
2013-09-13 10:48:12 +02:00
Dmitry Nadezhin
28d455529e 8010430: Math.round has surprising behavior for odd values of ulp 1
If the effective floating point exponent is zero return the significand including the implicit 1-bit.

Reviewed-by: bpb, darcy, gls
2013-09-11 17:07:35 -07:00
Brian Goetz
bef65e773f 8011916: Spec update for java.util.stream
8024339: j.u.s.Stream.reduce(BinaryOperator) throws unexpected NPE

Reviewed-by: mduigou
2013-09-06 22:20:01 -07:00
Lance Andersen
383970e790 8015340: remove erroneous @since tag
Reviewed-by: darcy
2013-09-12 13:20:26 -04:00
Daniel Fuchs
f0317e41c1 8024525: Make Logger log methods call isLoggable()
This changeset makes the various Logger logging method call isLoggable() instead of inlining the level checks.

Reviewed-by: mchung, alanb
2013-09-12 17:01:39 +02:00
Shanliang Jiang
c6aa9956df 8023529: OpenMBeanInfoSupport.equals/hashCode throw NPE
Reviewed-by: dholmes, dfuchs
2013-09-12 09:41:28 +02:00
Xueming Shen
c9b3da34f2 8024338: Constant fields introduced by JDK-4759491 fix in b94 are exposed as public fields in public API
To move the new constants out of ZipConstants.java

Reviewed-by: martin
2013-09-11 11:29:57 -07:00
Roger Riggs
e49385792c Merge 2013-09-11 10:35:31 -04:00
Roger Riggs
3dc259dd94 8024164: JSR310 serialization should be described in details
The serialized-form.html should specify the stream format for interoperability

Reviewed-by: alanb
2013-09-11 10:16:21 -04:00