Commit Graph

4643 Commits

Author SHA1 Message Date
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
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
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
Abdul Kolarkunnu
63bc445628 8228479: Correct the format of ColorChooserDemoTest
Reviewed-by: serb, psadhukhan
2019-07-23 22:21:16 -07:00
Mikhailo Seledtsov
94c38c4cc1 8227122: [TESTBUG] Create Docker sidecar test cases
Created test cases for container sidecar pattern

Reviewed-by: bobv, sgehwolf
2019-07-23 11:36:05 -07:00
Mikael Vidstedt
f73a94a772 Merge 2019-07-23 11:17:59 -07:00
Andrey Turbanov
43c54e9c7f 6573239: Typo in jfc text file
Reviewed-by: serb
2019-07-16 17:00:00 -07:00
Thejasvi Voniadka
1f325a0f20 8154520: java.time: appendLocalizedOffset() should return the localized "GMT" string
Changes to produce/consume the locale-specific equivalent corresponding to the english string "GMT".

Reviewed-by: naoto, rriggs
2019-07-11 03:28:43 +05:30
Jonathan Gibbons
2cd3eb0d40 8222791: Order of evaluation of -link params in Javadoc tool reversed -> regression with split packages
Reviewed-by: hannesw
2019-07-22 16:10:25 -07:00
Ralf Schmelter
678b5df6c7 8227868: jinfo and jstack can fail converting UTF8 output to strings
Reviewed-by: sgehwolf, dholmes, cjplummer
2019-07-22 14:40:00 +02:00
Severin Gehwolf
5732fe95a6 8228434: jdk/net/Sockets/Test.java fails after JDK-8227642
Move container constant to separate test lib class

Reviewed-by: alanb
2019-07-22 10:48:14 +02:00
Jan Lahoda
03270bb92a 8227923: End position of EndElementTree is -1
Fixing end positions for DocTrees EndElementTree, EntityTree and CommentTree.

Reviewed-by: jjg
2019-07-22 12:21:18 +02:00
Jie Fu
8d62f19e8d 8225648: [TESTBUG] java/lang/annotation/loaderLeak/Main.java fails with -Xcomp
Reviewed-by: alanb, iklam
2019-07-22 14:31:04 +08:00
Antonios Printezis
c0f6ce7c54 8227179: Test for new gc+metaspace=info output format
Reviewed-by: tschatzl, kbarrett
2019-07-19 12:39:31 -04:00
Claes Redestad
1d8c827e12 8228394: Cleanup unused java.net SharedSecrets classes
Reviewed-by: alanb, chegar
2019-07-19 15:36:23 +02:00
Vladimir Ivanov
242bd67c6c 8227260: JNI upcalls should bypass class initialization barrier in c2i adapter
Reviewed-by: eosterlund, dholmes, mdoerr, dpochepk
2019-07-19 16:25:04 +03:00
Matthias Baesken
e57e8f4db2 8227247: tools/sjavac/IdleShutdown.java fails with AssertionError: Error too big on windows
Reviewed-by: jjg, stuefe
2019-07-10 11:11:30 +02:00
Daniil Titov
3c6c2d8ca2 8221303: sun/management/jmxremote/bootstrap/JMXInterfaceBindingTest.java fails due to java.rmi.server.ExportException: Port already in use
Reviewed-by: cjplummer, amenkov, sgehwolf
2019-07-18 12:29:57 -07:00
Severin Gehwolf
da0f6da7e8 8227642: [TESTBUG] Make docker tests podman compatible
Reviewed-by: mseledtsov, iignatyev
2019-07-12 19:37:25 +02:00
Joe Wang
a91f9c4c7e 8157830: Errors in XSLT stylesheet are not dispatched correctly to ErrorListener
Reviewed-by: lancea
2019-07-19 02:40:59 +00:00
Brian Burkhalter
ba9c952f87 8228392: Backout incorrect change done by JDK-8067801
Reviewed-by: lancea
2019-07-18 17:10:33 -07:00
Coleen Phillimore
d35c1540e6 8227766: CheckUnhandledOops is broken in MemAllocator
Save oop created in handle more eagerly, so CheckUnhandledOops doesn't bash it.

Reviewed-by: lfoltan, eosterlund
2019-07-18 07:06:33 -04:00
Matthias Baesken
c3bd80322e 8227247: tools/sjavac/IdleShutdown.java fails with AssertionError: Error too big on windows
Reviewed-by: jjg, stuefe
2019-07-10 11:11:30 +02:00
Brian Burkhalter
2c59ffda98 8228204: Fix for JDK-8067801 breaks java/io/NegativeInitSize.java
Reviewed-by: lancea
2019-07-17 15:12:30 -07:00
Brian Burkhalter
a7016e3b5d 8067801: Enforce null check for underlying I/O streams
Reviewed-by: lancea
2019-07-17 14:24:37 -07:00
Daniil Titov
1ea3869a92 8206179: com/sun/management/OperatingSystemMXBean/GetCommittedVirtualMemorySize.java fails with Committed virtual memory size illegal value
Reviewed-by: sspitsyn, cjplummer
2019-07-17 11:23:51 -07:00
Thomas Schatzl
b4d014896a 8227089: Add timing information for merging humongous remembered sets
Reviewed-by: sangheki, kbarrett
2019-07-17 16:33:19 +02:00
Thomas Schatzl
ffe79a37c3 8227084: Add timing information for merge heap root preparation
Reviewed-by: sangheki, kbarrett
2019-07-17 16:33:19 +02:00
Mikael Vidstedt
f08a9de3b2 Merge 2019-07-17 04:33:37 -07:00
Anton Litvinov
cf5433ff56 8227392: Colors with alpha are painted incorrectly on Linux, after JDK-8214579
8224825: java/awt/Color/AlphaColorTest.java fails in linux-x64 system

Reviewed-by: prr
2019-07-16 15:15:45 +01:00
Xiaohong Gong
2c6a826899 8227615: [TESTBUG] JTReg "jdk/sun/security/util/FilePermCompat/CompatImpact.java" fails with graal
Reviewed-by: kvn
2019-07-17 10:11:05 +08:00
Jan Lahoda
c0d870559f 8227640: javac crashes on text blocks with invalid escapes
Do not translate escape sequences if text block contains illegal escapes.

Reviewed-by: jlaskey
2019-07-16 10:48:22 +02:00
Pengfei Li
a5388f21b7 8227512: [TESTBUG] Fix JTReg javac test failures with Graal
Reviewed-by: mcimadamore
2019-07-16 00:57:00 +00:00
Joe Wang
5dcfefbae0 8176447: javax.xml.validation.Validator validates incorrectly on uniqueness constraint
Reviewed-by: lancea
2019-07-16 21:12:14 +00:00
Sergey Bylokhov
768ef3cd20 8226653: [accessibility] Can edit text cell correctly, but Accessibility Tool reads nothing about editor
Reviewed-by: prr
2019-07-15 16:25:23 -07:00
Xiaohong Gong
53635b436c 8227574: [TESTBUG] JTReg tests fail with Graal due to access denied
Reviewed-by: kvn
2019-07-15 03:14:28 +00:00