8007 Commits

Author SHA1 Message Date
Xue-Lei Andrew Fan
8b9c8247a8 7188657: There should be a way to reorder the JSSE ciphers
Reviewed-by: weijun, wetmore
2013-09-07 17:05:22 -07:00
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
Christine Lu
f10d1b5c6e Added tag jdk8-b106 for changeset 347df39afea6 2013-09-05 02:46:01 -07: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
Lana Steuck
98d46c08be Merge 2013-08-29 16:26:29 -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
Christine Lu
752e743397 Added tag jdk8-b105 for changeset e92c5abf8936 2013-08-29 09:42:03 -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
David Katleman
4635118ccb Merge 2013-08-26 17:36:10 -07:00
Lana Steuck
03e8d7b04d Merge 2013-08-23 14:14:05 -07:00
Omair Majid
4a2acff75d 8023480: Create a jvm.cfg for zero on 32 bit architectures
Reviewed-by: dholmes, erikj
2013-08-22 16:00:13 -04:00
Christine Lu
4bbc8e3230 Added tag jdk8-b104 for changeset 805046a40f61 2013-08-22 09:10:13 -07: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
Roger Riggs
e0b682f2d8 8011944: Sort fails with ArrayIndexOutOfBoundsException
Increase the size of pending stack and add test cases

Reviewed-by: alanb
2013-08-26 11:46:05 -04:00
Doug Lea
56dbd896c3 8023234: StampedLock serializes readers on writer unlock
Sync-up the fix from jsr166 CVS, signal more readers on writer unlock

Reviewed-by: martin, shade
2013-08-26 17:50:34 +04:00
Joel Borggrén-Franck
d4b28471ff 8022343: j.l.Class.getAnnotatedSuperclass() doesn't return null in some cases
Reviewed-by: darcy, vromero, psandoz
2013-08-26 13:38:14 +02:00
Ivan Gerasimov
910d9b815c 7129312: BufferedInputStream calculates negative array size with large streams and mark
Reviewed-by: alanb
2013-08-25 23:20:59 +04:00
Yiming Wang
423284cd20 8023139: java/nio/file/WatchService/SensitivityModifier.java failing intermittently (win8)
Reviewed-by: alanb
2013-08-26 10:01:27 +01:00
Brian Burkhalter
6c5c2d745a 6378503: In java.math.BigDecimal, division by one returns zero
6446965: Using BigDecimal.divideToIntegralValue with extreme scales can lead to an incorrect result

Fix overflow of ints and ensure appropriate values passed to checkScaleNonZero()

Reviewed-by: darcy, martin
2013-08-23 14:15:54 -07:00
Daniel Fuchs
6d2de008d7 8005899: Logger.getLogger(name, null) should not allow to reset a non-null resource bundle
Reviewed-by: mchung, lancea
2013-08-23 20:59:34 +02:00
Brian Burkhalter
ff7c51cd18 6470700: Math.random() / Math.initRNG() uses "double checked locking"
Replace class Random variable with a static final holder class

Reviewed-by: alanb, mduigou, chegar
2013-08-22 13:32:22 -07:00