Commit Graph

4696 Commits

Author SHA1 Message Date
Eric Caspole
4325a8443b 8215521: add microbenchmark to measure AccessController.getContext
Reviewed-by: redestad, alanb
2019-10-04 12:00:16 -04:00
Fairoz Matte
80d6ffee5f 8216352: SA: ClhsdbLauncher should throw errors on Unrecognized commands
Reviewed-by: cjplummer, sspitsyn
2019-10-04 07:54:57 +01:00
Julia Boes
4dafa3033f 8231161: Wrong return type in code sample in Collector API documentation
Correct declaration of container from R to A and add compilation test

Reviewed-by: smarks, lancea
2019-10-03 18:59:56 +01:00
Leonid Mesnik
2cb764b24b 8231768: Remove duplicate if/else in vmTestbase/nsk/share/jdi/Binder.java
Reviewed-by: sspitsyn, phh, cjplummer
2019-10-03 08:50:10 -07:00
Chris Plummer
b9bde2ed45 8231288: "jhsdb jmap" test needed to reproduce issues that used to be reproduced by JShellHeapDumpTest
Reviewed-by: sgehwolf, sspitsyn
2019-10-02 17:56:46 -07:00
Calvin Cheung
b08a8c5cc3 8231606: _method_ordering is not set during CDS dynamic dump time
Add the missing DynamicDumpSharedSpaces check in sort_methods(); replace the (DumpSharedSpaces || DynamicDumpSharedSpaces) with the Arguments::is_dumping_archive() function call.

Reviewed-by: iklam, coleenp, jiangli
2019-10-02 16:55:08 -07:00
Christian Hagedorn
8200eb4d45 8231626: DeoptimizeRandom should not be a product flag
The DeoptimizeRandom flag is changed to develop since it has no effect in production.

Reviewed-by: neliasso, thartmann
2019-10-02 08:27:17 +02:00
Brian Burkhalter
17c057bd76 8229333: java/io/File/SetLastModified.java timed out
Reviewed-by: lancea, rriggs
2019-10-01 07:37:39 -07:00
Aleksey Shipilev
4cdb9708c4 8231503: [TESTBUG] compiler/{jvmci,aot} tests should not run with GCs that do not support JVMCI/AOT
Reviewed-by: kvn, dlong, stefank
2019-10-01 15:38:26 +02:00
Christoph Langer
8fc1b67944 8223869: Problem list java/awt/FontMetrics/MaxAdvanceIsMax.java on more platforms
Reviewed-by: goetz
2019-10-01 14:51:04 +02:00
Ralf Schmelter
98a2c05b5d 8191521: handle long relative path specified in -Xbootclasspath/a on windows
Reviewed-by: ccheung, clanger
2019-10-01 14:09:44 +02:00
Roland Westrelin
fd3a403512 8231665: 8231055 broke escapeAnalysis/TestSelfArrayCopy.java
Reviewed-by: thartmann
2019-09-30 17:58:05 +02:00
Julia Boes
82747fa960 8209178: Proxied HttpsURLConnection doesn't send BODY when retrying POST request
Preserve BODY in poster output stream before sending CONNECT request

Reviewed-by: dfuchs, vtewari
2019-09-26 12:35:51 +01:00
Daniel Fuchs
8e98ce54bf 8231506: Fix some instabilities in a few networking tests
Reviewed-by: alanb, chegar, msheppar
2019-10-01 12:10:33 +01:00
Per Lidén
990ec34714 8231296: ZGC: vmTestbase/nsk/jvmti/Allocate/alloc001/ fails
Reviewed-by: sspitsyn, dcubed, iignatyev
2019-10-01 12:27:14 +02:00
Jatin Bhateja
d3ca3a02ff 8226721: Missing intrinsics for Math.ceil, floor, rint
Reviewed-by: neliasso, vlivanov, ecaspole
2019-10-01 11:43:10 +02:00
Matthias Baesken
09c012be4e 8231357: sun/security/pkcs11/Cipher/TestKATForGCM.java fails on SLES11 using mozilla-nss-3.14
Reviewed-by: clanger, valeriep
2019-09-26 13:51:43 +02:00
Joe Wang
a664c9cf99 8016914: CoreDocumentImpl.setXmlVersion NPE
Reviewed-by: lancea
2019-09-30 17:54:11 +00:00
Coleen Phillimore
c5ca4409e0 Merge 2019-09-30 13:22:05 -04:00
Coleen Phillimore
98f454c9ca 8184732: Deadlock detection improvements for 'special' locks
Assert that special ranked locks cannot safepoint and allow_vm_block and remove locks from the exceptional lock list in no_safepoint_verifier.

Reviewed-by: dholmes, eosterlund
2019-09-30 13:10:11 -04:00
Patrick Concannon
0364ad244a 8229338: clean up test/jdk/java/util/RandomAccess/Basic.java
General refactoring of code and increased test coverage

Reviewed-by: lancea, aefimov
2019-09-30 17:19:58 +01:00
Prasanta Sadhukhan
a0c379d9bd Merge 2019-09-25 14:52:33 +05:30
Prasanta Sadhukhan
83b11a570a Merge 2019-09-25 14:48:39 +05:30
Michael McMahon
b8bda05c60 8231450: Copyright header line omitted from 8231187 changeset
Reviewed-by: chegar
2019-09-25 09:38:20 +01:00
Alan Bateman
72e62cf835 8231413: Several test/hotspot/jtreg/runtime tests updates to run with --illegal-access=deny
Reviewed-by: hseigel, lfoltan, dholmes
2019-09-25 09:17:32 +01:00
Prasanta Sadhukhan
f0b476a981 Merge 2019-09-25 13:40:36 +05:30
Phil Race
4a4fbbaaa9 8231243: [TESTBUG] CustomFont.java cannot find font file
Reviewed-by: serb
2019-09-24 09:09:15 -07:00
Chris Plummer
f6a5479a44 8231287: JMap should do a better job of reporting exception it catches
Retrhow any caught exception, and always print exceptions before exiting

Reviewed-by: sspitsyn, phh
2019-09-28 12:33:34 -07:00
Doug Lea
8c647801fc 8231036: vmTestbase monitoring tests fail after JSR 166 refresh
Reviewed-by: martin, dholmes
2019-09-27 12:20:14 -07:00
Doug Lea
a9254cbcfa 8231032: ThreadMXBean locking tests fail after JSR 166 refresh
Reviewed-by: martin, mchung, dholmes
2019-09-27 12:20:14 -07:00
Leonid Mesnik
3e3d90d6a1 8230942: Support compressed cores in SA tests
Reviewed-by: dholmes, sspitsyn
2019-09-27 10:48:23 -07:00
Daniel Fuchs
8578ab1c23 8231037: java/net/InetAddress/ptr/Lookup.java fails intermittently due to reverse lookup failed
The test is updated to verify whether reverse lookup is altogether possible.

Reviewed-by: chegar
2019-09-27 14:43:35 +01:00
Severin Gehwolf
c4f5c4fe9b 8196969: JTreg Failure: serviceability/sa/ClhsdbJstack.java causes NPE
Account for serialized null scopes in NMethod

Reviewed-by: aph, never
2019-09-23 20:26:18 +02:00
Matthias Baesken
63b1c4c213 8230957: [TESTBUG] containers/docker/TestJcmdWithSideCar.java sporadic failures
Reviewed-by: clanger, bobv, mseledtsov
2019-10-11 09:55:35 +02:00
Roland Westrelin
dfc5c795c7 8229483: Sinking load out of loop may trigger: assert(found_sfpt) failed: no node in loop that's not input to safepoint
Reviewed-by: thartmann, neliasso
2019-09-23 16:49:09 +02:00
Calvin Cheung
0da443e7ae 8231097: [TESTBUG] runtime/cds/appcds/DirClasspathTest.java can fail with a mapping error
Check output for mapping failure and throw a SkippedException.

Reviewed-by: iklam, dholmes
2019-09-24 20:16:13 -07:00
Milan Mimica
464c8b84eb 8228580: DnsClient TCP socket timeout
Reviewed-by: vtewari, chegar, prappo
2019-09-24 22:57:28 +01:00
Ioi Lam
c85075b31a 8231367: [TESTBUG] ParallelLoadTest.java fails with "test.dynamic.dump not supported"
Reviewed-by: ccheung
2019-09-24 10:36:35 -07:00
Ekaterina Pavlova
8731e6339d 8231376: Unproblem list compiler/unsafe/Unsafe{Off,On}HeapBooleanTest.java tests
Reviewed-by: iignatyev
2019-09-24 08:54:08 -07:00
Michael McMahon
aa5329e0d3 8231187: SelectorProvider.inheritedChannel() returns TCP socket channel for Unix domain socket
Reviewed-by: alanb, chegar
2019-09-24 16:19:11 +01:00
Patrick Concannon
11d43732bc 8217825: Verify @AfterTest is used correctly in WebSocket tests
Remove @AfterTest tags; added in explicit closing of resources e.g. httpServer, webSocket, etc

Reviewed-by: dfuchs, prappo
2019-09-23 16:53:16 +01:00
Hannes Wallnöfer
8743f0b6d1 8231122: @index tag with newline causes tag search to fail
Reviewed-by: jjg
2019-09-24 11:49:48 +02:00
Prasanta Sadhukhan
3afd808de8 Merge 2019-09-23 13:08:20 +05:30
Ioi Lam
9c92ecba04 8231125: Improve testing of parallel loading of shared classes by the boot class loader
Reviewed-by: ccheung, coleenp, dholmes
2019-09-22 17:16:35 -07:00
Daniel D. Daugherty
83f41d2736 8231323: ProblemList jdk/jfr/jcmd/TestJcmdConfigure.java
Reviewed-by: ysuenaga
2019-09-21 10:13:25 -04:00
John Jiang
0a0956bcda 8180837: SunPKCS11-NSS tests failing with CKR_ATTRIBUTE_READ_ONLY and CKR_MECHANISM_PARAM_INVALID
Reviewed-by: xuelei
2019-09-21 08:06:00 +08:00
Leonid Mesnik
d564ab722a 8229853: Problemlist compiler/codecache/jmx/PoolsIndependenceTest.java
Reviewed-by: thartmann
2019-09-20 13:14:50 -07:00
Jagjot Singh
6b80f1e7cd 8165828: [TEST_BUG] The reg case:javax/swing/plaf/metal/MetalIcons/MetalHiDPIIconsTest.java failed as No Metal Look and Feel
Reviewed-by: psadhukhan
2019-09-18 07:18:44 -07:00
Sergey Bylokhov
d05b24b3f4 8229896: Delete an unused code in the BufferedContext
Reviewed-by: prr, jdv
2019-09-13 17:35:12 -07:00
Laurent Bourgès
027fdb2d3b 8230728: Thin stroked shapes are not rendered if affine transform has flip bit
Use abs(at.getDeterminant()) in userSpaceLineWidth() to ensure positive value

Reviewed-by: prr, jdv
2019-09-10 21:20:51 +02:00
Tejpal Rebari
603689f760 8194944: Regression automated test 'open/test/jdk/javax/swing/JInternalFrame/8145896/TestJInternalFrameMaximize.java' fails
Reviewed-by: jdv, arapte
2019-09-04 22:18:48 +05:30
Prasanta Sadhukhan
bcff4990ad Merge 2019-08-29 15:09:48 +05:30
Roland Westrelin
a63b541842 8230061: # assert(mode == ControlAroundStripMined && use == sfpt) failed: missed a node
Reviewed-by: thartmann, neliasso
2019-08-28 15:51:03 +02:00
Matthias Baesken
e2ebf7b822 8231171: remove remaining sun.java.launcher.pid references
Reviewed-by: alanb, dholmes
2019-09-20 10:28:48 +02:00
Brian Burkhalter
d6b7266547 8231254: (fs) Add test for macOS Catalina changes to protect system software
Reviewed-by: alanb
2019-09-23 13:59:41 -07:00
Tobias Hartmann
6bc9833f65 8231058: VerifyOops crashes with assert(_offset >= 0) failed: offset for non comment?
Offset method should only be called for comments.

Reviewed-by: roland, dholmes
2019-09-23 14:30:31 +02:00
Christoph Langer
8551294077 8230857: Avoid reflection in sun.tools.common.ProcessHelper
Reviewed-by: sspitsyn, dholmes
2019-09-23 12:32:13 +02:00
Thomas Schatzl
03e769bd64 8159984: Remove call to ClassLoaderDataGraph::clear_claimed_marks during the initial mark pause
The CLDG is only iterated once during garbage collection, so we do not need to claim CLDs any more.

Reviewed-by: sjohanss, kbarrett
2019-09-23 11:37:02 +02:00
Jie Fu
72d8e98a9d 8230228: [TESTBUG] Several runtime/ErrorHandling tests may fail on some platforms
Reviewed-by: coleenp, stuefe, mseledtsov
2019-08-28 08:47:40 +08:00
Mikhailo Seledtsov
5b34d00fbc 8230115: Problemlist JFR TestNetworkUtilization test
Added test to the problem list

Reviewed-by: dcubed
2019-08-28 15:15:38 -07:00
Joe Wang
7b6b6702e3 8230094: CCE in createXMLEventWriter(Result) over an arbitrary XMLStreamWriter
Reviewed-by: lancea
2019-08-28 19:02:51 +00:00
Daniel D. Daugherty
be0cd9908a 8230317: serviceability/sa/ClhsdbPrintStatics.java fails after 8230184
Reviewed-by: eosterlund
2019-08-28 12:53:37 -04:00
Daniel D. Daugherty
9b992ead1e 8230184: rename, whitespace, indent and comments changes in preparation for lock free Monitor lists
Reviewed-by: kbarrett, dholmes
2019-08-28 10:56:50 -04:00
Ioi Lam
a2c067f6e8 8230294: runtime/cds/appcds/ClassPathAttr.java failed with jar operation failed
Reviewed-by: lfoltan
2019-08-28 07:41:57 -07:00
Ioi Lam
87eefe2e00 8227370: Remove SharedPathsMiscInfo
Reviewed-by: ccheung, jiangli
2019-08-27 22:14:52 -07:00
Frank Yuan
f85fe3a3d6 8230010: Remove jdk8037819/BasicTest1.java
8230002: javax/xml/jaxp/unittest/transform/SecureProcessingTest.java runs zero test

Reviewed-by: joehw, vtewari
2019-08-28 11:00:55 +08:00
Patricio Chilano Mateo
85dbabe345 8229844: Remove attempt_rebias parameter from revoke_and_rebias()
Removed attempt_rebias parameter and merged fast_enter() and slow_enter() into enter()

Reviewed-by: dholmes, rehn, coleenp, dcubed
2019-08-27 20:10:06 +00:00
Jaikiran Pai
f8e6dcdd09 8230220: java/net/HttpURLConnection/HttpURLProxySelectionTest.java fails intermittently
Fix the test to use volatile on members which are accessed across threads

Reviewed-by: dfuchs
2019-08-27 16:17:40 +05:30
Dmitry Markov
1ea81a7cda 8225505: ctrl-F1 does not show the tooltip of a menu item (JMenuItems)
Reviewed-by: psadhukhan, serb
2019-08-23 14:25:20 +01:00
Semyon Sadetsky
07e2ea8e44 8226513: JEditorPane is shown with incorrect size
Reviewed-by: prr, psadhukhan
2019-08-19 12:13:47 +05:30
Alexey Ivanov
11feeaa533 8222108: Reduce minRefreshTime for updating remote printer list on Windows
Reviewed-by: prr, serb
2019-08-18 21:36:01 +01:00
Matthias Baesken
313cb3ce76 8229706: java/net/MulticastSocket/NoLoopbackPackets.java fails on some AIX machines
Reviewed-by: chegar, clanger
2019-08-14 15:07:04 +02:00
Julia Boes
fb3b0ab1fb 8230000: some httpclients testng tests run zero test
Two tests needed to declared their test methods public, the last one was a simple abstract framework for subclasses and needed its @test keyword removed.

Reviewed-by: chegar, aefimov, dfuchs
2019-08-26 14:48:12 +01:00
Jaikiran Pai
1d67d474a5 8177648: getResponseCode() throws IllegalArgumentException caused by protocol error while following redirect
Reviewed-by: michaelm, chegar, dfuchs
2019-08-26 12:25:49 +01:00
Stefan Karlsson
e1aca70a1c 8229836: Remove include of globals.hpp from allocation.hpp
Reviewed-by: coleenp, kbarrett
2019-08-26 09:13:38 +02:00
Julia Boes
ce3face998 8229485: Add decrementExact(), incrementExact(), and negateExact() to java.lang.StrictMath
Three methods are added to StrictMath for consistency with Math. Tests are updated accordingly.

Reviewed-by: bpb, lancea, igerasim, dfuchs, joehw, rriggs
2019-08-23 19:55:08 +01:00
Adam Farley
ed45bde1a7 8227021: VM fails if any sun.boot.library.path paths are longer than JVM_MAXPATHLEN
The size of each path in sun.boot.library.path property should not exceed JVM_MAXPATHLEN

Reviewed-by: dholmes, coleenp, sspitsyn
2019-08-23 03:06:24 -07:00
Jamil Nimeh
d096e033d0 8225436: Stapled OCSPResponses should be added to PKIXRevocationChecker irrespective of revocationEnabled flag
Reviewed-by: mullan
2019-08-22 14:09:36 -07:00
Patrick Concannon
a9f92bec7f 8078219: Verify lack of @test tag in files in java/net test directory
Reviewed-by: alanb
2019-08-22 18:54:56 +01:00
Leonid Mesnik
7d0d71db03 Merge 2019-08-22 10:41:07 -07:00
Leonid Mesnik
186dcb2f42 8229957: Harden pid verification in attach mechanism
Reviewed-by: sspitsyn, ysuenaga, sgehwolf
2019-08-22 10:40:34 -07:00
Mikhailo Seledtsov
18c00e8670 8226779: [TESTBUG] Test JFR API from Java agent
Created new tests for JFR plus Java Agent

Reviewed-by: egahlin
2019-08-22 10:35:31 -07:00
Lance Andersen
0603bec5ce 8229887: (zipfs) zip file corruption when replacing an existing STORED entry
Reviewed-by: alanb, redestad, dfuchs
2019-08-22 10:43:25 -04:00
Michael McMahon
e3b6b7f842 8199849: Add support for UTF-8 encoded credentials in HTTP Basic Authentication
Reviewed-by: chegar, dfuchs
2019-08-22 14:36:10 +01:00
Tobias Hartmann
0941bf8b5e 8230020: [BACKOUT] compiler/types/correctness/* tests fail with "assert(recv == __null || recv->is_klass()) failed: wrong type"
Back out JDK-8225670 due to performance regressions.

Reviewed-by: roland
2019-08-22 12:22:02 +02:00
Nick Gasson
84686488e8 8229912: [TESTBUG] java/net/Socks/SocksIPv6Test fails without IPv6
Reviewed-by: alanb, dfuchs
2019-08-22 10:53:48 +08:00
Kim Barrett
1acad37ee6 8227054: ServiceThread needs to know about all OopStorage objects
8227053: ServiceThread cleanup of OopStorage is missing some

OopStorages provides named access and iteration.

Reviewed-by: eosterlund, pliden, coleenp
2019-08-21 18:42:30 -04:00
Roger Riggs
de8d01d4d3 8207814: (proxy) upgrade the proxy class generator
Reviewed-by: mchung
2019-08-21 16:19:17 -04:00
Athijegannathan Sundararajan
0b625536e6 8220700: jlink generated launcher script needs quoting to avoid parameter expansion
Reviewed-by: mchung, alanb, sgehwolf
2019-08-21 17:38:19 +05:30
Leonid Mesnik
f83ac54e23 8229854: Move runtime/ErrorHandling/TestHeapDumpOnOutOfMemoryErrorInMetaspace.java out of tier1_runtime
Reviewed-by: dholmes
2019-08-20 11:36:47 -07:00
Roman Kennke
b08e417b06 8229921: Shenandoah: Make Traversal mode non-experimental
Reviewed-by: shade
2019-08-20 18:39:09 +02:00
Patrick Concannon
c99c1f8d55 8229916: Delete redundant test java/net/Socket/reset/Test.java
Remove java/net/Socket/reset/Test.java which misses an @test tag and is obsoleted by java/net/Socket/ConnectionReset.java

Reviewed-by: alanb
2019-08-20 15:40:49 +01:00
Laurent Bourgès
383e7dfb30 8228711: Path rendered incorrectly when it goes outside the clipping region
Fixed closePath() to preserve last position and its outcode in Stroker and TransformingPathConsumer2D.PathClipFilter

Reviewed-by: prr, kcr
2019-08-07 10:25:50 +02:00
Hannes Wallnöfer
139f72ec90 8226765: Commentary on Javadoc comments
Reviewed-by: jjg, rhalade, skoivu
2019-08-06 20:39:48 +02:00
Abdul Kolarkunnu
c4b6dfbad1 8221312: test/jdk/sanity/client/SwingSet/src/ColorChooserDemoTest.java failed
Reviewed-by: serb, psadhukhan
2019-08-06 00:16:38 -07:00
Prasanta Sadhukhan
93f105e32a Merge 2019-07-25 11:31:07 +05:30
Mandy Chung
068575e9b1 8173978: Lookup.in should allow teleporting from a lookup class in a named module without dropping all access
Reviewed-by: alanb, plevart
2019-07-24 16:46:42 -07:00
Coleen Phillimore
221da20713 8228485: JVM crashes when bootstrap method for condy triggers loading of class whose static initializer throws exception
Add case for JVM_CONSTANT_Dynamic in error_message function.

Reviewed-by: dholmes, shade
2019-07-24 10:22:11 -04:00
Patrick Concannon
00395fe0d0 8227721: test/jdk/java/net/NetworkInterface/NetworkInterfaceRetrievalTests.java should open the java.net package
Reviewed-by: chegar, bpb, alanb
2019-07-24 13:08:36 +01:00
Thomas Schatzl
5e48c76e81 8228388: Add information about dirty/skipped card for Merge HCC in G1 log
Collect and print informatio about the number of processed cards during the Merge HCC phase to improve log output.

Reviewed-by: kbarrett, sangheki
2019-07-24 11:49:39 +02:00