John R Rose
154969a2bc
8001108: an attempt to use "<init>" as a method name should elicit NoSuchMethodException
...
Add an explicit check for leading "<", upgrade the unit tests
Reviewed-by: twisti, darcy
2013-10-05 05:30:39 -07:00
John R Rose
e4df9dc1ee
8001109: arity mismatch on a call to spreader method handle should elicit IllegalArgumentException
...
Document error conditions that may occur when calling a "spreader" method handle. Use IAE in all cases.
Reviewed-by: twisti, vlivanov
2013-10-05 05:30:39 -07:00
John R Rose
77dc59f6ca
8019417: JSR 292 javadoc should clarify method handle arity limits
...
Clarification of erroneous reading of spec. that led to 7194534
Reviewed-by: twisti, darcy
2013-10-05 05:30:39 -07:00
John R Rose
622186edcb
8001105: findVirtual of Object[].clone produces internal error
...
Replicate JVM logic for access control that makes Object.clone appear public when applied to an array type.
Reviewed-by: twisti
2013-10-05 05:30:38 -07:00
Chris Hegarty
6088b141e2
Merge
2013-10-03 19:06:43 +01:00
Alexander Scherbatiy
5520d11d0c
7092283: Property Window.locationByPlatform is not cleared by calling setVisible(false)
...
Reviewed-by: anthony, serb
2013-10-03 19:02:45 +04:00
Paul Sandoz
1604846c44
8025567: Mark relevant public stream tests as serialization hostile
...
Reviewed-by: alanb
2013-10-03 10:59:51 +02:00
Phil Race
e43112a8ad
7179526: xrender : closed/sun/java2d/volatileImage/LineClipTest.java failed since jdk8b36
...
Reviewed-by: prr, jchen
2013-10-02 11:22:07 -07:00
Sergey Bylokhov
12a7707961
8013563: Memory leak in JFrame on Linux
...
Reviewed-by: anthony, art
2013-10-02 21:02:04 +04:00
Eric McCorkle
367fa5ac0e
8020981: Update methods of java.lang.reflect.Parameter to throw correct exceptions
...
Fix behavior of parameter reflection API for malformed class files.
Reviewed-by: darcy
2013-10-02 19:13:42 -04:00
Petr Pchelko
d5ec67a6e5
8024163: [macosx] NullPointerException at javax.swing.TransferHandler$DropHandler.handleDrag since jdk8b93, 7u40b28
...
Reviewed-by: anthony, serb
2013-10-02 11:32:56 +04:00
David Katleman
b4c28b3b28
Merge
2013-10-01 12:45:47 -07:00
Paul Sandoz
7ee60c366e
8025535: Unsafe typecast in java.util.stream.SortedOps
...
Reviewed-by: mduigou, chegar
2013-10-01 18:20:03 +02: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
Vera Akulova
6d63827a99
7125471: [macosx] NofocusListDblClickTest should wait between doublr clicks
...
Reviewed-by: anthony, serb
2013-10-01 13:19:07 +04:00
Sergey Bylokhov
0c7604f2bc
7150100: [macosx] "0123456789" is selected in the TextField
...
Reviewed-by: anthony, art
2013-10-01 04:29:50 +04:00
Kumar Srinivasan
a210a6a74e
8020552: [launcher] changes to support removal of Solaris 32-bit distribution
...
8023495: [infra] create 64-bit solaris bits with symlinks
Reviewed-by: ihse, tbell, dholmes, darcy, alanb, erikj, sla, martin
2013-09-27 16:29:44 -07:00
Patrick Reinhart
2c516bc7b4
6870661: Setting a custom PrintService on a PrinterJob leads to a PrinterException
...
Reviewed-by: prr, jgodinez
2013-09-27 13:04:54 -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
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
Alexander Stepanov
c49c083729
8024122: [TEST] need test to cover JDK-7146572
...
Reviewed-by: anthony, yan
2013-09-27 14:29:27 +04:00
Lana Steuck
65dd56bc16
Merge
2013-09-26 17:21:47 -07:00
Lana Steuck
5f840f6118
Merge
2013-09-26 17:18:12 -07:00
Clemens Eisserer
00c37e4e9e
8024895: xrender MaskImage cache isn't accounting for change in alpha
...
Reviewed-by: prr, jchen
2013-09-26 16:30:38 -07:00
Stephen Colebourne
242f0dd3c2
8025718: Enhance error messages for parsing
...
Add values and types to exception messages
Reviewed-by: lancea
2013-09-26 15:19:27 -07:00
Roger Riggs
c9982055b4
8024612: java/time/tck/java/time/format/TCKDateTimeFormatters.java failed
...
The test should be using the Locale.Category.FORMAT to verify the test data
Reviewed-by: lancea
2013-10-09 11:02:55 -04:00
Mandy Chung
18f83d0a7c
8026027: Level.parse should return the custom Level instance instead of the mirrored Level
...
Reviewed-by: dfuchs, chegar
2013-10-09 06:24:42 -07:00
Phil Race
d0ef16f2c3
7092764: java.awt.font.TransformAttribute.equals(null) throws NPE
...
Reviewed-by: jgodinez, jchen
2013-09-26 15:06:39 -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
Konstantin Shefov
c3a64bea84
8004032: [TEST_BUG] [macosx] There is no effect when double clicking on the Icon, after right clicking on the Icon and the Icon disappear
...
Reviewed-by: anthony, serb
2013-09-25 16:52:46 +04:00
Alexander Scherbatiy
c0720f17f6
8007155: [macosx] Disabled panel takes mouse input in JLayeredPane
...
Reviewed-by: serb, anthony
2013-09-25 16:17:42 +04: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
Sergey Bylokhov
10ff8a3aa4
7172833: For default java.awt.Toolkit impl methods java.awt.Toolkit.is/setDynamicLayout() are not consistent
...
Reviewed-by: alexsch, anthony
2013-09-23 17:55:36 +04:00
Vera Akulova
ae556f32b9
8017180: [macosx] [TEST_BUG] alt-key doesn't work on macos for menu
...
Reviewed-by: alexsch, serb
2013-09-20 17:16:45 +04:00
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