Commit Graph

4198 Commits

Author SHA1 Message Date
Jan Lahoda
d9407ce428 8220018: javac crash when compiling try-catch-finally inside switch expression
Correcting handling of finally that yields from a switch expression.

Reviewed-by: mcimadamore, jlahoda
2019-06-12 13:49:43 +02:00
Hannes Wallnöfer
0d8209a2b7 8223364: Bad placement of anchor relative to header
Reviewed-by: jjg
2019-06-12 13:21:25 +02:00
Prasanta Sadhukhan
93ed663cf0 Merge 2019-06-12 10:02:49 +05:30
Joe Darcy
4750064828 8214546: Start of release updates for JDK 14
8214547: Add SourceVersion.RELEASE_14
8214548: Add source 14 and target 14 to javac
8214549: Bump maximum recognized class file version to 58 for JDK 14

Reviewed-by: jjg, mikael, erikj, jlahoda, dholmes
2019-06-11 16:45:20 -07:00
Anthony Scarpino
94e1d7530f 8211018: Session Resumption without Server-Side State
Reviewed-by: xuelei, jnimeh, jjiang
2019-06-11 16:31:37 -07:00
Igor Ignatyev
4f171abe26 8066173: compiler/types/correctness/OffTest.java failed with assert
Reviewed-by: kvn
2019-06-11 14:59:46 -07:00
Valerie Peng
8813b93095 8080462: Update SunPKCS11 provider with PKCS11 v2.40 support
Added support for GCM, PSS, and other mechanisms

Reviewed-by: jnimeh
2019-06-11 21:30:28 +00:00
Sergey Bylokhov
09efbc41ee 8225144: [macos] In Aqua L&F backspace key does not delete when Shift is pressed
Reviewed-by: psadhukhan
2019-06-11 10:15:30 -07:00
Daniel Fuchs
b99e9165f1 8225512: Replace wildcard address with loopback or local host in tests - part 15
Updates httpserver tests to use the loopback instead of the wildcard wherever possible.

Reviewed-by: michaelm
2019-06-11 15:46:26 +01:00
Prasanta Sadhukhan
7fc422dd93 8225511: javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedTranslucentPerPixelTranslucentGradient.java fails in linux-x64
Reviewed-by: serb, prr
2019-06-11 11:01:22 +05:30
Daniel Fuchs
96bb069a2d 8224865: Replace wildcard address with loopback or local host in tests - part 13
Fixes intermittent failures observed in some network tests

Reviewed-by: chegar
2019-06-10 11:17:57 +01:00
Coleen Phillimore
d571d105ae 8224847: gc/stress/TestReclaimStringsLeaksMemory.java fails with reserved greater than expected
Rehash threshold was too low for StringTable, and rehashed size table was too large.

Reviewed-by: rehn, gziemski
2019-06-11 07:31:47 -04:00
David Holmes
02f1d4430c 8225568: ProblemList compiler/compilercontrol/jcmd/ClearDirectivesFileStackTest.java
Reviewed-by: thartmann
2019-06-11 08:03:29 -04:00
Rahul Raghavan
2f25526470 8225567: Wrong file headers with 8202414 fix changeset
Corrected source file headers

Reviewed-by: thartmann
2019-06-11 14:33:34 +05:30
Igor Ignatyev
6a7c8b3e01 8209917: fix TODO in GatherDiagnosticInfoObserver
Reviewed-by: jjg, dholmes
2019-06-10 17:11:04 -07:00
Stuart Marks
6758853b54 8205131: remove Runtime trace methods
Reviewed-by: lancea, rriggs, iklam
2019-06-10 17:33:11 -07:00
Daniil Titov
2f1b1de1e8 8222828: vmTestbase/nsk/jdi/BScenarios/multithrd/tc02x004/TestDescription.java failed
Reviewed-by: cjplummer, gadams, jcbeyler
2019-06-10 09:41:09 -07:00
Harold Seigel
9ee5ab5124 8224952: RI deviates from JVMS - non-zero minor_version for class files throws UnsupportedClassVersionError
Change the JVM to follow the JVM Spec and accept non-zero minor_version for appropriate older class file versions.

Reviewed-by: acorn, dholmes, iignatyev
2019-06-10 09:52:04 -04:00
Philipp Kunz
6d3f5f851e 8221719: Jarsigner fails to verify signed by alias if alias given in wrong case
Reviewed-by: weijun
2019-06-10 20:38:15 +08:00
Sergey Bylokhov
4a53af6cbc 8222083: Support of "64-bit IEEE floating point" encoding for the AU file format
Reviewed-by: prr
2019-06-09 14:12:18 -07:00
Phil Race
845bf8c1bc Merge 2019-06-07 09:38:40 -07:00
Stefan Karlsson
2fded1c480 8223837: Add -XX:MinHeapSize flag to set the minimum heap size
Reviewed-by: pliden, tschatzl
2019-06-07 13:50:14 +02:00
Anton Tarasov
eb555dec77 8225118: Robot.createScreenCapture() returns black image on HiDPI linux with gtk3
Reviewed-by: serb
2019-06-06 15:46:36 +03:00
Chris Hegarty
2edcc74725 8225424: Add jdk.net.usePlainSocketImpl runs to a couple of tests
Reviewed-by: alanb
2019-06-07 11:47:49 +01:00
Per Lidén
a6aa1030b4 8222145: Add -XX:SoftMaxHeapSize flag
Reviewed-by: eosterlund, tschatzl
2019-06-07 11:19:34 +02:00
Jan Lahoda
1d050ec2e9 8223782: jshell parser should handle Text Blocks
Completion analysis should detect text blocks properly.

Reviewed-by: jlaskey, rfield
2019-06-07 10:09:41 +02:00
Igor Ignatyev
51b861c303 8225469: clean up problem lists
Reviewed-by: kvn
2019-06-06 23:06:47 -07:00
Daniil Titov
f198fdd639 8206074: nsk/jdi/EventRequestManager/createStepRequest/crstepreq001/TestDescription.java is timing out
Reviewed-by: cjplummer, gadams
2019-06-06 18:57:28 -07:00
Ivan Gerasimov
4a3b3d365e 8225397: Integer value miscalculation in toString() method of BitSet
Reviewed-by: aph
2019-06-06 17:20:19 -07:00
Vladimir Kozlov
4bd89c7401 8208379: compiler/jvmci/events/JvmciNotifyInstallEventTest.java failed with "Got unexpected event count after 2nd install attempt: expected 9 to equal 2"
Reviewed-by: iignatyev
2019-06-06 15:12:37 -07:00
Brian Burkhalter
185be26580 8224617: (fs) java/nio/file/FileStore/Basic.java found filesystem twice
Reviewed-by: alanb
2019-06-06 14:13:59 -07:00
Igor Ignatyev
8bdcada62b 8225450: use @file in CtwRunner
Reviewed-by: kvn
2019-06-06 13:42:41 -07:00
Jonathan Gibbons
948577bb1f 8225321: Repeated use of {@systemProperty} in a file causes duplicate ids
Reviewed-by: hannesw
2019-06-06 10:36:43 -07:00
Prasanta Sadhukhan
427e1e28b1 8224876: javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedPerPixelTranslucentGradient.java fails on linux-x64
Reviewed-by: serb, jdv
2019-06-04 14:43:57 +05:30
Prasanta Sadhukhan
3123e7d158 Merge 2019-06-04 14:23:33 +05:30
Prasanta Sadhukhan
60f385e737 Merge 2019-06-04 13:34:50 +05:30
Semyon Sadetsky
b5b24b904a 8196096: javax/swing/JPopupMenu/6580930/bug6580930.java fails
Reviewed-by: serb
2019-06-03 08:13:18 -07:00
Robin Westberg
43f89eb1fd 8223678: Add Visual Studio Code workspace generation support (for native code)
Reviewed-by: erikj
2019-06-03 10:28:03 +02:00
Ekaterina Pavlova
b8e5aefce8 8225199: [Graal] compiler/jvmci/compilerToVM/IsMatureVsReprofileTest.java fails with -XX:CompileThresholdScaling=0.1
Reviewed-by: kvn
2019-06-03 17:14:23 -07:00
Coleen Phillimore
7acdde31ca 8225212: ProblemList gc/stress/TestReclaimStringsLeaksMemory.java
Reviewed-by: dholmes
2019-06-03 19:42:58 -04:00
Robert Field
b84187ca17 8225208: Re-Problem list jdk/jshell/ExceptionsTest.java fails on windows
Reviewed-by: jjg
2019-06-03 16:24:34 -07:00
Robert Field
4bc1fdf83c 8199623: JShell: corralling not restored on drop
Reviewed-by: jlahoda
2019-06-03 08:21:04 -07:00
Jayathirth D V
abe29730ed 8225105: java/awt/Focus/ShowFrameCheckForegroundTest/ShowFrameCheckForegroundTest.java fails in Windows 10
Reviewed-by: prr, serb
2019-06-03 11:56:48 +05:30
Prasanta Sadhukhan
4651ce7fc9 Merge 2019-06-03 11:06:24 +05:30
Toshio Nakamura
189e938d3a 8219901: Noto fonts for East Asian countries cannot belong to CompositeFont
Reviewed-by: prr, jdv
2019-06-02 16:59:41 -07:00
Lance Andersen
cb6e66a5ee 8212807: tools/jar/multiRelease/Basic.java times out
Reviewed-by: bchristi
2019-06-02 17:13:31 -04:00
Aleksey Shipilev
d4dca25c8f 8225111: Make Shenandoah tests work with 32-bit VMs
Reviewed-by: rkennke
2019-06-02 10:08:38 +02:00
Robert Field
0be741c70b 8223688: JShell: crash on the instantiation of raw anonymous class
Reviewed-by: jlahoda
2019-06-01 14:09:59 -07:00
Robert Field
50971d6ea7 8080353: JShell: Better error message on attempting to add default method
Special handling for errors with "default" modifier

Reviewed-by: jlahoda
2019-06-01 13:41:01 -07:00
Claes Redestad
1813ce706a 8225061: Performance regression in Regex
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Reviewed-by: naoto, alanb
2019-06-01 03:18:23 +02:00
Calvin Cheung
561c9182e8 8223336: Assert in VirtualMemoryTracker::remove_released_region when running the SharedArchiveConsistency.java test with -XX:NativeMemoryTracking=detail
Added the missing call MemTracker::record_virtual_memory_reserve_and_commit()

Reviewed-by: jiangli, zgu
2019-05-31 15:49:12 -07:00
Vicente Romero
e36693bc29 8224083: javadoc Reporter generates warning for Kind.NOTE
8224082: NPE in javadoc Reporter

Reviewed-by: jjg
2019-05-31 18:35:17 -04:00
Phil Race
10cac15976 8225007: java/awt/print/PrinterJob/LandscapeStackOverflow.java may hang
Reviewed-by: serb, jdv
2019-05-30 09:23:14 -07:00
Phil Race
a806ced291 8225020: Problem list some sanity test failures
Reviewed-by: psadhukhan, akolarkunnu
2019-05-30 09:16:43 -07:00
Prasanta Sadhukhan
d10495627b 8224824: ProblemList java/awt/Color/AlphaColorTest failure in linux_x64
Reviewed-by: serb
2019-05-30 10:45:51 +05:30
Prasanta Sadhukhan
72bef42c4a 8224821: java/awt/Focus/NoAutotransferToDisabledCompTest/NoAutotransferToDisabledCompTest.java fails linux-x64
Reviewed-by: jdv
2019-05-28 16:38:01 +05:30
Prasanta Sadhukhan
15acb9faf7 8224830: test/jdk/java/awt/Focus/ModalExcludedWindowClickTest/ModalExcludedWindowClickTest.java fails on linux-x64
Reviewed-by: jdv
2019-05-28 16:35:47 +05:30
Phil Race
d655301d49 8224778: test/jdk/demo/jfc/J2Ddemo/J2DdemoTest.java cannot find J2Ddemo.jar
Reviewed-by: erikj, psadhukhan
2019-05-27 12:24:26 -07:00
Phil Race
a34bbe6c30 8224632: testbug: java/awt/dnd/RemoveDropTargetCrashTest/RemoveDropTargetCrashTest.java fails on MacOS
Reviewed-by: serb, psadhukhan
2019-05-24 13:52:33 -07:00
Phil Race
cf5f70d4ec 8224771: backout RemoveDropTargetCrashTest.java fix to re-push with correct bugid
Reviewed-by: serb
2019-05-24 13:50:56 -07:00
Phil Race
501916030f 8224705: Tests that need to be problem-listed or have printer resources
Reviewed-by: serb, psadhukhan
2019-05-24 09:10:10 -07:00
Phil Race
033c08fcce 8223804: [macos] remove obsoleted reference to security framework in launcher code
Reviewed-by: rriggs, erikj
2019-05-23 15:02:47 -07:00
Arthur Eubanks
df9ad2af75 8224645: Only test multicast interfaces if they exist
Reviewed-by: alanb, dfuchs, chegar
2019-05-23 10:06:37 -07:00
Jim Laskey
08e1ece107 8223967: Implement Text Blocks (Preview) in the Java compiler
Reviewed-by: vromero, jlahoda, abuckley
2019-06-06 12:24:44 -03:00
Jim Laskey
9c6c6eae1d 8203444: String::formatted (Preview)
Reviewed-by: smarks, rriggs, sherman
2019-06-06 12:24:44 -03:00
Jim Laskey
fead01f2c9 8223780: String::translateEscapes (Preview)
Reviewed-by: abuckley, vromero, jlahoda, bchristi, igerasim, smarks
2019-06-06 12:24:44 -03:00
Jim Laskey
0777a86d68 8223775: String::stripIndent (Preview)
Reviewed-by: abuckley, vromero, jlahoda, bchristi, rriggs, smarks
2019-06-06 12:24:44 -03:00
Martin Balao
5aae9ef0db 8215032: Support Kerberos cross-realm referrals (RFC 6806)
Reviewed-by: weijun
2019-06-05 01:42:11 -03:00
Roger Riggs
8ee8c48696 8224905: java/lang/ProcessBuilder/Basic.java#id1 failed with stream closed
Reviewed-by: lancea, bpb, naoto
2019-06-06 10:03:22 -04:00
Vladimir Ivanov
6346d77b03 8225106: C2: Parse::clinit_deopt asserts when holder klass is in error state
Reviewed-by: mdoerr
2019-06-06 13:46:01 +03:00
Jie Fu
d738e209f3 8224162: assert(profile.count() == 0) failed: sanity in InlineTree::is_not_reached
Reviewed-by: vlivanov, kvn
2019-06-06 13:45:59 +03:00
Lois Foltan
c66a7b734b 8225325: Add tests for redefining a class' private method during resolution of the bootstrap specifier
Add new tests

Reviewed-by: dholmes, sspitsyn
2019-06-05 22:19:09 -07:00
John Jiang
2564e79c23 8225390: ProblemList sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java due to JDK-8161536
Reviewed-by: xuelei
2019-06-06 10:11:24 +08:00
Vicente Romero
43114a091a 8225386: test for JDK-8216261 fails in Windows
Reviewed-by: jjg
2019-06-05 21:50:29 -04:00
Vicente Romero
d69bc696f2 8223942: Missing methods in ClientCodeWrapper$WrappedJavaFileManager
Reviewed-by: jjg
2019-06-05 17:01:43 -04:00
Vicente Romero
16a0533eac 8216261: Javap ignores default modifier on interfaces
Reviewed-by: jjg, darcy
2019-06-05 16:01:50 -04:00
Thomas Stuefe
19ab931c71 8225348: serviceability/dcmd/vm/EventsTest.java failed
Reviewed-by: jcbeyler, cjplummer
2019-06-05 21:14:46 +02:00
Daniel D. Daugherty
858b7e21d6 8188872: runtime/ErrorHandling/TimeoutInErrorHandlingTest.java fails intermittently
Reviewed-by: dholmes, stuefe
2019-06-05 14:07:14 -04:00
Thomas Stuefe
a7f5e6f7fd 8225225: stringStream internal buffer should always be zero terminated
Reviewed-by: coleenp, dholmes
2019-06-05 19:34:43 +02:00
Mikael Vidstedt
51f09f2e3e 8225305: ProblemList java/lang/invoke/VarHandles tests
Reviewed-by: kvn, iignatyev, mchung, alanb
2019-06-05 08:43:41 -07:00
Mandy Chung
857b2e6271 8221368: Error message when module main class cannot be loaded is missing exception details
Reviewed-by: alanb, sundar
2019-06-05 07:49:20 -07:00
Hannes Wallnöfer
9f039257cb 8221709: replace use of style blockListLast
Reviewed-by: jjg
2019-06-05 16:26:13 +02:00
Chris Hegarty
cc353da44d 8225037: java.net.JarURLConnection::getJarEntry() throws NullPointerException
Reviewed-by: coffeys, vtewari
2019-06-05 13:59:44 +01:00
Prasanta Sadhukhan
1f138e1009 8211703: JInternalFrame : java.lang.AssertionError: cannot find the internal frame
Reviewed-by: prr, serb
2019-05-23 10:50:47 +05:30
Naoto Sato
8dfd33c2b4 8223773: DateTimeFormatter Fails to throw an Exception on Invalid CLOCK_HOUR_OF_AMPM and HOUR_OF_AMPM
Reviewed-by: lancea, scolebourne, rriggs
2019-05-31 13:49:35 -07:00
Ioi Lam
43e23020f2 8224692: runtime/appcds tests crash in "HotSpotJVMCI::compute_offset" when running in Graal as JIT mode
Reviewed-by: ccheung
2019-05-31 12:51:36 -07:00
Kim Barrett
67defd71f2 8219149: ProcessTools.ProcessBuilder should print timing info for subprocesses
Add some timestamped logging messages to OutputBuffer.

Reviewed-by: rriggs, dcubed, lmesnik, dholmes
2019-05-31 14:42:28 -04:00
Brian Burkhalter
cf4fa3f72f 8225117: java/math/BigInteger/SymmetricRangeTests.java fails with ParseException
Reviewed-by: darcy
2019-05-31 11:13:58 -07:00
Harold Seigel
1b0445639f 8222936: mlvm/anonloader/stress/randomBytecodes/Test.java fails due to "ERROR: There were 1 hangups during parsing."
Prevent false failures by blocking the test until either it times out or the loading thread finishes

Reviewed-by: dholmes, coleenp
2019-05-31 13:09:15 -04:00
Arno Zeller
bb2e4df367 8194231: java/net/DatagramSocket/ReuseAddressTest.java failed with java.net.BindException: Address already in use: Cannot bind
Changed test to no longer use hardcoded ports.

Reviewed-by: chegar, clanger
2019-05-28 20:12:16 +02:00
Chris Hegarty
53b022d9eb 8224973: URLStreamHandler.openConnection(URL,Proxy) - spec and implementation mismatch
Reviewed-by: alanb, dfuchs
2019-05-31 15:02:45 +01:00
Patric Hedlin
d222b01dee 8223363: Bad node estimate assertion failure
8223502: Node estimate for loop unswitching is not correct: assert(delta <= 2 * required) failed: Bad node estimate
8224648: assert(!exceeding_node_budget()) failed: Too many NODES required! failure with ctw

Tighten the node estimates. New est_loop_clone_sz() implementation that will compute a "fan-out" complexity estimate as part of the size estimate (to better estimate complex loop body size after cloning). New est_loop_unroll_sz() function, used to estimate the size of a loop body att full/maximal unrolling. Correction to node budget final tests and asserts.

Reviewed-by: neliasso, kvn
2019-05-28 14:56:58 +02:00
Prasanta Sadhukhan
f7e4fb87b2 8214702: Wrong text position for whitespaced string in printing Swing text
Reviewed-by: prr, serb
2019-05-21 14:41:43 +05:30
Chris Hegarty
9fbdec42c4 8225214: Socket.getOption(SocketOption) not returning the expected type for the StandardSocketOptions.SO_LINGER
Reviewed-by: alanb
2019-06-05 12:02:01 +01:00
Peter Januschke
0835c96bda 8222103: [testbug] compiler/compilercontrol/jcmd/ClearDirectivesFileStackTest may exceed VM limit
Reviewed-by: iignatyev, mdoerr
2019-05-31 14:52:01 +02:00
Per Lidén
0b647d15bf 8225084: gc/z/TestHighUsage.java fails with unexpected allocation stall
Reviewed-by: eosterlund
2019-06-05 10:43:45 +02:00
Claes Redestad
27d8c3f7b4 8224240: Properties.load fails to throw IAE on malformed unicode in certain circumstances
Reviewed-by: smarks, rriggs, dfuchs
2019-06-05 10:23:06 +02:00
Claes Redestad
a2f40ec3e1 8225179: (regex) Minor Pattern cleanup
Reviewed-by: igerasim
2019-06-05 10:07:22 +02:00
Aleksey Shipilev
bb4d8b504a 8225229: Shenandoah: trim down default number of GC threads
Reviewed-by: rkennke
2019-06-05 09:23:09 +02:00
Thomas Stuefe
dbc3f88d5c 8224600: Provide VM.events command
Reviewed-by: minqi, dholmes, mbaesken, clanger
2019-06-05 07:25:09 +02:00