Commit Graph

5977 Commits

Author SHA1 Message Date
Phil Race
def1d5a8c0 8242004: TextLayout throws Exception with a non-invertible transform
Reviewed-by: serb, jdv
2020-04-20 15:19:55 -07:00
Phil Race
9ad39392db 8233006: freetype incorrectly adjusts advances when emboldening rotated glyphs
Reviewed-by: serb, jdv
2020-04-20 13:50:16 -07:00
Sergey Bylokhov
73e52d0690 8242174: [macos] The NestedModelessDialogTest test make the macOS unstable
Reviewed-by: prr
2020-04-20 09:35:04 -07:00
Prasanta Sadhukhan
8b002d881d 8242526: PIT: javax/swing/JInternalFrame/8020708/bug8020708.java fails in mach5 ubuntu system
8233644: [TESTBUG] JInternalFrame test bug8020708.java is failing on macos

Reviewed-by: serb, pbansal, jdv
2020-04-17 11:29:01 +05:30
Jayathirth D V
12d93f11c0 8195841: PNGImageReader.readNullTerminatedString() doesnt check for non-null terminated strings with length equal to maxLen
Reviewed-by: serb, prr
2020-04-17 11:10:45 +05:30
Sergey Bylokhov
a11993519a 8196181: sun/java2d/GdiRendering/InsetClipping.java fails
Reviewed-by: jdv
2020-04-16 10:12:08 -07:00
Igor Ignatyev
5efa545d48 8242312: use reproducible random in hotspot gc tests
Reviewed-by: kbarrett, tschatzl
2020-04-14 12:50:09 -07:00
Sergey Bylokhov
2d350addf7 8152332: [macosx] JFileChooser cannot be serialized on Mac OS X
Reviewed-by: pbansal, jdv
2020-04-13 23:43:37 -07:00
Nikolay Martynov
313758a57a 8243489: Thread CPU Load event may contain wrong data for CPU time under certain conditions
Reviewed-by: jbachorik
2020-04-29 13:27:01 +02:00
Alan Bateman
fe152cdcc5 8243666: ModuleHashes attribute generated for JMOD and JAR files depends on timestamps
Reviewed-by: mchung
2020-04-29 08:38:28 +01:00
Stefan Karlsson
35af52dd4f 8244010: Simplify usages of ProcessTools.createJavaProcessBuilder in our tests
Reviewed-by: lmesnik, iignatyev, coleenp, dholmes
2020-04-29 08:52:18 +02:00
Stuart Monteith
739e8e322d 8216557: Aarch64: Add support for Concurrent Class Unloading
Co-authored-by: Andrew Haley <aph@redhat.com>
Reviewed-by: aph, eosterlund, pliden, njian
2020-04-29 14:53:48 +08:00
Serguei Spitsyn
0783dd69a5 8241807: JDWP needs update for hidden classes
Introduce test coverage for hidden class events

Reviewed-by: lmesnik, amenkov
2020-04-29 06:33:10 +00:00
Igor Ignatyev
7f49c9167a 8244066: ClassFileInstaller should be run in driver mode
Reviewed-by: iklam
2020-04-28 21:59:31 -07:00
Igor Ignatyev
a9d14e1462 8243944: use SkippedException and @requires in runtime/memory/ReadFromNoaccessArea.java test
Reviewed-by: minqi
2020-04-28 21:17:32 -07:00
Igor Ignatyev
6ff66db553 8242314: use reproducible random in vmTestbase shared code
Reviewed-by: kbarrett, lmesnik
2020-04-28 20:49:28 -07:00
Igor Ignatyev
70e632d5ec 8243935: remove copying of s.h.WB$WhiteBoxPermission in hotspot tests
Reviewed-by: dholmes, stefank
2020-04-28 19:57:02 -07:00
Chris Plummer
6911667eb7 8243500: SA: Incorrect BCI and Line Number with jstack if the top frame is in the interpreter (BSD and Windows)
Reviewed-by: amenkov, sspitsyn
2020-04-28 13:38:45 -07:00
Chris Plummer
5d2740b524 8231634: SA stack walking fails with "illegal bci"
Reviewed-by: amenkov, sspitsyn
2020-04-28 13:35:46 -07:00
Kiran Sidhartha Ravikumar
066346ce9c 8243541: (tz) Upgrade time-zone data to tzdata2020a
Reviewed-by: naoto, martin, andrew
2020-04-28 17:31:20 +00:00
Igor Ignatyev
9687723c81 8243932: compiler/codecache/cli/printcodecache/TestPrintCodeCacheOption.java test can use driver mode
Reviewed-by: thartmann
2020-04-28 11:33:37 -07:00
Igor Ignatyev
9921097bd9 8243942: use SkippedException in gc/arguments/TestSmallInitialHeapWithLargePageAndNUMA.java test
Reviewed-by: kbarrett
2020-04-28 11:32:45 -07:00
Erik Joelsson
87f0ff6c10 8243510: AbsPathsInImage.java fails on Windows
Reviewed-by: ihse, tbell
2020-04-28 08:22:28 -07:00
Harold Seigel
941643ece9 8242921: test/hotspot/jtreg/runtime/CompactStrings/TestMethodNames.java uses nashorn script engine
Put method names in a .jcod file instead of using nashorn to generate them

Reviewed-by: lfoltan, coleenp
2020-04-28 14:13:44 +00:00
Coleen Phillimore
3ed0849504 8243393: Improve ReservedSpace constructor resolution
Remove possibly ambiguous constructor and use directly in ReservedCodeHeap

Reviewed-by: stuefe
2020-04-28 07:35:28 -04:00
David Holmes
a8ffbb350d 8243989: test/hotspot/jtreg/serviceability/jvmti/CanGenerateAllClassHook/CanGenerateAllClassHook.java needs to use othervm
Reviewed-by: mdoerr
2020-04-28 05:53:19 -04:00
Rahul Yadav
184b433630 8242999: HTTP/2 client may not handle CONTINUATION frames correctly
Updated jdk.internal.net.http.Stream.incoming(Http2Frame frame) to handle continuation frame with END_HEADER flag

Reviewed-by: chegar, dfuchs
2020-04-28 10:30:27 +01:00
Igor Ignatyev
9cea1a5179 8243954: serviceability/logging/TestQuotedLogOutputs.java fails after 8243928
Reviewed-by: dholmes
2020-04-28 03:29:38 -04:00
Igor Ignatyev
1041efe027 8243946: serviceability/sa and jvmti tests fail after JDK-8243928
Reviewed-by: dholmes, mikael, sspitsyn
2020-04-27 22:24:54 -07:00
Serguei Spitsyn
ae9d5636f1 8243941: build issue introduced with the push of 8242237
Use right type to declare function argument

Reviewed-by: iignatyev
2020-04-28 04:46:08 +00:00
Igor Ignatyev
3a9f7648d2 8243928: several svc tests can be run in driver mode
Reviewed-by: amenkov
2020-04-27 20:06:22 -07:00
Serguei Spitsyn
223ca800cc 8242237: Improve JVM TI HiddenClasses tests
Improve JVM TI HiddenClasses test: cleanup + more comments

Reviewed-by: lmesnik, amenkov
2020-04-28 02:37:15 +00:00
Igor Ignatyev
a740f83da3 8243930: update copyright years
Reviewed-by: dholmes
2020-04-27 17:58:27 -07:00
Dean Long
03f8e6ccd8 8219607: Add support in Graal and AOT for hidden class
Reviewed-by: kvn
2020-04-27 14:23:15 -07:00
Daniil Titov
c2d3ff3bf8 8242239: [Graal] javax/management/generified/GenericTest.java fails: FAILED: queryMBeans sets same
Reviewed-by: cjplummer, sspitsyn
2020-04-27 12:48:09 -07:00
Igor Ignatyev
d84e4f1fd6 8243565: some gc tests use 'test.java.opts' and not 'test.vm.opts'
Reviewed-by: stefank
2020-04-27 10:25:29 -07:00
Igor Ignatyev
e0f46d0cb6 8243620: a few compiler/jvmci tests can be run in driver mode
Reviewed-by: thartmann
2020-04-27 09:16:39 -07:00
Igor Ignatyev
a3d14c6de5 8243622: all actions in compiler/aot/fingerprint/SelfChangedCDS.java can be run in driver mode
Reviewed-by: thartmann
2020-04-27 09:16:26 -07:00
Igor Ignatyev
a075c328e4 8243621: use SkippedException in compiler/jsr292/MHInlineTest.java test
Reviewed-by: thartmann
2020-04-27 09:16:11 -07:00
Igor Ignatyev
83a6527e44 8243619: compiler/codecache/CheckSegmentedCodeCache.java test misses -version
Reviewed-by: thartmann
2020-04-27 09:16:00 -07:00
Igor Ignatyev
9097c799f2 8243618: compiler/rtm/cli tests can be run w/o WhiteBox
Reviewed-by: thartmann
2020-04-27 09:15:47 -07:00
Igor Ignatyev
27dc913618 8243617: compiler/onSpinWait/TestOnSpinWaitC1.java test uses wrong class
Reviewed-by: thartmann
2020-04-27 09:15:34 -07:00
Roger Riggs
bdf672659c 8243010: Test support: Customizable Hex Printer
Reviewed-by: lancea, dfuchs, weijun
2020-04-16 15:45:37 -04:00
Claes Redestad
d2e0d0e06a 8243469: Lazily encode name in ZipFile.getEntryPos
Co-authored-by: Eirik Bjørsnøs <eirbjo@gmail.com>
Reviewed-by: lancea, simonis
2020-04-27 17:26:05 +02:00
Pavel Rappo
32eb99e3e3 8243563: Doc comments cleanup
Reviewed-by: egahlin
2020-04-27 12:34:32 +01:00
Ao Qi
5d783f761f 8242846: Bring back test/jdk/tools/jlink/plugins/OrderResourcesPluginTest.java
Reviewed-by: alanb, sundar
2020-04-27 16:28:52 +05:30
Erik Gahlin
e34508cba2 8242933: jdk/jfr/api/consumer/TestHiddenMethod uses nashorn script engine
Reviewed-by: mgronlun
2020-04-27 11:32:52 +02:00
Igor Ignatyev
806566519a 8243568: serviceability/logging/TestLogRotation.java uses 'test.java.opts' and not 'test.vm.opts'
Reviewed-by: lmesnik, dholmes
2020-04-26 18:09:33 -07:00
John Jiang
5fc5cb9f25 8243549: sun/security/ssl/CipherSuite/NamedGroupsWithCipherSuite.java failed with Unsupported signature algorithm: DSA
Reviewed-by: xuelei
2020-04-25 05:17:26 +08:00
Jonathan Gibbons
f9b816b8f9 8242649: improve the CSS class names used for summary and details tables
Reviewed-by: hannesw
2020-04-24 09:14:51 -07:00
Daniel Fuchs
94a99ab9e5 8243246: HTTP Client sometimes gets java.io.IOException -> Invalid chunk header byte 32
The HTTP/1 chunked body parser is updated to discard chunk extensions

Reviewed-by: chegar, alanb
2020-04-24 16:54:30 +01:00
Tejpal Rebari
816d9483f0 8241228: Test jdk/javax/swing/UIDefaults/8146330/UIDefaultKeySizeTest.java is failing
Reviewed-by: serb, pbansal, psadhukhan
2020-04-13 17:42:05 +05:30
Prasanta Sadhukhan
efba976cfb Merge 2020-04-11 10:32:17 +05:30
Prasanta Sadhukhan
6b0b851a7c Merge 2020-04-10 11:47:09 +05:30
Chris Plummer
e0a75ed00d 8242162: convert clhsdb "sysprops" command from javascript to java
Reviewed-by: sspitsyn, ysuenaga
2020-04-09 07:13:49 -07:00
Jim Laskey
ef8537ec1a 8241741: Implement Text Blocks as a standard feature in javac
Reviewed-by: jlahoda
2020-04-09 10:55:01 -03:00
Jim Laskey
d9bf934831 8241742: Remove the preview status for methods introduced for Text Blocks
Reviewed-by: psandoz, chegar, alanb
2020-04-09 10:55:01 -03:00
Igor Ignatyev
7c351405c4 8242310: use reproducible random in hotspot compiler tests
Reviewed-by: kvn, thartmann
2020-04-08 22:58:42 -07:00
Igor Ignatyev
0eb72d4e74 8241707: introduce randomness k/w to hotspot test suite
Reviewed-by: kvn, mseledtsov
2020-04-08 22:54:35 -07:00
Chris Plummer
d1091364aa 8240990: convert clhsdb "dumpclass" command from javascript to java
Reviewed-by: sspitsyn, ysuenaga
2020-04-08 21:01:01 -07:00
Jie Fu
3487361a39 8242379: [TESTBUG] compiler/loopopts/TestLoopUnswitchingLostCastDependency.java fails with release VMs
Reviewed-by: roland, kvn
2020-04-09 09:20:18 +08:00
Chris Plummer
82dfec76c6 8242384: sa/TestSysProps.java failed due to "RuntimeException: Could not find property in jinfo output: [0.058s][info][cds] Archive was created with UseCompressedOops"
Reviewed-by: dcubed
2020-04-08 14:11:06 -07:00
Leonid Mesnik
3a6249d0c7 8242295: Change ThreadMBean in vmTestbase/nsk/monitoring to ThreadMXBean
Reviewed-by: iignatyev
2020-04-08 13:14:19 -07:00
Hannes Wallnöfer
ac8d42087a 8240169: javadoc fails to link to non-modular api docs
Reviewed-by: jjg
2020-04-08 22:04:51 +02:00
Hannes Wallnöfer
cdb379e5b4 8237383: Members inherited from non-public types are not included in index
Reviewed-by: jjg
2020-04-08 21:28:14 +02:00
Chris Plummer
64957a1770 8242265: serviceability/sa/ClhsdbScanOops.java fails due to bad @requires expression
Reviewed-by: sspitsyn, lmesnik
2020-04-08 12:03:02 -07:00
Patricio Chilano Mateo
89a33e69a7 8240918: [REDO] Allow direct handshakes without VMThread intervention
REDO of 8230594

Reviewed-by: dholmes, rehn, mdoerr, coleenp, dcubed
2020-04-08 18:32:21 +00:00
Naoto Sato
51a5e9ca3c 8242010: Upgrade IANA Language Subtag Registry to Version 2020-04-01
Reviewed-by: rriggs, joehw
2020-04-08 09:50:03 -07:00
Roger Riggs
0ffbbc821a 8242382: test/jdk/TEST.groups cleanup of sun/tools/java
Reviewed-by: lancea, dfuchs
2020-04-08 11:43:50 -04:00
Zhengyu Gu
6c1f8e1dc2 8242370: Enable JFR TestGCPhaseConcurrent test for Shenandoah
Reviewed-by: stefank
2020-04-08 11:33:17 -04:00
Prasanta Sadhukhan
a6678d2e58 8240877: NPE at javax.swing.text.html.FormView.appendBuffer with null option values
Reviewed-by: serb
2020-04-08 16:29:03 +05:30
Sergey Bylokhov
a62b24f573 8241829: Cleanup the code for PrinterJob on windows
Reviewed-by: prr, aivanov
2020-04-08 02:03:56 -07:00
Sergey Bylokhov
84fc4850a6 7105119: [TEST_BUG] [macosx] In test UIDefaults.toString() must be called with the invokeLater()
Reviewed-by: prr, psadhukhan
2020-04-07 21:56:04 -07:00
Sergey Bylokhov
8eb7c3efb1 8196019: java/awt/Window/Grab/GrabTest.java fails on Windows
Reviewed-by: prr, jdv
2020-04-06 20:27:40 -07:00
Andy Herrick
1cca0e48e0 8237490: [macos] Add support notarizing jpackage app-image and dmg
Reviewed-by: asemenyuk, almatvee
2020-04-08 09:44:53 -04:00
Roger Riggs
50ed53076f 8225319: Remove rmic from the set of supported tools
Reviewed-by: erikj, alanb, lancea, jjg, amlu
2020-04-08 09:22:08 -04:00
Adam Sotona
c2efd224ca 8239544: Javac does not respect should-stop.ifNoError policy to stop after CompileState PARSE, ENTER and PROCESS
JavaCompiler patch fixing its response to should-stop.ifNoError= option for PARSE, ENTER and PROCESS compiler states + new T8239544.java matrix regression test

Reviewed-by: jlaskey, jlahoda
2020-04-08 15:00:39 +02:00
Erik Gahlin
05c26d8b65 8241828: JFR: Some streaming tests require a larger heap size with ZGC
Reviewed-by: stefank
2020-04-08 10:43:16 +02:00
Roland Westrelin
6405d75070 8241900: Loop unswitching may cause dependence on null check to be lost
Reviewed-by: thartmann, kvn
2020-04-02 15:03:27 +02:00
Jamil Nimeh
6b7a466f74 8242294: JSSE Client does not throw SSLException when an alert occurs during handshaking
Reviewed-by: xuelei
2020-04-08 00:03:56 -07:00
Weijun Wang
d8539a51ef 8242184: CRL generation error with RSASSA-PSS
Reviewed-by: xuelei
2020-04-08 10:13:12 +08:00
Chris Plummer
ccd2a16c58 8242165: SA sysprops support fails to dump all system properties
Reviewed-by: sspitsyn, ysuenaga
2020-04-07 18:32:55 -07:00
Chris Plummer
9fb91b4e9c 8242142: convert clhsdb "class" and "classes" commands from javascript to java
Reviewed-by: sspitsyn, amenkov
2020-04-07 16:31:46 -07:00
Liam Miller-Cushon
25642dd303 8035787: SourcePositions are wrong for Strings concatenated with '+' operator
Reviewed-by: jlahoda
2020-04-06 15:40:16 -07:00
Chris Plummer
a40ef7e41d 8242235: Disable SA testing on Solaris. Remove JDK-8193639 entries from ProblemList.txt
Reviewed-by: dcubed, amenkov
2020-04-07 13:56:53 -07:00
Jonathan Gibbons
7ac64b81ee 8241895: use new "details-list" CSS class instead of general "block-list" for list of details sections
Reviewed-by: hannesw
2020-04-07 12:41:49 -07:00
Jonathan Gibbons
8523e37f7e 8242056: Merge support for AnnotationType builders/writers into support for other types
Reviewed-by: hannesw
2020-04-07 09:50:36 -07:00
Chris Plummer
cceee2c638 8242168: ClhsdbFindPC.java failed due to "RuntimeException: 'In code in NMethod for LingeredAppWithTrivialMain.main' missing from stdout/stderr"
Reviewed-by: lmesnik, iignatyev
2020-04-07 09:36:13 -07:00
Patrick Concannon
378aef32ab 8240533: Inconsistent Exceptions are thrown by DatagramSocket and DatagramChannel when sending a DatagramPacket to port 0
Fix adds checks for port == 0 to the send and connect methods in DatagramSocket and DatagramChannelImpl

Reviewed-by: alanb, chegar, dfuchs, lancea
2020-04-07 16:21:01 +01:00
Mikhailo Seledtsov
1a40b7931a 8241695: JFR TestCrossProcessStreaming.java child process exited with SIGQUIT (131)
Waiting for child's main() to start before attaching

Reviewed-by: egahlin
2020-04-07 07:21:41 -07:00
Lance Andersen
6351f95bc1 8242006: (zipfs) Improve Zip FS FileChannel and SeekableByteChannel test coverage
Reviewed-by: clanger
2020-04-07 09:03:05 -04:00
Aleksey Shipilev
951cda8d1f 8242273: Shenandoah: accept either SATB or IU barriers, but not both
Reviewed-by: rkennke
2020-04-07 13:18:47 +02:00
Aleksey Shipilev
5fff119dde 8242271: Shenandoah: add test to verify GC mode unlock
Reviewed-by: rkennke
2020-04-07 13:18:46 +02:00
Alex Menkov
e18d66174a 8237572: Combine the two LingeredApp classes
Reviewed-by: cjplummer, lmesnik
2020-04-06 12:51:40 -07:00
Alexey Semenyuk
3aa216ecdf 8241713: Linux desktop shortcuts with spaces make postinst/prerm fail
Reviewed-by: almatvee, herrick
2020-04-04 07:09:52 -04:00
Roman Kennke
c4d01f8c8b 8242054: Shenandoah: New incremental-update mode
Reviewed-by: shade
2020-04-06 17:08:46 +02:00
Daniil Titov
ba26538cef 8241530: com/sun/jdi tests fail due to network issues on OSX 10.15
Reviewed-by: amenkov, sspitsyn
2020-04-06 07:39:58 -07:00
Thomas Stuefe
5aed2164ea 8241726: Re-enable gtest for BitMap::count_one_bits()
Reviewed-by: mdoerr, clanger
2020-04-06 10:19:28 +02:00
Liam Miller-Cushon
4895a19dd1 8241798: Allow enums to have more constants
Reviewed-by: mcimadamore, briangoetz, forax
2020-03-28 16:15:52 -07:00
Roger Riggs
3cf922b3d1 8242462: Residual Cleanup of rmic removal
Reviewed-by: jjg, amlu, erikj, iignatyev, mseledtsov
2020-04-10 16:33:56 -04:00
Lance Andersen
93831d4ed2 8241883: (zipfs) SeekableByteChannel:close followed by SeekableByteChannel:close will throw an NPE coverage
Reviewed-by: clanger, alanb
2020-04-10 14:00:01 -04:00
Alex Menkov
f11d4628c1 8242282: Test sun/tools/jps/TestJps.java fails after JDK-8237572
Reviewed-by: dcubed, cjplummer
2020-04-10 10:52:26 -07:00
Rahul Yadav
86722cb038 8239594: jdk.tls.client.protocols is not respected
8239595: ssl context version is not respected

The java.net.HttpClient is updated to no longer override any default selected protocols in the SSLContext, in the absence of  any SSLParameters explicitly supplied to the HttpClient.builder.

Reviewed-by: chegar, dfuchs
2020-04-10 10:05:33 +01:00
Weijun Wang
502d45955f 8240848: ArrayIndexOutOfBoundsException buf for TextCallbackHandler
Reviewed-by: mullan
2020-04-10 15:05:42 +08:00
Martin Balao
2883bccf48 8239385: KerberosTicket client name refers wrongly to sAMAccountName in AD
Reviewed-by: weijun
2020-03-28 19:41:10 -03:00
Patrick Concannon
469c13a86d 8243488: Add tests for set/get SendBufferSize and getReceiveBufferSize in DatagramSocket
Tests added for methods: setSendBufferSize(int), getSendBufferSize(), and getReceieveBufferSize() to increase test coverage in the DatagramSocket class

Reviewed-by: alanb, chegar, dfuchs
2020-05-05 18:34:39 +01:00
Fernando Guallini
cd9b2bb97f 8244444: [TESTBUG] Test for XPathEvaluationResult.XPathResultType
Reviewed-by: joehw
2020-05-05 16:59:41 +00:00
Igor Ignatyev
2163dec6c4 8243432: use reproducible random in :vmTestbase_vm_defmeth
Reviewed-by: dholmes
2020-05-05 09:54:51 -07:00
Igor Ignatyev
0b7a47665f 8243431: use reproducible random in :vmTestbase_vm_metaspace
Reviewed-by: dholmes
2020-05-05 09:54:51 -07:00
Igor Ignatyev
a899004d4e 8244384: @requires-related clean up in gc/metaspace/ tests
Reviewed-by: kbarrett, stefank
2020-05-05 09:27:24 -07:00
Igor Ignatyev
c976be69c3 8244385: various clean-ups in runtime tests
Reviewed-by: minqi
2020-05-05 09:27:22 -07:00
Stefan Karlsson
81597d9f8f 8244078: ProcessTools executeTestJvm and createJavaProcessBuilder have inconsistent handling of test.*.opts
Reviewed-by: dholmes, cjplummer
2020-05-04 21:20:39 +02:00
Sibabrata Sahoo
a8edd11d7a 8242335: Additional Tests for RSASSA-PSS
New Tests for RSASSA-PSS

Reviewed-by: valeriep
2020-05-04 23:07:04 -07:00
Erik Gahlin
600319b68a 8244149: jdk/jfr/api/consumer/recordingstream/TestOnEvent.java times out
Reviewed-by: mgronlun
2020-05-04 23:16:44 +02:00
Leonid Mesnik
df182ea6e0 8244133: Refactor nsk/jdi tests to reduce code duplication in settingBreakpoint communication
Reviewed-by: cjplummer, sspitsyn
2020-05-04 11:40:09 -07:00
Andy Herrick
342edb4c6d 8244018: No error message for non-existent icon path
Reviewed-by: asemenyuk, almatvee
2020-05-04 13:39:46 -04:00
Alan Bateman
0efacb3eed 8244292: Headful clients failing with --illegal-access=deny
Reviewed-by: prr
2020-05-04 19:07:41 +01:00
Jorn Vernee
31041d406a 8241100: Make Boolean, Character, Byte, and Short implement Constable
Reviewed-by: jrose, briangoetz, psandoz
2020-05-04 09:41:01 -07:00
Alan Bateman
c7b1b1bb74 8244284: Two tests in test/hotspot/jtreg/vmTestbase fail with --illegal-access=deny
Reviewed-by: iignatyev
2020-05-04 12:45:12 +01:00
Alan Bateman
e5099daae2 8244283: test/jdk/sun/net/idn/TestStringPrep.java fails with --illegal-access=deny
Reviewed-by: chegar
2020-05-04 12:40:17 +01:00
Alan Bateman
352e460529 8244281: test/jdk/com/sun/crypto/provider/KeyProtector/IterationCount.java fails with --illegal-access=deny
Reviewed-by: weijun, xuelei
2020-05-04 12:37:58 +01:00
Jan Lahoda
4e55421171 8243548: Javac incorrectly collects enum fields when verifying switch expression exhaustivness
When gathering enum constants for exhaustivness analysis, make sure nested enum classes are not included

Reviewed-by: vromero
2020-05-04 12:28:36 +02:00
Jan Lahoda
1a35219f01 8243557: Inconvenient span for multi-catch error diagnostics
Reviewed-by: vromero
2020-05-04 12:28:35 +02:00
Christian Hagedorn
bbcb3b638b 8230402: Allocation of compile task fails with assert: "Leaking compilation tasks?"
Remove assert that is only hit with hand written edge case tests.

Reviewed-by: kvn, thartmann
2020-05-04 10:23:23 +02:00
Igor Ignatyev
bcf3ae8245 8244142: some hotspot/runtime tests don't check exit code of forked JVM
Reviewed-by: gziemski, minqi
2020-04-29 19:55:52 -07:00
Igor Ignatyev
47c30dbc16 8244141: use @requires and SkippedException in some hotspot/runtime tests
Reviewed-by: minqi, gziemski
2020-05-02 07:17:20 -07:00
Igor Ignatyev
1ad4834807 8203238: [TESTBUG] rewrite MemOptions shell test in Java
Reviewed-by: mseledtsov, kbarrett
2020-03-24 17:18:35 -07:00
Tobias Hartmann
0c7e01fa32 8242108: Performance regression after fix for JDK-8229496
Backed out the fix for 8229496.

Reviewed-by: kvn, roland
2020-04-22 16:22:53 +02:00
Patrick Concannon
8e21a2a1e4 8237890: DatagramPacket::getSocketAddress doesn't specify what happens if address or port are not set
This fix changes the default port of a DatagramPacket from -1 to 0, which changes the behaviour of calling getSocketAddress with no port set from throwing an IAE to returning an InetSocketAddress representing any local address with port 0.

Reviewed-by: alanb, chegar, dfuchs
2020-04-22 12:34:09 +01:00
Chris Yin
61b03fbfa6 8242614: cleanup duplicated test ldap server in some com/sun/jndi/ldap/ tests
Reviewed-by: aefimov, vtewari, dfuchs
2020-04-22 09:44:10 +08:00
Vicente Romero
78a0baa57c 8241627: Updating ASM to 8.0.1 for JDK 15
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Reviewed-by: psandoz, chegar
2020-04-21 21:25:26 -04:00
Pavel Rappo
c7ae195a03 8243318: New test jdk/javadoc/tool/8224612/OptionsTest.java is failing
Reviewed-by: jjg
2020-04-22 01:30:16 +01:00
Chris Plummer
d041941e64 8242789: sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java fails with 'JShellToolProvider' missing from stdout/stderr
Reviewed-by: amenkov, sspitsyn
2020-04-21 16:13:24 -07:00
Chris Plummer
d80f55e7e9 8243206: Cleanup error checking and handling in serviceability/sa/JhsdbThreadInfoTest.ja
Reviewed-by: amenkov, sspitsyn
2020-04-21 16:11:25 -07:00
Pavel Rappo
392b75d158 8224612: javadoc should better handle empty set of doclet options
Reviewed-by: hannesw
2020-04-21 20:09:49 +01:00
Mandy Chung
1c6ca09b02 8238195: Lookup::defineClass should link the class to match the specification
Reviewed-by: alanb, chegar
2020-04-21 07:09:18 -07:00
Mandy Chung
1feb24e561 8243274: suppress warnings in LookupDefineClass microbenchmarks due to JDK-8243156
Reviewed-by: lfoltan
2020-04-21 07:08:55 -07:00
Mandy Chung
7cc1371059 8238358: Implementation of JEP 371: Hidden Classes
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: David Holmes <david.holmes@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jamsheed Mohammed C M <jamsheed.c.m@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Reviewed-by: alanb, cjplummer, coleenp, dholmes, dlong, forax, jlahoda, psandoz, plevart, sspitsyn, vromero
2020-04-21 06:55:38 -07:00
Magnus Ihse Bursie
48569d9da0 8243156: Fix deprecation and unchecked warnings in microbenchmark
Reviewed-by: erikj, redestad
2020-04-21 13:52:32 +02:00
Ioi Lam
0bc7cc4d28 8241158: SA TestHeapDumpForInvokeDynamic.java fails when CDS archive is relocated
Reviewed-by: ccheung
2020-04-20 17:33:52 -07:00
Daniil Titov
db8757ad12 8231585: java/lang/management/ThreadMXBean/MaxDepthForThreadInfoTest.java fails with java.lang.NullPointerException
Reviewed-by: dholmes, cjplummer, sspitsyn
2020-04-20 09:24:47 -07:00
Daniel Fuchs
da1abd18db 8238270: java.net HTTP/2 client does not decrease stream count when receives 204 response
The HTTP/2 Stream is updated to register a trivial data subscriber in case of 204 so that the END_STREAM is correctly processed.

Reviewed-by: chegar
2020-04-20 13:15:45 +01:00
Magnus Ihse Bursie
e8dfd8ce54 8243154: Fix deprecation warnings in failure handler
Reviewed-by: dholmes
2020-04-20 13:37:38 +02:00
Jan Lahoda
ec1c111c6c 8243074: Misplaced and/or duplicate super or this constructor invocation not attributed
Fully attributing misplaced and/or duplicated super/this constructor invocations

Reviewed-by: mcimadamore
2020-04-20 12:36:09 +02:00
Jan Lahoda
4b6e75dc72 8243047: javac may crash when processing exits in class initializers
Flow should handle invalid exits from class initializers gracefully

Reviewed-by: vromero
2020-04-20 12:36:09 +02:00
Jan Lahoda
df82d9a4b5 8242802: javac crashes when checking equals and hashCode in unresolvable anonymous class
Preventing NullPointerException when a class has an erroneous supertype and does not have an implementation of the equals method.

Reviewed-by: darcy, vromero
2020-04-20 12:36:09 +02:00
Jan Lahoda
f08b5a8006 8241950: JShell could support auto-indent
Reviewed-by: rfield
2020-04-20 12:36:09 +02:00
Richard Reingruber
25cd1774a7 8242793: Incorrect copyright header in ContinuousCallSiteTargetChange.java
Reviewed-by: kvn
2020-04-15 22:02:36 +02:00
Claes Redestad
d185fe9953 8242452: During module definition, move conversion of packages from native to VM
8242290: Pointless verification in get_package_entry_by_name

Reviewed-by: lfoltan, iklam, hseigel
2020-04-18 19:45:45 +02:00
Kim Barrett
4d487927ad 8228991: Obsolete -XX:UseAdaptiveGCBoundary
Make option obsolete and removed supporting code.

Reviewed-by: tschatzl, stefank
2020-04-17 23:22:34 -04:00
Weijun Wang
05d6a66330 8242811: AlgorithmId::getDefaultAlgorithmParameterSpec returns incompatible PSSParameterSpec for an RSASSA-PSS key
Reviewed-by: valeriep, hchao
2020-04-18 11:13:14 +08:00
Jie Fu
f6f97ea24b 8242480: Negative value may be returned by getFreeSwapSpaceSize() in the docker
Reviewed-by: sgehwolf, dholmes
2020-04-17 14:48:11 +08:00
Chris Plummer
a4d318c92c 8242787: sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java fails with sun.jvm.hotspot.types.WrongTypeException
Reviewed-by: amenkov, sspitsyn, iklam
2020-04-17 10:09:06 -07:00
Mikhailo Seledtsov
1b45bf2d58 8241975: Run jdk/jfr/event/metadata/TestLookForUntestedEvents.java in tier3
Added the test to jdk_tier3 via jdk_jfr_tier3

Reviewed-by: egahlin
2020-04-17 09:53:56 -07:00
Tom Rodriguez
12f8b52fb8 8231756: [JVMCI] need support for deoptimizing virtual byte arrays encoding non-byte primitives
Reviewed-by: kvn
2020-04-17 09:31:37 -07:00
Vladimir Ivanov
078c027441 8242491: C2: assert(v2->bottom_type() == vt) failed: mismatch when creating MacroLogicV
Reviewed-by: kvn, sviswanathan, jbhateja
2020-04-17 17:58:52 +03:00
Athijegannathan Sundararajan
124caec26c 8242859: test/jdk/tools/jlink/JLinkTest.java uses nashorn module
Reviewed-by: jlaskey
2020-04-17 18:12:19 +05:30
Hai-May Chao
f04a7e5cb4 8172404: Tools should warn if weak algorithms are used before restricting them
Reviewed-by: mullan, weijun
2020-04-17 20:11:39 +08:00
Athijegannathan Sundararajan
25c70b3bc3 8242860: test/jdk/tools/jlink/ModuleNamesOrderTest.java uses nashorn module
Reviewed-by: alanb
2020-04-17 15:39:21 +05:30
Athijegannathan Sundararajan
b09a8ee657 8242931: Few more tests that use nashorn have been missed
Reviewed-by: dfuchs, dholmes
2020-04-17 09:50:02 +05:30
Igor Ignatyev
59563a4ca9 8240904: Screen flashes on test failures when running tests from make
Reviewed-by: erikj, serb
2020-04-16 17:42:13 -07:00
Philipp Kunz
455eaca215 8241055: Regex Grapheme Matcher Performance Depends too much on Total Input Sequence Size
Reviewed-by: naoto
2020-04-16 16:09:47 -07:00
Zhengyu Gu
50bca089c4 8243008: Shenandoah: TestVolatilesShenandoah test failed on aarch64
Reviewed-by: shade
2020-04-16 15:57:27 -04:00
Alexey Semenyuk
f64a255a3a 8232935: jpackage failed with NPE whenever --file-associations provided
Reviewed-by: herrick, almatvee
2020-04-16 10:30:06 -04:00
Chris Plummer
c6c1f9bad9 8230731: SA tests fail with "Windbg Error: ReadVirtual failed
Reviewed-by: amenkov, sspitsyn
2020-04-16 07:23:26 -07:00
Sean Mullan
3efd000036 8242565: Policy initialization issues when the denyAfter constraint is enabled
Reviewed-by: weijun
2020-04-16 09:48:32 -04:00
Athijegannathan Sundararajan
d5cd165965 8241749: Remove the Nashorn JavaScript Engine
Reviewed-by: jlaskey, ihse, mchung
2020-04-16 12:26:20 +05:30
Weijun Wang
dc6d76f518 8242260: Add forRemoval=true to already deprecated ContentSigner
Reviewed-by: alanb, mullan, xuelei
2020-04-16 13:47:09 +08:00
Lois Foltan
d37985cd70 8210012: Implement Unified Logging Option for -XX:+TraceMethodHandles and -XX:+TraceInvokeDynamic
Transition the tracing method handles command line options to unified logging, -Xlog:methodhandles.

Reviewed-by: dholmes, iklam, jrose
2020-04-15 21:01:02 +00:00
Anthony Scarpino
ed18906c08 8242008: SSLSession inconsistencies
Reviewed-by: jnimeh, xuelei
2020-04-15 13:50:41 -07:00
Henry Jen
0278846eaa Merge 2020-04-14 23:11:49 +00:00
Valerie Peng
7bce9a9158 8172680: Support SHA-3 based Hmac algorithms
Enhanced SunJCE provider with Hmac with SHA3 digests

Reviewed-by: weijun
2020-04-14 22:31:54 +00:00
Valerie Peng
4c7d85b636 8242556: Cannot load RSASSA-PSS public key with non-null params from byte array
Update AlgorithmId to use alg name before oid str when parsing DER bytes

Reviewed-by: mullan
2020-04-14 22:12:13 +00:00
Kim Barrett
4694da31f8 8242078: G1: Improve concurrent refinement analytics and logging
Unify data collection and reporting.

Reviewed-by: tschatzl, sjohanss
2020-04-14 17:31:53 -04:00
Denghui Dong
a62a0e5282 8238665: Add JFR event for direct memory statistics
Reviewed-by: egahlin, alanb
2020-04-14 20:36:33 +02:00
Hannes Wallnöfer
1cc71b41de 8241982: Make TestSearchScript.java run with GraalJS
Reviewed-by: sundar, jjg
2020-04-14 19:22:51 +02:00
Erik Joelsson
416f4ed7ae 8242463: ProcessTools.createNativeTestProcessBuilder() in testlib needs jdk/bin on PATH on Windows
Reviewed-by: iignatyev, mseledtsov, tbell
2020-04-14 07:54:54 -07:00
Prasadrao Koppula
aadc7c7ca8 8237474: Default SSLEngine should create in server role
Reviewed-by: xuelei, coffeys
2020-04-14 14:16:58 +00:00
Weijun Wang
8cd9241448 8242330: Arrays should be cloned in several JAAS Callback classes
Reviewed-by: mullan
2020-04-14 10:04:05 +08:00
Chris Plummer
4a09f31eff 8237250: pmap and pstack should do a better of making it clear that they are not supported on Mac OS X
Reviewed-by: amenkov, sspitsyn
2020-04-13 16:30:11 -07:00
Evgeny Nikitin
99a6b6b848 8174768: Make ProcessTools print executed process output into a separate file
Reviewed-by: dholmes, iignatyev
2020-03-24 15:21:38 +01:00
Chris Plummer
77041dc4ec 8235220: ClhsdbScanOops.java fails with sun.jvm.hotspot.types.WrongTypeException
Reviewed-by: amenkov, iklam
2020-04-13 13:21:56 -07:00
Igor Ignatyev
c73934d8c8 8242311: use reproducible random in hotspot runtime tests
Reviewed-by: iklam, mseledtsov
2020-04-13 12:32:57 -07:00
Igor Ignatyev
116fe806c3 8242313: use reproducible random in hotspot svc tests
Reviewed-by: cjplummer
2020-04-13 12:31:34 -07:00
Igor Ignatyev
15464b36c3 8242471: remove "temporarily" restrictions of nsk/jdi/Argument/value/value004
Reviewed-by: amenkov, cjplummer
2020-04-13 12:30:07 -07:00
Jonathan Gibbons
7a608f40fc 8242326: use new "summary-list" CSS class instead of general "block-list" for list of summary sections
Reviewed-by: hannesw
2020-04-13 10:54:12 -07:00
Brian Burkhalter
447d6499f1 8242292: (fs) FileSystems.getFileSystem(URI) should throw IAE if the URI scheme is null
Reviewed-by: lancea, alanb
2020-04-13 10:16:38 -07:00
Andy Herrick
83a1d70f0f 8242155: Enhance automated macos signing tests
Reviewed-by: asemenyuk, almatvee
2020-04-10 16:21:12 -04:00
Roland Westrelin
048c5c0ddd 8241041: C2: "assert((Value(phase) == t) || (t != TypeInt::CC_GT && t != TypeInt::CC_EQ)) failed: missing Value() optimization" still happens after fix for 8239335
Reviewed-by: thartmann, neliasso
2020-03-23 10:06:33 +01:00
Chris Plummer
a6b990f74a 8242153: ProblemList serviceability/sa/ClhsdbDumpheap.java on OSX
Reviewed-by: dcubed
2020-04-04 09:24:23 -07:00
Per Lidén
2e4783411e 8240745: Implementation: JEP 377: ZGC: A Scalable Low-Latency Garbage Collector (Production)
Reviewed-by: stefank, eosterlund
2020-04-03 23:40:33 +02:00
Alexey Bakhtin
76d534986b 8241960: The SHA3 message digests impl of SUN provider are not thread safe after cloned
Fix sun.security.provider.SHA3 class to correctly clone its lanes field

Reviewed-by: valeriep
2020-04-03 22:39:00 +00:00
Chris Plummer
965404dd98 8240989: convert clhsdb "dumpheap" command from javascript to java
Reviewed-by: amenkov, ysuenaga
2020-04-03 12:58:15 -07:00
Joe Wang
acafdb3f60 8238183: SAX2StAXStreamWriter cannot deal with comments prior to the root element
Reviewed-by: naoto, lancea
2020-04-03 17:34:31 +00:00
Jaikiran Pai
59af1c2af4 8241138: http.nonProxyHosts=* causes StringIndexOutOfBoundsException in DefaultProxySelector
Reviewed-by: dfuchs, chegar
2020-03-24 15:47:51 +05:30
Daniel Fuchs
f541970b31 8241786: Improve heuristic to determine default network interface on macOS
DefaultInetrface.getDefault is updated to prefer interfaces that have non link-local addresses. NetworkConfiguration is updated to skip interface that have only link-local addresses, whether IPv4 or IPv6, for multicasting.

Reviewed-by: chegar, alanb
2020-04-03 14:27:03 +01:00
Roman Kennke
553ea1e891 8242082: Shenandoah: Purge Traversal mode
Reviewed-by: shade
2020-04-03 15:06:08 +02:00
Aleksey Shipilev
cd76575df1 8242075: Shenandoah: rename ShenandoahHeapRegionSize flag
Reviewed-by: rkennke
2020-04-03 11:33:31 +02:00
Chris Hegarty
9a69bb807b 8242044: Add basic HTTP/1.1 support to the HTTP/2 Test Server
Reviewed-by: dfuchs, michaelm
2020-04-03 07:27:53 +01:00
Chris Hegarty
61940fe4ce 8241988: DatagramSocket incorrectly caches the first set of socket options
Reviewed-by: msheppar, dfuchs, alanb
2020-04-03 07:16:35 +01:00