2616 Commits

Author SHA1 Message Date
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
Arno Zeller
f67111067e 8234696: tools/jlink/plugins/VendorInfoPluginsTest.java times out
Reviewed-by: mchung, clanger
2019-12-02 17:10:02 +01:00
Chris Plummer
b1c42a1d46 8235221: Fix ProblemList.txt for sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java
Reviewed-by: iignatyev
2019-12-03 20:08:37 -08: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
John Jiang
3cb74bd7ee 8235255: ProblemList javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java
Reviewed-by: mullan
2019-12-04 00:06:41 +08: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
Igor Ignatyev
6864634fb1 8216041: [Event Request] - Deoptimization
Reviewed-by: iignatyev, vlivanov, egahlin
2019-12-03 12:41:45 +01:00
Prasanta Sadhukhan
c7a2e3b838 Merge 2019-12-03 12:42:20 +05:30
Prasanta Sadhukhan
50190491d7 Merge 2019-12-03 11:52:31 +05:30
Weijun Wang
bc19b64856 8234744: KeyStore.store can write wrong type of file
Reviewed-by: mullan
2019-12-03 14:38:18 +08:00
Prasanta Sadhukhan
55f3fd95e6 8234149: Several regression tests do not dispose Frame at end
Reviewed-by: serb
2019-12-02 11:58:14 +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
Erik Gahlin
b3ea416824 8234671: JFR api/consumer/recordingstream/TestStart.java failed due to timeout at testStartTwice()
Reviewed-by: mgronlun
2019-11-29 17:31:01 +01:00
Sibabrata Sahoo
b03ba9e300 8234723: javax/net/ssl/TLS tests support TLSv1.3
Missing TLSv1.3 test cases

Reviewed-by: xuelei
2019-11-28 22:29:07 -08:00
John Jiang
ec16834845 8234724: javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java supports TLSv1.3
Reviewed-by: xuelei
2019-11-29 14:07:16 +08:00
Rajan Halade
17c2f4808a 8233223: Add Amazon Root CA certificates
Reviewed-by: mullan
2019-11-28 10:43:35 -08: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
Chihiro Ito
558aadf608 8232594: Make the output of the JFR command duration more user friendly
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Reviewed-by: egahlin, cito
2019-11-28 18:30:18 +01:00
Julia Boes
e00ded00f0 8233185: HttpServer.stop() blocks indefinitely when called on dispatch thread
Skip dispatcherThread.join() if current thread is the dispatcherThread

Reviewed-by: dfuchs, msheppar, vtewari
2019-11-28 13:02:30 +00:00
Erik Gahlin
f0f0957934 8234888: EventStream::close doesn't abort streaming thread
Reviewed-by: mgronlun, mseledtsov
2019-11-28 16:38:25 +01: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
Pankaj Bansal
a5f4fa710f 8230235: Rendering HTML with empty img attribute and documentBaseKey cause Exception
Reviewed-by: serb, aivanov
2019-11-27 11:05:22 +05:30
Prasanta Sadhukhan
b690482e64 8193544: Regression automated test '/open/test/jdk/javax/swing/JDialog/Transparency/TransparencyTest.java' fails
Reviewed-by: serb
2019-11-25 11:20:14 +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
Tejpal Rebari
5cd9439695 8190763: Class cast exception on (CompoundEdit) UndoableEditEvent.getEdit()
Reviewed-by: psadhukhan, pbansal, serb
2019-11-20 12:18:46 +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
Weijun Wang
d5b423d17c 8234377: new BitArray(0).toString() throws ArrayIndexOutOfBoundsException
Reviewed-by: mullan, wetmore
2019-11-20 08:12:14 +08:00
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
Alex Menkov
2f1db3201d 8234358: Update ProblemList entry for NashornPopFrameTest
Reviewed-by: dtitov, cjplummer
2019-11-20 16:10:38 -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
Alan Bateman
745feb207c 8233922: Service binding augments module graph with observable incubator modules
Reviewed-by: mchung
2019-11-19 11:35:29 +00:00
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
Prasanta Sadhukhan
456fd9003e 8233634: [TESTBUG] Swing text test bug4278839.java fails on macos
Reviewed-by: serb
2019-11-14 10:59:45 +05:30
Prasanta Sadhukhan
4a5b745acc 8233986: ProblemList javax/swing/plaf/basic/BasicTextUI/8001470/bug8001470.java for windows-x64
Reviewed-by: serb
2019-11-14 10:56:09 +05:30
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
Martin Balao
0e5a288dfe 8233404: System property to set the number of PBE iterations in JCEKS keystores
Reviewed-by: weijun
2019-11-12 00:30:55 -03:00
Per Lidén
097ca3b94f 8234383: Test TestBiasedLockRevocationEvents.java assumes -XX:UseBiasedLocking is enabled
Reviewed-by: mgronlun, tschatzl
2019-11-20 10:37:46 +01:00
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
Prasanta Sadhukhan
a71509ce0d 8233833: ProblemList java/awt/Frame/FrameLocation/FrameLocation.java for linux-x64
Reviewed-by: serb
2019-11-08 13:16:27 +05:30
Sergey Bylokhov
df7d0d404b 8233657: Intermittent NPE in Component.validate()
Reviewed-by: prr
2019-11-08 05:24:29 +00:00