Commit Graph

8099 Commits

Author SHA1 Message Date
Michael Fang
7fcb1eb269 Merge 2013-09-25 07:36:29 -07:00
Daniel Fuchs
ddddd1d31f 8025140: TEST_BUG: java/util/logging/Logger/getGlobal tests fail due to timeout
Arbitrary timeouts in the tests @run lines where too agressive for some configurations. The tests will now run with default timeout.

Reviewed-by: alanb, mchung
2013-09-25 09:47:24 +02: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
Christine Lu
f0b751a854 Added tag jdk8-b108 for changeset f45d281bd0de 2013-09-19 09:37:13 -07:00
David Katleman
4adbc8344e Merge 2013-09-17 19:09:19 -07:00
David Katleman
e2dc308c9f Merge 2013-09-17 13:42:21 -07:00
Lana Steuck
3cd103bbeb Merge 2013-09-17 08:16:33 -07:00
Lana Steuck
7043b209a6 Merge 2013-09-17 08:07:14 -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
4df3876c56 8024837: Rename java/util/concurrent/ConcurrentHashMap/toArray.java to ToArray.java
Reviewed-by: alanb
2013-09-15 16:13:41 +02:00
Andrew Brygin
e3016af23b 8024697: Fix for 8020983 causes Xcheck:jni warnings
Reviewed-by: prr, jchen
2013-09-13 20:28:17 +04:00
Christine Lu
ccef21dace Added tag jdk8-b107 for changeset 55dd1a0fe510 2013-09-12 11:09:11 -07:00
Vadim Pakhnushev
10fa6ae01e 8008022: Upgrade Direct X SDK used to build JDK
Reviewed-by: erikj, prr, ihse
2013-09-12 12:12:32 +02:00
Andrew Brygin
47f48cad92 8024511: Crash during color profile destruction
Reviewed-by: vadim, prr
2013-09-10 21:54:14 +04:00
Alejandro Murillo
08f8d373f0 8024515: ProblemList.txt updates to exclude tests that fail with hs25-b49
Reviewed-by: alanb, chegar
2013-09-10 05:46:37 -07:00
Lana Steuck
4a7850fe1b Merge 2013-09-06 18:25:41 -07:00
Christine Lu
f10d1b5c6e Added tag jdk8-b106 for changeset 347df39afea6 2013-09-05 02:46:01 -07:00
Clemens Eisserer
d8b770b0cd 8024261: xrender: improve performance of small fillRect operations
Reviewed-by: prr, bae
2013-09-05 11:50:42 +04:00
Clemens Eisserer
5159f55769 7159455: Nimbus scrollbar rendering glitch with xrender enabled on i945GM
Reviewed-by: prr, bae
2013-09-04 12:38:00 +04:00
Andrew Brygin
256894796f 7043064: sun/java2d/cmm/ tests failed against RI b141 & b138-nightly
Reviewed-by: prr, vadim
2013-09-04 12:10:07 +04: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
Roger Riggs
e2940a0e25 8023639: Difference between LocalTime.now(Clock.systemDefaultZone()) and LocalTime.now() executed successively is more than 100 000 000 nanoseconds for slow machines
Test timed out on a slow machine; it is not a conformance test and should be in the test subtree

Reviewed-by: darcy, sherman
2013-09-14 13:55:04 -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
c712fac717 8024014: TEST.groups - split sub-groups for jdk_collections, jdk_stream, jdk_concurrent, jdk_util_other from jdk_util
Reviewed-by: mchung, dholmes, alanb
2013-09-13 11:19:13 -07:00
Mike Duigou
b59dc6762e 8021591: Additional explicit null checks
Reviewed-by: psandoz, alanb
2013-09-13 11:18:44 -07:00
Mark Sheppard
767ab8c9ae 8024675: java/net/NetworkInterface/UniqueMacAddressesTest.java fails on Windows
Amended test to add active, i.e. isUp(), NetworkInterfaces to test list

Reviewed-by: alanb, chegar
2013-09-13 12:20:53 +01: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
Roger Riggs
04a877811a 8024618: Issues with French locale on compact1,2: expected:<janvier> but was:<January>
Tests against the data of the French locale are not valid as conformance tests and are redundant with testing of the US Locale above

Reviewed-by: alanb
2013-09-12 10:58:38 -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
Joe Darcy
c138883ba1 8024643: Turn on javac lint checking in building the jdk repo
Reviewed-by: erikj, ihse, smarks
2013-09-12 01:47:05 -07:00
Shanliang Jiang
c6aa9956df 8023529: OpenMBeanInfoSupport.equals/hashCode throw NPE
Reviewed-by: dholmes, dfuchs
2013-09-12 09:41:28 +02:00
Henry Jen
b83654dad2 8024500: Missing API coverage for java.util.function.BiFunction andThen
Reviewed-by: mduigou, alanb
2013-09-11 11:25:14 -07: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
Michael McMahon
5b44581c29 Merge 2013-09-11 15:02:15 +01:00
Michael McMahon
be8cb3eed2 8024601: Windows networking code prevents use of -Xlint:auxiliaryclass in jdk build
Reviewed-by: chegar
2013-09-11 15:00:41 +01:00
Eric McCorkle
3e4a3ec6ca 6962494: Update documentation on Executable.getParameterAnnotations()
Update javadoc comments on getParameterAnnotations to correctly describe its behavior

Reviewed-by: darcy, jfranck
2013-09-11 09:24:32 -04:00
Naoto Sato
903435b4cc 8024332: sun/util/resources/en split between rt.jar and localedata.jar
Reviewed-by: alanb, erikj
2013-09-11 05:38:03 -07:00
Chris Hegarty
9e8f2037d0 8023090: Additional debug info for java/net/NetworkInterface/Equals.java
Reviewed-by: alanb
2013-09-11 11:32:50 +01:00
Chris Hegarty
d639bab3f3 8024508: Fix doclint issues in com.sun.nio.sctp
Reviewed-by: alanb
2013-09-11 11:03:51 +01:00
Joel Borggrén-Franck
9a30d420c4 4987375: (reflect) Class.get{Declared}Method{s} does not return clone() for array types
Update spec to match long standing behavior

Reviewed-by: darcy, mchung
2013-09-11 09:45:52 +02:00
Masayoshi Okutsu
89d7b92bef 8024141: Unexpected timezone display name
Reviewed-by: peytoia
2013-09-11 15:29:41 +09:00
Xue-Lei Andrew Fan
2f437f19fe 8024501: sun.security.mscapi.Key has no definition of serialVersionUID
Reviewed-by: weijun
2013-09-10 21:31:28 -07:00
Yiming Wang
befcecbd00 8023878: (fs) TEST_BUG java/nio/file/WatchService/SensitivityModifier.java fails intermittently
Reviewed-by: alanb
2013-09-10 10:42:55 +01:00
Xue-Lei Andrew Fan
d5c45c6cde 8024444: Change to use othervm mode of tests in SSLEngineImpl
Reviewed-by: mullan
2013-09-09 19:07:05 -07:00
Stuart Marks
a2cca722e8 8023447: change specification to allow RMI activation to be optional
Reviewed-by: darcy, alanb, olagneau
2013-09-09 14:11:10 -07:00
Jason Uh
aefe8c12c0 8024432: Fix doclint issues in java.security
Reviewed-by: darcy, mullan
2013-09-09 10:52:56 -07:00
Mark Sheppard
ab579cbd5f 8021372: NetworkInterface.getNetworkInterfaces() returns duplicate hardware address
Amended src/windows/native/java/net/NetworkInterface_winXP.c to "properly" handle Ipv6IfIndex

Reviewed-by: chegar, dsamersoff
2013-09-09 13:44:30 +01:00
Lana Steuck
06e6c892cf Merge 2013-09-06 14:18:06 -07:00
Sean Mullan
38f4277489 Merge 2013-09-06 12:10:30 -04:00
Sean Mullan
23d61e9b45 8023362: Don't allow soft-fail behavior if OCSP responder returns "unauthorized"
Reviewed-by: vinnie, xuelei
2013-09-06 12:04:18 -04:00
Mark Sheppard
92c43dcb6a 8023326: [TESTBUG] java/net/CookieHandler/LocalHostCookie.java misplaced try/finally
Amended test to be more robust to set of potential exceptions thrown

Reviewed-by: chegar, khazra
2013-09-06 15:00:59 +01:00
Daniel Fuchs
33dbc2d51c 8023168: Cleanup LogManager class initialization and LogManager/LoggerContext relationship
8021003: java/util/logging/Logger/getGlobal/TestGetGlobalConcurrent.java fails intermittently
8019945: test/java/util/logging/LogManagerInstanceTest.java failing intermittently

This fix untangles the class initialization of Logger and LogManager, and also cleans up the relationship between LogManager, LoggerContext, and Logger, which were at the root cause of some intermittent test failures.

Reviewed-by: mchung, martin, plevart
2013-09-09 13:59:51 +02:00
Weijun Wang
a4c7971bdb 8024046: Test sun/security/krb5/runNameEquals.sh failed on 7u45 Embedded linux-ppc*
Reviewed-by: xuelei
2013-09-09 11:08:20 +08:00
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
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
Clemens Eisserer
24f306c761 7189452: XRender pipeline does ignore source-surface offset for text rendering
Reviewed-by: prr, bae
2013-09-01 09:38:03 -07:00
Phil Race
d5c4be9c65 4673406: RFE: Java Printing: Provide a way to display win32 printer driver's dialog
Reviewed-by: jgodinez, bae
2013-08-30 10:25:55 -07:00
Jennifer Godinez
9811410a00 8017469: [macosx] Printing problem using ja and zh_CN locales
Reviewed-by: prr, jchen
2013-08-30 09:10:30 -07: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
Erik Helin
ef64db06e2 8014659: NPG: performance counters for compressed klass space
Reviewed-by: jmasa, sla
2013-08-29 11:08:42 +02:00
Lana Steuck
e1e880abee Merge 2013-09-22 20:21:11 -07:00
Ivan Gerasimov
06571ae862 8023130: (process) ProcessBuilder#inheritIO does not work on Windows
Reviewed-by: alanb, martin
2013-09-23 04:05:42 +01:00
Lana Steuck
170f727b62 Merge 2013-09-20 19:15:59 -07:00
Paul Sandoz
57f84d8637 8024341: j.u.regex.Pattern.splitAsStream() doesn't correspond to split() method if using an example from the spec
Reviewed-by: alanb
2013-09-20 17:11:32 -07:00
Brian Burkhalter
ca9e74c63d 8024331: j.u.Map.computeIfPresent() default/nondefault implementations don't throw NPE if the remappingFunction is null and the key is absent
Explicitly check for null remappingFunction parameter.

Reviewed-by: mduigou, forax, psandoz
2013-09-20 15:12:05 -07:00
Doug Lea
851fd0447e 8024253: ThreadLocal random can use SecureRandom for the initial seed
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Guy Steele <guy.steele@oracle.com>
Reviewed-by: psandoz, chegar, alanb
2013-09-20 11:07:06 -07:00
Staffan Larsen
fdef74ade2 7200277: [parfait] potential buffer overflow in npt/utf.c
Reviewed-by: dsamersoff, dcubed
2013-09-20 16:40:32 +02:00
Alexander Zuev
e5fa00ffb5 8025076: Fix for JDK-8017248 breaks jprt submission for non-unicode locales
Reviewed-by: naoto, ksrini
2013-09-20 17:56:54 +04:00
Staffan Larsen
a066da5d4d 8024416: TESTBUG: com/sun/jdi/MethodEntryExitEvents.java: method entry count mismatch
Reviewed-by: dcubed
2013-09-20 10:15:02 +02:00
Staffan Larsen
6de8695342 8024985: com/sun/jdi/StepTest.java failed since jdk8b107
Reviewed-by: dcubed
2013-09-20 10:14:35 +02:00