Commit Graph

1335 Commits

Author SHA1 Message Date
Phil Race
76b1472989 Merge 2020-01-09 10:14:59 -08:00
Brian Burkhalter
d6a5897f41 8236804: java/nio/channels/FileChannel/MapWithSecurityManager.java should be run in othervm mode
Reviewed-by: chegar, lancea
2020-01-08 11:38:08 -08:00
Brian Burkhalter
31b9bbd87b 8236582: (fc) FileChannel.map fails with InternalError when security manager enabled
Reviewed-by: alanb
2020-01-08 08:35:33 -08:00
Jesper Wilhelmsson
257a1bb854 Merge 2020-01-08 16:03:32 +01:00
Brian Burkhalter
d8e3d8af7b 8236804: java/nio/channels/FileChannel/MapWithSecurityManager.java should be run in othervm mode
Reviewed-by: chegar, lancea
2020-01-09 08:31:41 -08:00
Brian Burkhalter
7cd4d9ac6a 8236582: (fc) FileChannel.map fails with InternalError when security manager enabled
Reviewed-by: alanb
2020-01-09 08:31:29 -08:00
Paul Sandoz
e5b0568e1c 8236769: Clarify javadoc of memory access API
Reviewed-by: chegar
2020-01-08 23:12:45 +00:00
Sureshkumar Mahaliswamy
984abfeb3f 8234309: LFGarbageCollectedTest.java fails with parse Exception
LFGarbageCollectedTest.java fails with parse Exception

Reviewed-by: mchung
2020-01-09 22:42:53 -08:00
Ivan Gerasimov
78c4ab4449 8234423: Modifying ArrayList.subList().subList() resets modCount of subList
Reviewed-by: rriggs
2020-01-09 15:38:41 -08:00
Jesper Wilhelmsson
943b87ddde Merge 2020-01-09 20:21:53 +01:00
Naoto Sato
e72f6028fb 8236495: open/test/jdk/java/util/Locale/LocaleProvidersRun.java failed on mac 10.14 with de_DE locale
Reviewed-by: lancea, clanger
2020-01-06 17:23:57 -08:00
Naoto Sato
2e237e35fd 8227313: Support monetary grouping separator in DecimalFormat/DecimalFormatSymbols
Reviewed-by: joehw
2020-01-06 10:31:20 -08:00
Chris Yin
6da7ea6ea3 8236595: Add more comments about how to setup simulated NVRAM before run java/nio/MappedByteBuffer/PmemTest.java
Reviewed-by: alanb, adinn
2020-01-06 11:29:38 +08:00
Sergey Bylokhov
151ab6acc1 8236545: Compilation error in mach5 java/awt/FileDialog/MacOSGoToFolderCrash.java
Reviewed-by: dmarkov
2020-01-03 13:40:33 -08:00
Sergey Bylokhov
8f8f43999c 8210231: Robot.delay() catches InterruptedException and prints stacktrace to stderr
Reviewed-by: alanb, smarks
2019-12-25 14:17:57 +03:00
Chris Hegarty
417672bc9d 8236441: Bound MulticastSocket fails when setting outbound interface on Windows
Reviewed-by: alanb
2019-12-23 09:17:00 +00:00
Patrick Concannon
00c40ae1e3 7021373: DatagramPacket exception conditions are not clear
Specification is clarified by adding or clarifying @throws clauses where required

Reviewed-by: alanb, chegar, darcy, dfuchs
2020-02-07 11:10:41 +00:00
Mandy Chung
c0f23a8604 8230047: Remove legacy java.lang.reflect.ProxyGenerator_v49
Reviewed-by: rriggs, sundar
2020-02-05 09:53:56 -08:00
Clive Verghese
e7e182a318 8235699: ArrayIndexOutOfBoundsException in CalendarBuilder.toString
Reviewed-by: phh, alanb, weijun, simonis, rriggs
2020-02-05 16:39:45 +01:00
Jesper Wilhelmsson
89e9ae9b3c Merge 2020-02-05 03:24:41 +01:00
Daniel Fuchs
b069da31e0 8238231: Custom DatagramSocketImpl's create method not called when with protected constructor
Allow the socket to be lazily created if not created by the constructor.

Reviewed-by: alanb
2020-02-04 18:35:37 +00:00
Brian Burkhalter
7db8a1762f 8237514: Spec Clarification - ByteBuffer::alignmentOffset Spec
Reviewed-by: alanb, psandoz
2020-01-31 08:04:11 -08:00
Roger Riggs
2760497b01 8237368: Problem with NullPointerException in RMI TCPEndpoint.read
Reviewed-by: mchung, alanb
2020-01-24 13:33:31 -05:00
Nick Gasson
987ba9f3a4 8237521: Memory Access API fixes for 32-bit
Reviewed-by: mcimadamore, dholmes
2020-01-24 17:41:44 +08:00
Brian Burkhalter
f4f7dbd54c 8225471: Test utility jdk.test.lib.util.FileUtils.areAllMountPointsAccessible needs to tolerate duplicates
Reviewed-by: alanb
2020-01-23 10:19:32 -08:00
Adam Sotona
f2013ac247 8236997: tools/javac tests fail with --illegal-access=deny
Correctly exporting packages to tests.

Reviewed-by: jlahoda
2020-01-28 09:13:27 +01:00
Jesper Wilhelmsson
a94b4fc695 Merge 2020-01-24 22:39:58 +01:00
Jesper Wilhelmsson
c6c828fa6e Merge 2020-01-23 22:59:49 +01:00
Naoto Sato
d517220df6 8236903: ZoneRules#getOffset throws DateTimeException for rules with last rules
Reviewed-by: scolebourne, rriggs
2020-01-22 12:35:24 -08:00
Brian Burkhalter
40d0110ac6 8237186: Fix typo in copyright header of java/io/Reader/TransferTo.java
Reviewed-by: mchung, lancea, prappo
2020-01-15 08:21:07 -08:00
Maurizio Cimadamore
099184950b 8235837: Memory access API refinements
Reviewed-by: chegar, psandoz
2020-01-15 11:09:00 +00:00
Joe Darcy
006b5e0f96 8233452: java.math.BigDecimal.sqrt() with RoundingMode.FLOOR results in incorrect result
Reviewed-by: bpb, dfuchs
2020-01-14 20:19:51 -08:00
Henry Jen
643a98d553 Merge 2020-01-15 01:57:30 +00:00
Henry Jen
ae81cfa30f Merge 2020-01-15 01:54:35 +00:00
Brian Burkhalter
a91ec31636 8237183: Bug ID missing for test in patch which fixed JDK-8230665
Reviewed-by: lancea
2020-01-14 17:28:54 -08:00
Brian Burkhalter
03cd98e15b 8230665: (bf spec) ByteBuffer::alignmentOffset spec misleading when address is misaligned
Reviewed-by: alanb, darcy, psandoz
2020-01-14 11:06:00 -08:00
Ivan Gerasimov
1507a1fb67 8234423: Modifying ArrayList.subList().subList() resets modCount of subList
Reviewed-by: rriggs
2020-01-13 18:00:32 -08:00
Henry Jen
231d9afe6f Merge 2020-01-09 20:16:21 +00:00
Alan Bateman
c6a4cea7a0 8236246: SelectorProvider support for creating a DatagramChannel that is not interruptible
Reviewed-by: chegar
2019-12-20 09:28:57 +00:00
Phil Race
9628324ae7 Merge 2019-12-19 12:28:56 -08:00
Sergey Bylokhov
61cfabff57 8223108: Test java/awt/EventQueue/NonComponentSourcePost.java is unstable
Reviewed-by: prr
2019-12-18 10:10:32 +03:00
Lin Zang
732a575738 8239139: test/jdk/java/nio/channels/spi/SelectorProvider/inheritedChannel/libInheritedChannel.c does not compile with gcc 8.3.1
Reviewed-by: michaelm
2020-02-19 11:31:48 +00:00
Xue-Lei Andrew Fan
4e430ffbb6 8239264: Clearup the legacy ObjectIdentifier constructor from int array
Reviewed-by: jnimeh
2020-02-17 18:52:50 -08:00
Aleksey Shipilev
1ef862d03d 8239007: java/math/BigInteger/largeMemory/ tests should be disabled on 32-bit platforms
Reviewed-by: bpb
2020-02-13 19:22:32 +01:00
John Jiang
446f59a26c 8234718: java/net/httpclient tests should cover TLSv1.3
Reviewed-by: dfuchs
2020-02-13 21:42:31 +08:00
Naoto Sato
5c3a01591c 8234347: "Turkey" meta time zone does not generate composed localized names
8236548: Localized time zone name inconsistency between English and other locales

Reviewed-by: joehw, rriggs
2020-02-12 08:25:35 -08:00
Sergey Bylokhov
ddc851536c 8235739: Rare NPE at WComponentPeer.getGraphics()
Reviewed-by: dmarkov, aivanov
2019-12-13 18:39:30 -08:00
Sergey Bylokhov
76da2b777a 8235638: NPE in LWWindowPeer.getOnscreenGraphics()
Reviewed-by: dmarkov, aivanov
2019-12-13 18:37:48 -08:00
Jorn Vernee
8f4f088a12 8234049: Implementation of Memory Access API (Incubator)
Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com>
Reviewed-by: alanb, psandoz, chegar, rriggs, plevart, briangoetz, jrose, adinn, vlivanov
2019-12-12 22:59:57 +00:00
Brian Burkhalter
7cdecd8981 8235668: LineNumberReader#getLineNumber() returns wrong line number (one fewer) in Lucene test
Reviewed-by: alanb, rriggs
2019-12-12 13:43:07 -08:00
Prasanta Sadhukhan
614e78b7fa Merge 2019-12-11 11:13:41 +05:30
Chris Hegarty
eec0e71c04 8235550: Clarify record reflective support specification
Reviewed-by: mcimadamore
2019-12-10 19:12:57 +00:00
Chris Hegarty
dadaffbbeb 8235531: Update record serialization migration tests to not use hard coded source versions
Reviewed-by: darcy
2019-12-10 19:10:14 +00:00
Prasanta Sadhukhan
28b4c4d781 Merge 2019-12-10 10:44:09 +05:30
Henry Jen
9ac2f8b654 8234542: code removal of Pack200 Tools and API
Reviewed-by: alanb, mchung, erikj
2019-12-10 00:36:30 +00:00
Tejpal Rebari
24232989ba 8234802: [TESTBUG] Test Right Mouse Button Drag Gesture Recognition in all the platforms
Reviewed-by: serb
2019-12-09 15:09:24 +05:30
Sergey Bylokhov
03dfd4f94b 8234522: [macos] Crash with use of native file dialog
Reviewed-by: prr, dmarkov
2019-12-11 14:30:45 -08:00
Sergey Bylokhov
3b1915a71f 8231438: [macOS] Dark mode for the desktop is not supported
Reviewed-by: prr, psadhukhan
2019-12-08 20:25:08 -08:00
Phil Race
1a73baeb10 Merge 2019-12-06 12:06:09 -08:00
Michael McMahon
b96610d017 8235475: Add additional timestamp to test java/nio/channels/Selector/SelectWithConsumer.java
Reviewed-by: alanb
2019-12-06 14:17:25 +00:00
Toshio Nakamura
6511acbf1e 8234386: [macos] NPE was thrown at expanding Choice from maximized frame
Reviewed-by: serb
2019-12-05 15:36:08 -08:00
Sergey Bylokhov
cd2cc6d796 8232226: [macos 10.15] test/jdk/java/awt/color/EqualityTest/EqualityTest.java may fail
Reviewed-by: prr, pbansal
2019-12-05 15:33:37 -08:00
Sergey Bylokhov
e4ddde03d2 8234137: The "AutoTestOnTop.java" test may run external applications
Reviewed-by: prr
2019-12-05 15:29:13 -08:00
Patrick Concannon
22e26b2a81 8234148: DatagramSocket.setOption/getOption/supportedOption should support multicast options
Fix adds multicast socket options to DatagramSocket

Reviewed-by: alanb, dfuchs, vtewari
2019-12-09 14:25:37 +00:00
Julia Boes
07fc539a85 8232513: java/net/DatagramSocket/PortUnreachable.java still fails intermittently with BindException
Increase the number of bind retries and test repeats, best effort only

Reviewed-by: msheppar, dfuchs, vtewari
2019-12-09 12:46:12 +00:00
Mandy Chung
e7fa637179 8235351: Lookup::unreflect should bind with the original caller independent of Method's accessible flag
Reviewed-by: alanb
2019-12-06 15:10:40 -08:00
Joe Darcy
e1921502c5 8235514: Update record serialization tests to not use hard coded source versions
Reviewed-by: lancea
2019-12-06 13:32:46 -08:00
Gustavo Romero
1691abc747 8234599: PPC64: Add support on recent CPUs and Linux for JEP-352
Reviewed-by: mbaesken, mdoerr, adinn
2019-11-21 17:10:26 -03:00
Igor Ignatyev
e2240b714e 8236111: narrow allowSmartActionArgs disabling
Reviewed-by: dholmes, mullan, darcy, rriggs
2020-01-15 21:20:40 -08:00
Jesper Wilhelmsson
51d5164ca2 Merge 2020-01-16 04:09:50 +01:00
Jesper Wilhelmsson
d34f561de0 Merge 2020-01-15 20:41:46 +01:00
Joe Darcy
81ec9e3087 8235369: Class.toGenericString need to be updated for records
Reviewed-by: vromero, mchung, chegar
2019-12-05 14:19:35 -08:00
Naoto Sato
730d0ecf19 8222756: Plural support in CompactNumberFormat
Reviewed-by: joehw, rriggs
2019-12-05 13:10:18 -08:00
Vicente Romero
827e5e3226 8225054: Compiler implementation for records
8225052: javax.lang.model support for records
8225053: Preview APIs support for records
8225055: Javadoc for records
8226314: com.sun.source support for records
8227113: Specification for java.lang.Record
8233526: JVM support for records

Implement records in the compiler and the JVM, including serialization, reflection and APIs support

Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: mcimadamore, briangoetz, alanb, darcy, chegar, jrose, jlahoda, coleenp, dholmes, lfoltan, mchung, sadayapalam, hannesw, sspitsyn
2019-12-04 15:57:39 -05:00
Mandy Chung
a445b66e58 8233527: Update Lookup::hasPrivateAccess and Lookup::defineClass spec w.r.t. full power lookup
Add a new Lookup::hasFullPrivilegeAccess method and document the capabilities requiring full privileges

Reviewed-by: alanb, plevart
2019-12-04 10:46:49 -08:00
Alan Bateman
e7d68cd13b 8235193: (dc) Remove JNI overhead from DatagramChannel.send implementation
Reviewed-by: chegar
2019-12-04 16:37:00 +00:00
Vladimir Ivanov
a6daef527e 8234923: Missed call_site_target nmethod dependency for non-fully initialized ConstantCallSite instance
Reviewed-by: jrose
2019-12-03 20:13:21 +03:00
Jim Laskey
234f326d79 8233116: Escape Sequences For Line Continuation and White Space (Preview)
Reviewed-by: vromero, jlahoda, bchristi, mcimadamore
2019-12-03 08:35:21 -04:00
Michael McMahon
7afaaf1229 8234824: java/nio/channels/SocketChannel/AdaptSocket.java fails on Windows 10
Reviewed-by: alanb
2019-12-03 11:57:10 +00:00
Michael McMahon
a2fad13ce2 8234823: java/net/Socket/Timeouts.java testcase testTimedConnect2() fails on Windows 10
Reviewed-by: alanb
2019-12-03 11:55:47 +00:00
Prasanta Sadhukhan
50190491d7 Merge 2019-12-03 11:52:31 +05:30
Ivan Gerasimov
cd589d8469 8234147: Avoid looking up standard charsets in core libraries
Reviewed-by: alanb
2019-12-01 15:29:37 -08:00
Alan Bateman
f3e90595aa 8234805: (dc) Remove JNI upcall from DatagramChannel.receive implementation
Reviewed-by: dfuchs, chegar
2019-11-30 16:21:19 +00:00
Patrick Concannon
55da7d34c9 8233307: MulticastSocket getOption(IP_MULTICAST_IF) returns interface when not set
The MulticastSocket method getOption has been changed to conform to the behavior described in StandardSocketOptions.IP_MULTICAST_IF.

Reviewed-by: chegar, dfuchs
2019-11-28 16:49:52 +00:00
Dmitry Batrak
0ee193c705 8210058: Algorithmic Italic font leans opposite angle in Printing
Reviewed-by: prr, jdv, psadhukhan
2019-11-27 16:39:52 +05:30
Jayathirth D V
51837b8a13 8233696: [TESTBUG]Some jtreg tests fail when CAPS_LOCK is ON
Reviewed-by: serb, prr
2019-11-22 11:35:26 +05:30
Prasanta Sadhukhan
94116efd0c 8234385: [TESTBUG] java/awt/EventQueue/6980209/bug6980209.java fails in linux nightly
Reviewed-by: serb
2019-11-21 14:43:47 +05:30
Prasanta Sadhukhan
3f517c65c0 Merge 2019-11-21 13:50:11 +05:30
Prasanta Sadhukhan
d2c63eec97 8234332: [TESTBUG] java/awt/Focus/DisposedWindow/DisposeDialogNotActivateOwnerTest/DisposeDialogNotActivateOwnerTest.java fails on linux-x64 nightly
Reviewed-by: serb
2019-11-20 11:29:27 +05:30
Prasanta Sadhukhan
9d6ace51a2 Merge 2019-11-20 10:52:28 +05:30
Brent Christian
469cb2b334 8233272: The Class.forName specification should be updated to match the long-standing implementation with respect to class linking
Reviewed-by: dholmes, mchung
2019-11-19 10:02:46 -08:00
Jayathirth D V
877e269895 8234184: [TESTBUG] java/awt/Mouse/EnterExitEvents/ModalDialogEnterExitEventsTest.java fails in Windows
Reviewed-by: psadhukhan
2019-11-15 16:58:07 +05:30
Daniel Fuchs
be18a54cb1 8233141: DatagramSocket.send doesn't specify exception thrown when no target address
DatagramSocket and MulticastSocket send methods are changed to throw IllegalArgumentException if no target address can be determined.

Reviewed-by: alanb
2019-11-18 16:48:05 +00:00
Sergey Bylokhov
d2c74d0c97 8232433: [macos 10.15] java/awt/Window/LocationAtScreenCorner/LocationAtScreenCorner.java may fail
Reviewed-by: prr
2019-11-14 15:13:29 -08:00
Mario Torre
194c2726ea 8231991: Mouse wheel change focus on awt/swing windows
Avoid focus logic when only mouse wheel is moved up/down.

Reviewed-by: serb, dmarkov
2019-11-12 15:54:24 +01:00
Prasanta Sadhukhan
a1e0fe458c 8233910: java/awt/ColorClass/AlphaColorTest.java is failing intermittently in nightly lnux-x64 system
Reviewed-by: serb, prr
2019-11-12 12:29:09 +05:30
Alan Bateman
7e42642939 8231259: (dc) DatagramChannel::disconnect re-binds socket to the wildcard address (macOS)
Reviewed-by: dfuchs, chegar
2019-11-20 08:35:53 +00:00
Sergey Bylokhov
df7d0d404b 8233657: Intermittent NPE in Component.validate()
Reviewed-by: prr
2019-11-08 05:24:29 +00:00
Weijun Wang
c0d097eac6 8214024: Remove the default keytool -keyalg value
Reviewed-by: mullan
2019-11-15 09:06:58 +08:00
Patrick Concannon
78accb5602 8233989: Create an IPv4 version of java/net/MulticastSocket/SetLoopbackMode.java
This fix adds an IPv4 version of test SetLoopbackMode.java that calls SetLoopbackMode in IPv4 only mode, and runs only if IPv4 is enabled.

Reviewed-by: dfuchs
2019-11-14 11:04:57 +00:00