19482 Commits

Author SHA1 Message Date
Joel Borggrén-Franck
8007590d3b 5047859: (reflect) Class.getField can't find String[].length
Reviewed-by: darcy, mchung
2013-09-06 14:20:12 +02:00
Jaroslav Bachorik
61000f0c4b 6815130: Intermittent ThreadMXBean/Locks.java test failure
Preventing stale reads from ThreadExecutionSynchronizer.waiting flag

Reviewed-by: dholmes, mchung, dfuchs
2013-09-06 10:03:16 +02:00
John Rose
37709e3191 8024260: 10 closed/java/lang/invoke/* tests failing after overhaul to MethodHandleInfo
Reviewed-by: vlivanov, briangoetz
2013-09-06 00:43:00 -07:00
Vlaidmir Ivanov
a277d40ead 8024283: 10 nashorn tests fail with similar stack trace InternalError with cause being NoClassDefFoundError
Fix pre-existing 292 bug tickled by combo of nashorn code and MethodHandleInfo changes

Reviewed-by: jrose
2013-09-05 14:58:49 -07:00
Naoto Sato
b1127783de 8023943: Method description fix for String.toLower/UpperCase() methods
Reviewed-by: okutsu
2013-09-05 10:14:53 -07:00
Jaroslav Bachorik
ea3200b784 8004179: Few of test/java/lang/management/ThreadMXBean/* tests don't clean up the created threads
Just run those tests in "othervm" mode.

Reviewed-by: alanb, dfuchs, sjiang
2013-09-05 14:34:22 +02:00
Jaroslav Bachorik
02d81bbc68 8023464: test/closed/sun/tracing/ProviderProxyTest.java failing
Don't rely on assertions when an Exception suits better

Reviewed-by: alanb, dfuchs, sjiang
2013-09-05 13:04:17 +02:00
Robert Field
b5cd24ccc9 8020816: Metafactory crashes on code with method reference
8021050: MethodHandleInfo throws exception when method handle is to a method with @CallerSensitive

Fixed by 8008688 - this is a test to confirm the above fixed

Reviewed-by: vlivanov
2013-09-04 19:47:26 -07:00
Xueming Shen
db444fae3e 7186632: NLS t13y issue on jar.properties file
To remove the redundant backslash

Reviewed-by: naoto
2013-09-04 12:37:41 -07:00
Xueming Shen
e447689d41 6341345: (spec) Console.reader() should make it clear that the reader requires line termination
To clarify the spec

Reviewed-by: alanb
2013-09-04 12:35:22 -07:00
Daniel Fuchs
a0c3d88fba 8019853: Break logging and AWT circular dependency
Break logging and AWT circular dependency, which was at the root cause for 8023258 - Logger.getLogger() after ImageIO.read() returns different logger instance

Reviewed-by: mchung, art
2013-09-04 16:22:22 +02:00
Daniel Fuchs
ac101a9d99 6823527: java.util.logging.Handler has thread safety issues
Reviewed-by: dholmes, mchung
2013-09-04 15:32:59 +02:00
Alan Bateman
cc84e69bec 8008981: Deprecate SecurityManager checkTopLevelWindow, checkSystemClipboardAccess, checkAwtEventQueueAccess
Reviewed-by: anthony, art, mchung
2013-09-04 11:40:23 +01:00
Paul Sandoz
0fb014c2b3 8023463: Improvements to HashMap/LinkedHashMap use of bins/buckets and trees (red/black)
8012913: LinkedHashMap key/value/entry spliterators should report ORDERED

Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: mduigou, forax, bchristi, alanb
2013-09-04 09:34:25 +02:00
Paul Sandoz
1f2ba9f228 8024182: test/java/util/Arrays/SetAllTest.java fails to compile due to recent compiler changes
Use explicit lambda due to javac simplfying rules for overload resolution with implicit lambdas

Reviewed-by: alanb, mduigou
2013-08-12 12:22:10 +02:00
John Rose
59440ee0be 8008688: Make MethodHandleInfo public
A major overhaul to MethodHandleInfo and method handles in general.

Reviewed-by: vlivanov, twisti
2013-09-03 21:42:56 -07:00
David Holmes
7fc1c28757 8024140: [TESTBUG] Profile based regression test groups for jdk repo
Reviewed-by: alanb, chegar
2013-09-03 23:47:27 -04:00
Henry Jen
25af2121aa 8023997: j.l.String.join(java.lang.CharSequence, java.lang.Iterable) sample doesn't compile and is incorrect
Reviewed-by: alanb
2013-09-03 16:05:45 -07:00
Sean Coffey
e1619bcf81 8017195: Introduce option to setKeepAlive parameter on CORBA sockets
Reviewed-by: chegar, msheppar
2013-09-03 22:37:07 +01:00
Brian Goetz
7bc062de1d 8017513: Support for closeable streams
8022237: j.u.s.BaseStream.onClose() has an issue in implementation or requires spec clarification
8022572: Same exception instances thrown from j.u.stream.Stream.onClose() handlers are not listed as suppressed

BaseStream implements AutoCloseable; Remove CloseableStream and DelegatingStream

Reviewed-by: alanb, mduigou, psandoz
2013-09-03 12:16:01 -07:00
Henry Jen
45d26c9571 8024178: Difference in Stream.collect(Collector) methods located in jdk8 and jdk8-lambda repos
Reviewed-by: mduigou
2013-09-03 11:44:34 -07:00
Brian Goetz
f7b61b93f1 8022176: Weaken contract of java.lang.AutoCloseable
Reviewed-by: alanb, martin, mduigou, psandoz
2013-08-28 14:13:03 -07:00
Mike Duigou
9b5513a8e8 8024015: TEST.groups: move jdk/lambda tests from jdk_other to jdk_lang
Reviewed-by: alanb, mchung
2013-09-03 11:29:12 -07:00
Erik Gahlin
f4dda09731 7172176: java/jconsole test/sun/tools/jconsole/ImmutableResourceTest.sh failing
Reviewed-by: mchung, mfang
2013-09-02 16:03:34 +02:00
Daniel Fuchs
b81e7785d1 8016127: NLS: logging.properties translatability recommendation
8024131: Issues with cached localizedLevelName in java.util.logging.Level

This fix updates logging.properties resource bundles to follow internationalization guidelines. It also fixes a caching issue with localizedLevelName. The regression test that was added needs both fixes to pass.

Reviewed-by: mchung, alanb
2013-09-02 18:28:50 +02:00
Chris Hegarty
ff0317b098 8024103: AtomicLongArray getAndAccumulate/accumulateAndGet have int type for new value arg
Reviewed-by: alanb, psandoz
2013-09-02 14:02:35 +01:00
Xue-Lei Andrew Fan
1cff90b335 8024068: sun/security/ssl/javax/net/ssl/ServerName/IllegalSNIName.java fails
Reviewed-by: weijun
2013-09-01 20:00:03 -07:00
Dan Xu
d6854baa4e 8023765: Improve MaxPathLength.java testcase and reduce its test load
7160013: java/io/File/MaxPathLength.java fails

Reviewed-by: alanb
2013-08-30 16:45:45 -07:00
Shanliang Jiang
dbca0a2b85 6566891: RMIConnector: map value referencing map key in WeakHashMap prevents map entry to be removed
Reviewed-by: egahlin, jbachorik, dfuchs, dholmes
2013-08-30 12:49:41 +02:00
Xue-Lei Andrew Fan
cd65f6f973 8023881: IDN.USE_STD3_ASCII_RULES option is too strict to use Unicode in IDN.toASCII
Reviewed-by: michaelm
2013-08-29 18:58:18 -07:00
Dan Xu
ae3b889b67 4792059: test/java/io/pathNames/GeneralSolaris.java fails on symbolic links
Exclude the possible usage of linked files or directories in the test

Reviewed-by: alanb
2013-08-29 10:43:46 -07:00
Staffan Larsen
932c79bc4c 8023786: (jdk) setjmp/longjmp changes the process signal mask on OS X
Reviewed-by: dholmes
2013-08-29 11:22:44 +02:00
Paul Sandoz
6c97499183 8023155: Ensure functional consistency across Random, ThreadLocalRandom, SplittableRandom
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: mduigou
2013-08-28 22:11:14 +02:00
Xueming Shen
54b7d41e69 8023713: ZipFileSystem crashes on old zip file
To handle extra data field copy correctly even the extra data does not follow the spec

Reviewed-by: alanb, martin, chegar
2013-08-28 09:46:55 -07:00
Alan Bateman
188f6e49f5 8022594: Potential deadlock in <clinit> of sun.nio.ch.Util/IOUtil
Reviewed-by: chegar
2013-08-28 15:50:03 +01:00
Martin Buchholz
ce3943d27d 8023717: (process) ProcessBuilder should catch SecurityException rather than AccessControlException
Reviewed-by: wetmore, alanb
2013-08-28 14:07:30 +01:00
Henry Jen
1d19a4f5df 8023528: Rename Comparator combinators to disambiguate overloading methods
Reviewed-by: mduigou, smarks
2013-08-21 20:41:35 -07:00
Xueming Shen
d912aa501e 8023647: "abc1c".matches("(\\w)+1\\1")) returns false
To correct the wrong GroupCurly group index backoff code

Reviewed-by: alanb
2013-08-27 12:54:44 -07:00
Henry Jen
b87db568f0 8023275: Wrapping collections should override default methods
Reviewed-by: mduigou, psandoz
2013-08-26 22:32:50 -07:00
Joe Darcy
ab9f31ab53 8023827: Fix doclint issues in javax.net.ssl
Reviewed-by: wetmore, xuelei
2013-08-27 11:46:25 -07:00
Sean Mullan
cff35761aa Merge 2013-08-27 12:27:31 -04:00
Sean Mullan
4520fbf983 8019830: Add com.sun.media.sound to the list of restricted package
Reviewed-by: vinnie
2013-08-27 12:04:32 -04:00
Sean Mullan
05f2952a67 8023769: JDK-8016850 broke the old build
Remove files that were moved/removed from com/sun/security/auth/FILES_java.gmk

Reviewed-by: chegar, xuelei
2013-08-27 10:46:03 -04:00
Weijun Wang
c5fd247e16 8022761: regression: SecurityException is NOT thrown while trying to pack a wrongly signed Indexed Jar file
Reviewed-by: sherman
2013-08-27 17:50:55 +08:00
Weijun Wang
849788a425 8015669: KerberosPrincipal::equals should ignore name-type
Reviewed-by: mullan
2013-08-27 17:50:52 +08:00
Lana Steuck
00055f4ba9 Merge 2013-08-26 22:18:48 -07:00
Lana Steuck
ff0005f62f Merge 2013-08-26 14:53:15 -07:00
Paul Sandoz
231a351a47 8020292: j.u.SplittableRandom
Co-authored-by: Guy Steele <guy.steele@oracle.com>
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: mduigou
2013-08-26 22:55:03 +02:00
Bill Pittore
5c937b723c 8014135: The JVMTI specification does not conform to recent changes in JNI specification
Added support for statically linked agents

Reviewed-by: alanb, sspitsyn, bobv, coleenp
2013-08-26 11:27:48 -04:00
Ivan Gerasimov
86af118ec0 8016018: Typo in AbstractStringBuilder#indexOf and #lastIndexOf descriptions
Reviewed-by: alanb, chegar
2013-08-26 18:26:35 +04:00