Commit Graph

2247 Commits

Author SHA1 Message Date
Leonid Romanov
bf404f9ad8 7129133: [macosx] Accelerators are displayed as Meta instead of the Command symbol
Reviewed-by: anthony, serb
2013-09-19 23:46:15 +04:00
Lana Steuck
e05ff03241 Merge 2013-09-18 16:01:37 -07: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
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
Konstantin Shefov
441fa0cc1d 8015588: [TEST_BUG] [macosx] Test java/awt/MenuBar/MenuBarSetFont/MenuBarSetFont.java fails on MacOSX
Reviewed-by: anthony, serb
2013-09-16 19:21:50 +04:00
Konstantin Shefov
52cf3b81e7 7020060: [TEST_BUG] java/awt/FullScreen/TranslucentWindow/TranslucentWindow.java failed
Reviewed-by: anthony, serb
2013-09-16 19:15:53 +04: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
Alexander Scherbatiy
5b376db4f0 8008728: [macosx] Swing. JDialog. Modal dialog goes to background
Reviewed-by: serb
2013-09-16 17:45:07 +04: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
Stephen Colebourne
ea9e3930af 8024834: Better return type for TemporalField resolve
Allow resolve method to return more than just ChronoLocalDate

Reviewed-by: sherman
2013-09-14 22:54:38 +01:00
Stephen Colebourne
2040c66b16 8024807: Add getChronlogy() to CLDT/CZDT
Alternative to method is clunky and hard to find

Reviewed-by: sherman
2013-09-14 22:50:40 +01:00
Stephen Colebourne
c492e4ef1f 8024835: Change until() to accept any compatible temporal
Method until(Temporal,TemporalUnit) now uses from() to convert; Enhance from() methods where necessary

Reviewed-by: sherman
2013-09-14 22:46:49 +01:00
Petr Pchelko
a7d4eaed9a 8012026: [macosx] Component.getMousePosition() does not work in an applet on MacOS
Reviewed-by: anthony, serb
2013-09-13 18:02:18 +04:00
Petr Pchelko
1a1a6829fa 8024381: The test for 8020210 does not have @bug tag
Reviewed-by: anthony, serb
2013-09-10 11:00:21 +04:00
Lana Steuck
54a198badd Merge 2013-09-06 15:09:44 -07:00
Chris Hegarty
18f0e54e81 Merge 2013-09-06 09:41:21 +01:00
Anton Nashatyrev
8053376ea2 8023392: Swing text components printed with spaces between chars
Reviewed-by: alexsch, alexp
2013-09-05 15:37:40 +04:00
Stephen Colebourne
61fc7dfe0c 8023762: Add ChronoPeriod interface and bind period to Chronology
Make Period ISO-only, adding a Chronology-specific period concept

Reviewed-by: sherman
2013-09-04 15:18:54 +01:00
Sergey Malenkov
22039ebd3e 7172865: PropertyDescriptor fails to work with setter method name if setter is non-void
Reviewed-by: art, alexsch
2013-09-03 21:53:14 +04:00
Alexander Scherbatiy
6ffe7bb513 8007156: [macosx] Wrong events in processKeyBinding of JTable Submit Date
Reviewed-by: leonidr
2013-09-03 17:27:20 +04: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
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
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
Paul Sandoz
ea739968d2 8023339: Refined Collection.removeIf UOE conditions
Reviewed-by: mduigou
2013-09-27 13:30:31 -07:00
Mike Duigou
e68f7e9564 8025595: Remove alt-rt.jar, used by +AggressiveOps (jdk repo portion of JDK-8024826)
Reviewed-by: alanb, chegar, dholmes, ksrini
2013-09-27 10:21:04 -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
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
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
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
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
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
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
Chris Hegarty
9e8f2037d0 8023090: Additional debug info for java/net/NetworkInterface/Equals.java
Reviewed-by: alanb
2013-09-11 11:32:50 +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
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
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
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
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
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
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
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
Alexander Scherbatiy
f8b0bf1b23 8022401: [macosx] javax/swing/text/JTextComponent/5074573/bug5074573.java fails
Reviewed-by: anthony
2013-08-30 13:28:15 +04:00
Chris Hegarty
369c079b32 Merge 2013-08-30 09:37:29 +01:00
Roger Riggs
1e581e11ea 8024427: Missing java.time.chrono serialization tests
Add tests and cleanup existing serialization tests

Reviewed-by: sherman
2013-10-03 15:16:14 -04: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
Ivan Gerasimov
06571ae862 8023130: (process) ProcessBuilder#inheritIO does not work on Windows
Reviewed-by: alanb, martin
2013-09-23 04:05:42 +01: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
Paul Sandoz
0f59d418d8 8024405: Spliterators.spliterator should support CONCURRENT characteristic
Reviewed-by: martin
2013-09-19 20:41:54 -07:00
Paul Sandoz
3a559a7ea0 8025002: "".codePoints().sorted().iterator().hasNext() causes NegativeArraySizeException
Reviewed-by: henryjen, alanb
2013-09-18 10:49:34 -07:00
Peter Levart
c7759dc643 8011940: java.lang.Class.getAnnotations() always enters synchronized method
Reviewed-by: jfranck, chegar, psandoz, shade
2013-09-19 16:14:13 +02:00
Eric Wang
8290ada96c 8015762: TEST_BUG: java/nio/channels/DatagramChannel/AdaptDatagramSocket.java failing intermittently [win]
Reviewed-by: chegar, alanb
2013-09-18 15:13:10 +01:00
Alan Bateman
2785e7d00a 8024883: (se) SelectableChannel.register throws NPE if fd >= 64k (lnx)
Co-authored-by: Norman Maurer <nmaurer@redhat.com>
Reviewed-by: alanb, coffeys
2013-09-18 14:10:24 +01: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
Lana Steuck
a9582521c6 Merge 2013-08-27 21:46:00 -07:00
Paul Rank
a4b39faa4f 8024896: Refactor java.time serialization tests into separate subpackage
Move serialization tests to .serial subpackage

Reviewed-by: sherman
2013-08-22 10:01:47 -07:00
Sergey Malenkov
eaece57c8d 8023536: Some regression tests have a wrong header
Reviewed-by: alexsch
2013-08-22 17:17:25 +04: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
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
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
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
Lana Steuck
403562720b Merge 2013-08-20 17:44:18 -07:00
Peter Levart
75a8f58cd1 8022721: AnnotationTypeDeadlockTest.java throws java.lang.IllegalStateException: unexpected condition
Reviewed-by: alanb, jfranck
2013-08-20 14:13:59 +02:00
Dan Xu
31584b6b19 8023430: Replace File.mkdirs with Files.createDirectories to get MaxPathLength.java failure details
Reviewed-by: alanb
2013-08-22 11:43:18 -07:00
Staffan Larsen
138561d596 8023101: java/lang/management/MemoryMXBean/ResetPeakMemoryUsage.java fails
Reviewed-by: ysr
2013-08-22 08:28:53 +02:00
Ben Evans
c9443a8346 8016846: Pattern.splitAsStream tests required
Reviewed-by: alanb, psandoz
2013-08-20 14:23:32 -07:00
Paul Sandoz
906bb894db 8023367: Collections.emptyList().sort((Comparator)null) throws NPE
Reviewed-by: alanb, mduigou
2013-08-20 17:36:15 +02:00
Xue-Lei Andrew Fan
2e2313ef87 8020842: IDN do not throw IAE when hostname ends with a trailing dot
Reviewed-by: weijun, michaelm
2013-08-19 17:42:39 -07:00
Sergey Bylokhov
79a458c3d4 8020051: [TEST_BUG] Testcase for 8004859 has a typo
Reviewed-by: anthony
2013-08-16 16:52:53 +04:00
Chris Hegarty
60e31c0960 Merge 2013-08-15 21:44:35 +01:00
Lana Steuck
d2e96c4350 Merge 2013-08-13 15:49:37 -07:00
Paul Sandoz
ea67b80891 8022898: java/util/Spliterator/SpliteratorCollisions.java fails in HashableIntSpliteratorWithNull data provider
Reviewed-by: henryjen, alanb, rriggs
2013-08-16 12:46:39 +02:00
Paul Sandoz
772a828f73 8012940: More than 50 tests failed in Serialization/DeSerialization testing (test-mangled)
Reviewed-by: ksrini
2013-08-16 12:46:30 +02:00
Paul Sandoz
3c90e54214 8023150: java/util/stream tests no longer compiling following JDK-8019401
Reviewed-by: alanb
2013-08-16 12:29:58 +02:00
Christian Thalinger
53b5f75095 8022066: Evaluation of method reference to signature polymorphic method crashes VM
Reviewed-by: jrose
2013-08-12 13:47:21 -07:00
Brian Goetz
4030ed819b 8019401: Collectors.collectingAndThen
Reviewed-by: mduigou
2013-08-12 12:06:50 -04:00
Dan Xu
bcc5da3b77 4858457: File.getCanonicalPath() throws IOException when invoked with "nul" (win)
Reviewed-by: alanb
2013-08-15 12:36:50 -07:00
Ivan Gerasimov
d72491e426 8022584: Memory leak in some NetworkInterface methods
Reviewed-by: alanb, dholmes, chegar, michaelm
2013-08-13 13:04:21 +04:00
Yiming Wang
ab37de55bf 8015765: TEST_BUG: java/nio/channels/ServerSocketChannel/AdaptServerSocket.java failing intermittently
Reviewed-by: chegar, dholmes, alanb
2013-08-15 13:42:45 +01:00
Alan Bateman
9aceb41d6d 8022921: Remove experimental Profile attribute
Reviewed-by: mchung, chegar
2013-08-15 11:54:05 +01:00
Yong Jeffrey Huang
e87a2bddaf 8021121: ISO 4217 Amendment Number 156
Reviewed-by: naoto
2013-08-14 22:49:54 -07:00
Brian Burkhalter
10673cfe8c 8022109: Evaluate adding incrementExact, decrementExact, negateExact to java.lang.Math
Add the methods for parameter types int and long.

Reviewed-by: mduigou
2013-08-12 10:35:44 -07:00
Lana Steuck
d4db347ba0 Merge 2013-08-13 18:33:25 -07:00
Rob McKenna
c6247493d0 5049299: (process) Use posix_spawn, not fork, on S10 to avoid swap exhaustion
Reviewed-by: alanb, dholmes, martin, erikj, coffeys
2013-08-13 19:10:54 +01:00
Daniel Fuchs
91e6f28796 8019948: java/util/logging/bundlesearch/ResourceBundleSearchTest.java is failing intermittently
Reviewed-by: mchung, dholmes
2013-08-13 16:00:44 +02:00
Amy Lu
10ba495eaf 8022779: ProblemList.txt updates (8/2013)
Update ProblemList and remove AggressiveOpts MOAT test run

Reviewed-by: chegar, alanb
2013-08-13 14:57:12 +01:00
Timothy Buktu
e3b61c033b 8022180: BigInteger Burnikel-Ziegler quotient and remainder calculation assumes quotient parameter is zero
Clear the quotient in divideAndRemainderBurnikelZiegler() if the divisor is larger than the dividend.

Reviewed-by: alanb, bpb
2013-08-12 16:21:10 -07:00
Mani Sarkar
4f76f09719 8022749: Convert junit tests to testng in test/java/lang/invoke
Reviewed-by: mduigou, alanb
2013-08-12 12:11:04 -07:00
Vicente Romero
d0479145f3 8015780: java/lang/reflect/Method/GenericStringTest.java failing
Reviewed-by: darcy, jfranck
2013-08-12 17:40:14 +01: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
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
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
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
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
Chris Hegarty
533cdad97a Merge 2013-08-09 14:43:19 +01:00
Paul Sandoz
87efa706f1 8022326: Spliterator for values of j.u.c.ConcurrentSkipListMap does not report ORDERED
Reviewed-by: martin, chegar
2013-08-09 11:44:38 +02:00
Weijun Wang
0f81426896 8021788: JarInputStream doesn't provide certificates for some file under META-INF
Reviewed-by: chegar, sherman
2013-08-09 11:41:17 +08:00
Anton Tarasov
66bb3b1c47 8013611: Modal dialog fails to obtain keyboard focus
Reviewed-by: leonidr
2013-08-09 05:20:27 +04:00
Xueming Shen
dca36c08f3 8015666: test/tools/pack200/TimeStamp.java failing
To keep the default behavior of ZOS unchanged, if ze extra time not explicitly set

Reviewed-by: alanb, ksrini
2013-08-08 12:03:04 -07:00
Alexey Utkin
ae9638f154 7147084: (process) appA hangs when read output stream of appB which starts appC that runs forever
Reviewed-by: alanb, robm, martin
2013-08-08 09:16:16 +04:00
Stephen Colebourne
15c6717dac 8015986: Incorrect Localization of HijrahChronology
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Reviewed-by: naoto
2013-08-08 13:51:55 +09:00
Lana Steuck
1fa1e6d2ca Merge 2013-08-07 19:56:20 -07:00
Lana Steuck
e395ecfccb Merge 2013-08-07 12:03:37 -07:00
Alexander Scherbatiy
eede95c5cf 8013849: Awt assert on Hashtable.cpp:124
Reviewed-by: serb
2013-08-07 18:58:28 +04:00
Lana Steuck
37487a9e38 Merge 2013-08-06 17:01:05 -07:00
Alan Bateman
5d38b44a3e 8023215: test/java/util/Comparator/TypeTest.java not running (failing but reported as passing)
Reviewed-by: psandoz
2013-08-19 11:04:21 +01:00
Aleksei Efimov
3eae3a200c 8021820: Number of opened files used in select() is limited to 1024 [macosx]
Reviewed-by: alanb, chegar, tbell, smarks
2013-08-16 18:41:35 +04:00
Roger Riggs
b23fa14820 8022193: java/time/test/java/util/TestFormatter.java failed in th locale
Tests corrected to use fixed locale and not dependent on the environment

Reviewed-by: sherman
2013-08-16 11:11:00 -04:00
Roger Riggs
a7ac24961a 8022770: java/time/tck/java/time/chrono/TCKChronology.java start failing
8022766: java/time/test/java/time/chrono/TestUmmAlQuraChronology.java failed

TCKChronology: corrected display name to match update from JDK-8015986

Reviewed-by: alanb
2013-08-16 11:28:15 -04:00
Leonid Romanov
a1c16bf976 8022247: java/awt/EventDispatchThread/LoopRobustness/LoopRobustness throws NPE
Reviewed-by: art
2013-08-06 17:07:49 +04:00
Lana Steuck
10ffeaaadd Merge 2013-07-31 13:02:53 -07:00
Lana Steuck
6a0da744f9 Merge 2013-07-26 15:46:18 -07:00
Sergey Bylokhov
4a42ba3816 7190349: [macosx] Text (Label) is incorrectly drawn with a rotated g2d
8013569: [macosx] JLabel preferred size incorrect on retina displays with non-default font size

Reviewed-by: prr
2013-07-26 21:18:42 +04:00
Chris Hegarty
1bdfa7bf9f Merge 2013-07-25 19:03:29 +01:00
Paul Sandoz
ee1343b38a 8021883: j.u.Random/RandomStream.java test needs more robust timeout duration
Reviewed-by: chegar
2013-07-30 14:03:25 +01:00
Paul Sandoz
980e8cff6f 8021863: Stream.concat incorrectly calculates unsized state
Reviewed-by: chegar
2013-07-30 11:32:26 +01:00
Henry Jen
e8e95eec3a 8020977: StringJoiner merges with itself not as expected
Reviewed-by: psandoz, chegar, mduigou, smarks
2013-07-30 15:47:35 -07:00
Roger Riggs
b7c322c198 8021767: test/java/time/tck/java/time/format/TCKFormatStyle.java failing
Correct to use fixed locale, not locale of test environment

Reviewed-by: alanb, okutsu
2013-07-30 14:43:19 -07:00
Paul Sandoz
ea8bc25763 8020156: TreeMap.values().spliterator() does not report ORDERED
8020009: TreeMap.entrySet().spliterator() reports SORTED + null comparator but the elements are not Comparable

Reviewed-by: mduigou
2013-07-29 19:41:02 +01:00
Brian Burkhalter
4fe69c432f 8020641: Clean up some code style in recent BigInteger contributions
Some minor cleanup to adhere better to Java coding conventions.

Reviewed-by: darcy
2013-07-26 17:09:30 -07:00
Tim Buktu
d59c1fac00 8014319: Faster division of large integers
Implement Burnickel-Ziegler division algorithm in BigInteger

Reviewed-by: bpb, martin
2013-07-26 17:03:19 -07:00
Mike Duigou
b9742daca7 8021601: Add unit test for PriorityQueue(Comparator) constructor
Reviewed-by: darcy, alanb
2013-07-26 17:23:20 -07:00
Lana Steuck
29041e2c4a Merge 2013-07-26 14:07:32 -07:00
Jaroslav Bachorik
76c5530392 8020875: java/lang/management/ThreadMXBean/ResetPeakThreadCount.java fails intermittently
Reviewed-by: dfuchs, chegar
2013-07-26 10:12:14 +02:00
Sean Mullan
5c30826657 Merge 2013-07-25 11:09:28 -04:00
Sean Mullan
74a0cc9f37 8010748: Add PKIXRevocationChecker NO_FALLBACK option and improve SOFT_FAIL option
Reviewed-by: vinnie
2013-07-25 10:58:00 -04:00
Ivan Gerasimov
5db8580b26 8016838: improvement of RedefineBigClass and RetransformBigClass tests
Reviewed-by: dcubed
2013-07-23 18:57:57 +04:00
Stephen Colebourne
711f7a37e0 8016025: JSR 310 DateTime API Updates IV
8020418: Cleanup of -Xlint warnings in java.time
8016623: test/java/time/format/TestDateTimeTextProvider.java failing

Integration of JSR310 Date/Time API update IV

Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Patrick Zhang <patrick.zhang@oracle.com>
Co-authored-by: Chand Basha <chand.basha@oracle.com>
Reviewed-by: sherman
2013-07-18 11:02:02 -07:00
Lana Steuck
95a3a25b17 Merge 2013-07-17 13:00:36 -07:00
Lana Steuck
ae0dd64548 Merge 2013-07-17 12:56:04 -07:00
Masayoshi Okutsu
3d9f33759d 8001029: Add new date/time capability
Reviewed-by: mchung, hawtin
2013-07-19 12:14:34 +09:00
Michael McMahon
a775b1ae8d 8015743: Address internet addresses
Reviewed-by: alanb, khazra, skoivu
2013-07-18 18:52:14 +01:00
Sean Coffey
6a6f5006d3 8017566: Backout 8000450 - Cannot access to com.sun.corba.se.impl.orb.ORBImpl
Reviewed-by: mchung
2013-07-15 13:42:35 +01:00
Peter Levart
b0d167645f 7122142: (ann) Race condition between isAnnotationPresent and getAnnotations
Reviewed-by: dholmes, jfranck
2013-07-15 10:55:53 +02:00
Petr Pchelko
f22f9eb04b 8020210: [macosx] JVM crashes in CWrapper$NSWindow.screen(long)
Reviewed-by: anthony, art
2013-07-11 16:42:13 +04:00
Stephen Colebourne
f2ea6795a7 8025719: Change Chronology to an interface
Split Chronology and add AbstractChronology

Reviewed-by: darcy
2013-07-09 21:35:04 +01:00
Stephen Colebourne
c11a760a1b 8025720: Separate temporal interface layer
Remove ZoneId and Chronology from TemporalField interface

Reviewed-by: sherman
2013-09-26 23:05:29 -07:00
Sergey Bylokhov
b2b2d519ca 8019587: [macosx] Possibility to set the same frame for the different screens
Reviewed-by: art, anthony
2013-07-09 21:21:55 +04:00
Sergey Malenkov
25f2802a70 6707231: Wrong read Method returned for boolen properties
Reviewed-by: alexsch
2013-07-09 18:01:58 +04:00
Brian Goetz
50a242e510 8020062: Nest StreamBuilder interfaces inside relevant Stream interfaces
Reviewed-by: psandoz, mduigou
2013-07-08 15:46:26 -04:00
Brian Goetz
ace3a4d196 8015320: Pull spliterator() up from Collection to Iterable
Reviewed-by: psandoz, mduigou
2013-07-12 15:01:08 -07:00
Vinnie Ryan
3300eed0bb 8019627: RuntimeException gets obscured during OCSP cert revocation checking
Reviewed-by: mullan
2013-07-12 20:44:34 +01:00
Lana Steuck
851063935c Merge 2013-07-05 12:26:27 -07:00
Lana Steuck
0c0bcad83c Merge 2013-07-03 19:09:20 -07:00
Paul Sandoz
c5fcef26c9 8019395: Consolidate StreamSupport.{stream,parallelStream} into a single method
Reviewed-by: henryjen, briangoetz
2013-07-03 21:43:49 +02:00
Brian Goetz
4e416d4714 8015315: Stream.concat methods
Co-authored-by: Henry Jen <henry.jen@oracle.com>
Reviewed-by: psandoz, mduigou
2013-07-12 12:15:22 -07:00
Brian Goetz
53edbe01cb 8015317: Optional.filter, map, and flatMap
Co-authored-by: Henry Jen <henry.jen@oracle.com>
Reviewed-by: psandoz, mduigou
2013-07-12 11:12:16 -07:00
Mike Duigou
c14b02d707 7129185: Add Collections.{checked|empty|unmodifiable}Navigable{Map|Set}
Reviewed-by: dmocek, martin, smarks
2013-07-12 11:11:30 -07:00
Thomas Schatzl
b2aec6eda3 8014890: (ref) Reference queues may return more entries than expected
When enqueuing references check whether the j.l.r.Reference has already been enqeued or removed in the lock. Do not enqueue them again. This occurs because multiple threads may try to enqueue the same j.l.r.Reference at the same time.

Reviewed-by: mchung, dholmes, plevart, shade
2013-07-08 14:05:59 +02:00
Dan Xu
94e1bc3172 8017212: File.createTempFile requires unnecessary "read" permission
Directly call FileSystem method to check a file existence. Also reviewed by tom.hawtin@oracle.com

Reviewed-by: alanb
2013-07-11 13:40:25 -07:00
Brian Burkhalter
9123d3fed3 6480539: BigDecimal.stripTrailingZeros() has no effect on zero itself ("0.0")
Make stripTrailingZeros() return BigDecimal.ZERO if the BigDecimal is numerically equal to zero.

Reviewed-by: darcy
2013-07-09 12:47:37 -07:00
Paul Sandoz
b47a003232 8017447: Unmodifiable map entry becomes modifiable if taken from a stream of map entries
Reviewed-by: briangoetz
2013-07-10 09:52:02 +02:00
David Holmes
ddb13a825c 8016341: java/lang/ref/OOMEInReferenceHandler.java failing intermittently
Ensure WeakRef object can't be prematurely gc'd

Reviewed-by: chegar, plevart
2013-07-09 22:01:57 -04:00
Sean Coffey
411683f3a7 8019979: Replace CheckPackageAccess test with better one from closed repo
Reviewed-by: mullan
2013-07-09 16:00:41 +01:00
Erik Helin
6085f712f8 8010734: NPG: The test MemoryTest.java needs to be updated to support metaspace
Reviewed-by: alanb
2013-07-08 11:30:44 +02:00
Lana Steuck
23a17dfafa Merge 2013-07-05 13:28:17 -07:00
Shi Jun Zhang
2e28a006d8 8019381: HashMap.isEmpty is non-final, potential issues for get/remove
Reviewed-by: chegar, mduigou
2013-07-05 10:51:54 +08:00
Brian Goetz
fd97f9873a 8017231: Add StringJoiner.merge
Co-authored-by: Henry Jen <henry.jen@oracle.com>
Reviewed-by: psandoz, alanb
2013-07-04 20:00:20 +01:00
Eric McCorkle
a58f094d40 8016285: Add java.lang.reflect.Parameter.isNamePresent()
Add isNamePresent method to parameter reflection library, which indicates whether or real parameter data is available

Reviewed-by: darcy
2013-07-03 19:47:15 -04:00
Paul Sandoz
355205b8a5 8017329: 8b92-lambda regression: TreeSet("a", "b").stream().substream(1).parallel().iterator() is empty
Reviewed-by: alanb
2013-07-03 21:19:25 +02:00
Christian Thalinger
22d32e76ce 8019184: MethodHandles.catchException() fails when methods have 8 args + varargs
Reviewed-by: jrose
2013-07-03 11:35:06 -07:00
Sergey Bylokhov
45d608aa5b 8004859: Graphics.getClipBounds/getClip return difference nonequivalent bounds, depending from transform
Reviewed-by: prr, flar
2013-07-03 19:00:10 +04:00
Mandy Chung
5a360a7579 8007035: deprecate public void SecurityManager.checkMemberAccess(Class<?> clazz, int which)
Reviewed-by: jrose, alanb, dfuchs
2013-07-02 15:58:09 -07:00
Lana Steuck
8a261ad520 Merge 2013-07-02 15:23:23 -07:00
Daniel Fuchs
5f717a6674 7184195: java.util.logging.Logger.getGlobal().info() doesn't log without configuration
Due to subtle synchronization issues between LogManager & Logger class initialization the global logger doesn't have its 'manager' field initialized until the LogManager is initialized. This fix will ensure that the global logger has its 'manager' field set when getGlobal() is called.

Reviewed-by: mchung, plevart
2013-07-02 19:47:58 +02:00
Daniel Fuchs
677643324e 8017174: NPE when using Logger.getAnonymousLogger or LogManager.getLogManager().getLogger
This patch makes sure that LoggerContext instances created for applets have a root and global logger.

Reviewed-by: mchung
2013-07-02 11:30:31 +02:00
Vinnie Ryan
53ecefacac 8019259: Failover to CRL checking does not happen if wrong OCSP responder URL is set
Reviewed-by: xuelei
2013-07-01 14:39:47 +01:00
Daniel Fuchs
7addcb118b 8014045: test/java/lang/management/PlatformLoggingMXBean/LoggingMXBeanTest.java failing intermittently
This test was failing because it didn't take into account the fact that Loggers could be garbage collected.

Reviewed-by: mchung
2013-07-01 11:13:56 +02:00
Lana Steuck
c4c235dc4a Merge 2013-06-28 19:46:18 -07:00
Lana Steuck
cf72044ebb Merge 2013-06-28 18:06:26 -07:00
David Katleman
78425fd8da 8019347: JDK8 b96 source with GPL header errors
Reviewed-by: iris, alanb, lancea
2013-06-28 16:26:36 -07:00
Brian Goetz
e11ec149ce 8015318: Extend Collector with 'finish' operation
Reviewed-by: mduigou
2013-06-28 16:26:54 -04:00
Amy Lu
0f4a06a92a 7184826: (reflect) Add support for Project Lambda concepts in core reflection
Reviewed-by: darcy, jfranck
2013-08-06 18:54:02 +02:00
Chris Hegarty
04449cd1a9 8022344: Additional debug info for test/java/net/NetworkInterface/IndexTest.java
Reviewed-by: michaelm, alanb
2013-08-06 15:35:20 +01:00
Brian Burkhalter
aafacb6fa6 8022094: BigDecimal/CompareToTests and BigInteger/CompareToTests are incorrect
Fail test if errors; fix test values; port BigDecimal version to BigInteger

Reviewed-by: smarks, alanb
2013-08-02 11:10:41 -07:00
Brent Christian
b661fb4e1a 8011194: Apps launched via double-clicked .jars have file.encoding value of US-ASCII on Mac OS X
On Mac, default to UTF-8 if no environmental hints are available

Reviewed-by: naoto, ddehaven
2013-08-02 15:30:11 -07:00
Brian Burkhalter
2c31d993a4 6476168: (fmt) Inconsistency formatting subnormal doubles with hexadecimal conversion
Update specification to match implementation.

Reviewed-by: darcy
2013-07-31 10:53:33 -07:00