Commit Graph

2434 Commits

Author SHA1 Message Date
Weijun Wang
a66829bc89 8231950: keytool -ext camel-case shorthand not working
Reviewed-by: mullan
2019-11-04 14:26:18 +08:00
Alan Bateman
db4909bf99 8232673: (dc) DatagramChannel socket adaptor issues
Reviewed-by: dfuchs, chegar
2019-11-02 10:02:18 +00:00
Julia Boes
012dffcd27 8231632: HttpURLConnection::usingProxy could specify that it may lazily evaluate the fact
Modified method description to disambiguate when false is returned and altered implementation

Reviewed-by: dfuchs, chegar, vtewari
2019-11-01 12:57:01 +00:00
Doug Lea
f29d1d172b 8231026: Miscellaneous changes imported from jsr166 CVS 2019-11
Reviewed-by: martin
2019-11-01 09:07:59 -07:00
Doug Lea
dc7d30d08e 8231592: Clarify that ConcurrentHashMap compute methods mapping functions execute at most once
Reviewed-by: martin
2019-11-01 09:04:04 -07:00
Sergey Bylokhov
7d0e14178d 8232200: [macos 10.15] Windows in fullscreen tests jumps around the screen
Reviewed-by: prr
2019-10-24 14:54:31 -07:00
Ambarish Rapte
30a4739efa 8226892: ActionListeners on JRadioButtons don't get notified when selection is changed with arrow keys
Reviewed-by: serb, psadhukhan
2019-10-30 16:59:40 +05:30
Sergey Bylokhov
6de547452c 8213119: [macos] java/awt/GraphicsDevice/CheckDisplayModes.java fails
Reviewed-by: prr, jdv
2019-10-24 01:02:08 -07:00
Amy Lu
0c1f972f4a 8233961: Problem list tools/jlink/JLinkReproducibleTest.java for windows-all
Reviewed-by: alanb
2019-11-13 09:09:04 +08:00
Naoto Sato
9803a8dcb2 8232860: Error formatting integer values with MessageFormat.format() using HOST provider
Reviewed-by: rriggs
2019-11-12 14:05:18 -08:00
Vladimir Yaroslavskiy
de54eb1513 8226297: Dual-pivot quicksort improvements
Reviewed-by: dl, lbourges
2019-11-12 13:49:40 -08:00
Joe Darcy
f13a0df720 8233940: Preview API tests for String methods should use ${jdk.version} as -source arg
Reviewed-by: jlaskey, jlahoda
2019-11-12 10:45:23 -08:00
Thomas Schatzl
d8fa5af9a9 8233792: TestG1ParallelPhases.java fails with phase NonYoungFreeCSet not found (2)
Reviewed-by: lkorinth, kbarrett
2019-11-12 16:28:26 +01:00
Julia Boes
d948bfd584 8232853: AuthenticationFilter.Cache::remove may throw ConcurrentModificationException
Change implementation to use iterator instead of plain LinkedList

Reviewed-by: dfuchs, vtewari
2019-11-08 11:15:16 +00:00
Jan Lahoda
29852ecd80 8232684: Make switch expressions final
Reviewed-by: alanb, mcimadamore, kvn
2019-11-12 06:32:13 +00:00
Mat Carter
f390c87d8d 8231863: Crash if classpath is read from @argument file and the main gets option argument
Reviewed-by: alanb, mchung
2019-11-11 17:43:10 -08:00
Daniil Titov
a4c01b3c46 8233868: Unproblem list sun/tools/jstat/jstatClassloadOutput1.sh
Reviewed-by: amenkov, cjplummer
2019-11-11 11:09:49 -08:00
Phil Race
53439611f0 Merge 2019-10-18 09:25:06 -07:00
Christoph Langer
3e02a34be9 8232370: Refactor some com.sun.jdi tests to enable IDE integration
Reviewed-by: amenkov, cjplummer, sspitsyn
2019-10-17 22:41:36 +02:00
Alexey Ivanov
8ca21069c6 8223558: Java does not render Myanmar script correctly
Reviewed-by: prr, serb
2019-10-16 22:30:30 +01:00
Sergey Bylokhov
e4b73897ad 8232225: Rework the fix for JDK-8071483
Reviewed-by: prr
2019-10-15 22:42:23 -07:00
Alex Menkov
3f93ec68ee 8224159: JDWP IPv6 scope support
Reviewed-by: sspitsyn, cjplummer
2019-10-31 14:23:06 -07:00
Daniel Fuchs
7df849224b 8231631: sun/net/ftp/FtpURLConnectionLeak.java fails intermittently with NPE
Sun/net/www/ftptest/FtpCommandHandler.java is modified to handle EOF properly

Reviewed-by: chegar, vtewari
2019-10-31 19:31:03 +00:00
Alan Bateman
6d98a3bdd8 8205132: Degrade Thread.countStackFrames() to throw UOE
Reviewed-by: mchung, dholmes, dcubed
2019-10-31 16:45:58 +00:00
Lance Andersen
3cc7b5babe 8231451: ZipFileInputStream::skip handling of negative values with STORED entries
Reviewed-by: clanger, bpb, alanb
2019-10-30 15:54:41 -04:00
Markus Grönlund
8addc1418a 8226511: Implement JFR Event Streaming
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Co-authored-by: Mikhailo Seledtsov <mikhailo.seledtsov@oracle.com>
Reviewed-by: egahlin, mseledtsov, mgronlun
2019-10-30 19:43:52 +01:00
Mandy Chung
5b0fbb2560 8173975: Lookup::in should not allow target class be primitive or array class
Reviewed-by: alanb
2019-10-29 12:52:03 -07:00
Lance Andersen
4095f60323 8231766: Files.copy and Files.move do not honor requested compression method when copying or moving within the same zip file
Reviewed-by: clanger, bpb, alanb
2019-10-29 14:22:18 -04:00
Eric Caspole
dbbd17b497 8233075: JFR - nmetods - misspelled in several places
Reviewed-by: hseigel, mseledtsov
2019-10-29 13:51:14 -04:00
Jie Fu
66a4fd2b79 8232864: Classes generated at link time by GenerateJLIClassesPlugin are not reproducible
Reviewed-by: redestad, mchung
2019-10-29 10:13:27 -07:00
Mark Reinhold
d83df45396 8232080: jlink plugins for vendor information and run-time options
Reviewed-by: ihse, alanb, kvn, bobv, mchung
2019-10-29 08:26:55 -07:00
Weijun Wang
026a05d0c6 8231365: ServicePermission::equals doesn't comply to the spec
8231196: DelegationPermission allows to create an instance that thows NPE on ::equals call

Reviewed-by: mullan
2019-10-29 09:34:23 +08:00
Weijun Wang
055a49a266 8228969: 2019-09-28 public suffix list update
Reviewed-by: mullan
2019-10-29 09:34:21 +08:00
Naoto Sato
127c4a4e1b 8231273: Upgrade CLDR to v36
Reviewed-by: rriggs
2019-10-28 11:06:17 -07:00
Jaikiran Pai
f3c76c4742 8232879: Writing out data with the Zip File System leads to a CRC failure
Reviewed-by: lancea, clanger
2019-10-28 13:17:54 -04:00
Alan Bateman
0290476112 8212132: (dc) Remove DatagramChannelImpl finalize method
Reviewed-by: bpb, chegar, dfuchs, martin
2019-10-27 12:13:51 +00:00
Amy Lu
c87a6fc0b3 8232922: Add java/math/BigInteger/largeMemory/SymmetricRangeTests.java to ProblemList-Xcomp
Reviewed-by: bpb, darcy, iignatyev
2019-10-25 08:50:50 +08:00
Mikhailo Seledtsov
cd4d0bc498 8227317: [TESTBUG] jdk docker/TestDockerMemoryMetrics.java fails on systems w/o kernel memory accounting
Skipping the test case if kernel memory acct not supported

Reviewed-by: sgehwolf, lmesnik
2019-10-24 12:18:32 -07:00
Prasanta Sadhukhan
65a60129c8 Merge 2019-10-15 14:19:55 +05:30
Hamlin Li
600b3e7e37 8134599: TEST_BUG: java/rmi/transport/closeServerSocket/CloseServerSocket.java fails intermittently with Address already in use
Reviewed-by: weijun, darcy, rriggs, coffeys
2019-10-17 13:34:06 +08:00
Hamlin Li
2a43248dba 8209824: Improve the code coverage for ThreadLocal
Reviewed-by: dholmes, alanb
2019-10-17 13:18:01 +08:00
Weijun Wang
49883054db 8232357: Compare version info of Santuario to legal notice
Reviewed-by: mullan
2019-10-17 07:31:35 +08:00
Ivan Gerasimov
31afddccae 8230407: SocketPermission and FilePermission action list allows leading comma
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Reviewed-by: chegar
2019-10-16 14:32:17 -07:00
Daniel Fuchs
ecde34ee35 8231449: HttpClient’s client ssl certificate authentication seems to be broken
SSLFlowDelegate.Reader and SubscriberWrapper are changed to better cooperate on when more demand should be requested from upstream. The issue encountered in this scenario was triggered by a large certificate which caused the SSLFlowDelegate to stop requesting data from upstream during the handshake although the engine handshake status was NEED_UNWRAP.

Reviewed-by: chegar
2019-10-16 14:50:53 +01:00
Henry Jen
9dd506f713 Merge 2019-10-15 21:33:54 +00:00
Naoto Sato
406c2a9b00 8212749: DecimalFormat.setGroupingSize(int) allows setting negative grouping size
8231984: Clarify semantics of DecimalFormat.getGroupingSize(0)

Reviewed-by: rriggs
2019-10-15 09:25:59 -07:00
Henry Jen
8d141f1048 Merge 2019-10-14 21:01:25 +00:00
Anton Kozlov
4b7bbaf5b0 8231584: Deadlock with ClassLoader.findLibrary and System.loadLibrary call
Reviewed-by: mchung
2019-10-11 14:49:05 -07:00
Mikhailo Seledtsov
725da985e1 8230865: [TESTBUG] jdk/jfr/event/io/EvilInstrument.java fails at-run shell MakeJAR.sh target
Prebuilding the test class before adding it into a jar file

Reviewed-by: iignatyev, egahlin
2019-10-11 13:14:00 -07:00
Naoto Sato
d60ee287e1 8225435: Upgrade IANA Language Subtag Registry to the latest for JDK14
Reviewed-by: rriggs
2019-10-11 11:06:46 -07:00
Roger Riggs
3af3b5de61 8232135: Add diagnostic output to test java/util/ProcessBuilder/Basic.java
Reviewed-by: lancea
2019-10-11 13:14:33 -04:00
Roger Riggs
942402bab8 8231427: Warning cleanup in tests of java.io.Serializable
Reviewed-by: darcy, lancea
2019-10-11 13:11:56 -04:00
Prasanta Sadhukhan
b871c1ff3a Merge 2019-10-11 12:08:01 +05:30
David Holmes
485f2e7f52 8232182: RedefineNestmateAttr/TestNestmateAttr.java failes due to ObjectCollectedException
Reviewed-by: phh, sspitsyn
2019-10-14 22:20:03 -04:00
Mikhailo Seledtsov
5b7d56fdb9 8232224: [TESTBUG] problemlist JFR TestLargeRootSet.java
Problem listed the test

Reviewed-by: egahlin, dcubed
2019-10-14 14:40:02 -07:00
Daisy Zhou
273a5277ee 8231213: Migrate SimpleDateFormatConstTest to JDK Repo
Reviewed-by: naoto
2019-10-10 14:43:41 +08:00
Rajan Halade
a544dedf18 8231887: ComodoCA.java fails because certificate was revoked
Reviewed-by: mullan, clanger
2019-10-09 12:21:28 -07:00
Daniel Fuchs
a690af3832 8231260: (dc) DatagramChannel::disconnect changes the port of the local address to 0 (lnx)
DatagramChannel::disconnect will attempt to rebind to the original port if the local port switches back to 0 after the association is disolved by the system.

Reviewed-by: alanb, chegar, fweimer
2019-10-09 17:38:58 +01:00
Kiran Ravikumar
4b36fb50ed 8231770: Test java/util/zip/FlaterTest.java fails with -Xcheck:jni
Reviewed-by: alanb, coffeys, chegar
2019-10-09 10:14:03 +00:00
Daniil Titov
0f1f9fe653 8231666: ThreadIdTable::grow() invokes invalid thread transition
Reviewed-by: dholmes, rehn
2019-10-08 09:39:10 -07:00
Daniil Titov
7306526835 8170299: Debugger does not stop inside the low memory notifications code
Reviewed-by: sspitsyn, dholmes
2019-10-08 09:13:08 -07:00
Patrick Concannon
dcceed10b6 8222829: DatagramSocket.setSoTimeout does not specify IAE when timeout is negative
Clarifies behaviour of setSoTimeout() method when given negative timeout value.

Reviewed-by: alanb, chegar, dfuchs
2019-10-08 15:03:20 +01:00
Valerie Peng
381e90eb6b 8229243: SunPKCS11-Solaris provider tests failing on Solaris 11.4
For CK_GCM_PARAMS, try the spec definition first before falling back to the header file definition

Reviewed-by: xuelei
2019-10-08 00:01:20 +00:00
Chihiro Ito
204ed44122 8225694: Destination option missing in FlightRecorderMXBeanImpl
Reviewed-by: egahlin
2019-10-07 16:44:12 +02:00
Sergey Bylokhov
876251f840 7124404: [macosx] no awt.multiClickInterval desktop property
Reviewed-by: dmarkov
2019-10-01 10:28:12 -07:00
Lance Andersen
515db21790 8231093: Document the ZIP FS properties noCompression and releaseVersion
Reviewed-by: clanger, martin, alanb
2019-10-06 13:08:58 -04:00
Lance Andersen
3e47bb2c2e 8223771: FileSystemProvider.newFileSystem(Path, Map) should throw IOException when called with a file that cannot be open
Reviewed-by: alanb
2019-10-04 15:51:17 -04: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
Markus Grönlund
b4d37ba6b9 8231081: TestMetadataRetention fails due to missing symbol id
Reviewed-by: egahlin
2019-10-24 16:37:22 +02:00
Thomas Schatzl
5a21a8c4dd 8230706: Waiting on completion of strong nmethod processing causes long pause times with G1
Instead of globally waiting for completion of strong nmethod processing during evacuation, synchronize the nmethods processing on a per-nmethod basis so that only one thread processes one nmethod at once using a state. This state indicates what work (strong/weak processing) needs to be done and what has already been done.

Reviewed-by: sjohanss, kbarrett
2019-10-24 11:08:16 +02:00
Weijun Wang
72330c70d7 8231598: keytool does not export sun.security.mscapi
Reviewed-by: mullan
2019-10-24 15:53:20 +08:00
Daniel Fuchs
b3477399d0 8232625: HttpClient redirect policy should be more conservative
When enabled, HttpClient redirect is fixed to drop the body when the request method is changed, and to relay any redirection code it does not understand to the caller.

Reviewed-by: chegar
2019-10-23 15:54:39 +01:00
Benoit Daloze
54be25b07b 8232571: Add missing SIGINFO signal
Reviewed-by: dholmes, rriggs
2019-10-22 22:00:21 -04:00
Jan Lahoda
a1894385b3 8226585: Improve javac messages for using a preview API
Avoiding deprecation for removal for APIs associated with preview features, the features are marked with an annotation, and errors/warnings are produced for them based on the annotation.

Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Reviewed-by: erikj, mcimadamore, alanb
2019-10-21 15:38:26 +02:00
Amy Lu
b404ddd9a2 8232195: Enable BigInteger tests: DivisionOverflow, SymmetricRangeTests and StringConstructorOverflow
Reviewed-by: bpb, darcy
2019-10-21 14:04:16 +08:00
Julia Boes
f8440c33d2 8225499: InetSocketAddress::toString not friendly to IPv6 literal addresses
Enclose IPv6 literal in brackets and adjust string format for unresolved addresses

Reviewed-by: dfuchs, chegar
2019-10-17 08:56:06 +01: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
Brian Burkhalter
17c057bd76 8229333: java/io/File/SetLastModified.java timed out
Reviewed-by: lancea, rriggs
2019-10-01 07:37:39 -07: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
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
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
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
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
a9254cbcfa 8231032: ThreadMXBean locking tests fail after JSR 166 refresh
Reviewed-by: martin, mchung, dholmes
2019-09-27 12:20:14 -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
Milan Mimica
464c8b84eb 8228580: DnsClient TCP socket timeout
Reviewed-by: vtewari, chegar, prappo
2019-09-24 22:57:28 +01: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
Prasanta Sadhukhan
3afd808de8 Merge 2019-09-23 13:08:20 +05:30
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
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
Vladimir Ivanov
b7251c4eb4 Merge 2019-11-26 19:18:07 +03:00
Erik Gahlin
ddb7954946 8233870: JFR TestSetEndTime.java times out - onClose() is never called
Reviewed-by: mgronlun
2019-11-26 17:00:57 +01:00
Vladimir Ivanov
e515a609e9 8234401: ConstantCallSite may stuck in non-frozen state
Reviewed-by: psandoz
2019-11-26 16:09:17 +03:00
Erik Gahlin
e06c17ce33 8234703: JFR TestOutOfProcessMigration.java should clean up files
Reviewed-by: mgronlun
2019-11-25 14:06:13 +01:00
Erik Gahlin
0cdb4d19f3 8226897: Provide object age with JFR OldObjectSample event
Reviewed-by: mgronlun, mseledtsov
2019-11-24 01:03:33 +01:00
Mikhailo Seledtsov
60ae5d4262 8229209: [TESTBUG] test for cross-process JFR event streaming
New test for cross-process JFR event streaming

Reviewed-by: iignatyev, egahlin
2019-11-22 13:44:06 -08:00
Daniel Fuchs
ba7b8e9558 8231516: network QuickAckTest.java failed due to "SocketException: maximum number of DatagramSockets reached"
Fix the test to run in /othervm mode

Reviewed-by: chegar
2019-11-22 17:53:09 +00:00
Erik Gahlin
8a5e087ed8 8233700: EventStream not closed
Reviewed-by: mgronlun, mseledtsov
2019-11-22 17:20:43 +01:00
Daniel Fuchs
8333ea85fa 8233296: MulticastSocket getOption/setOption inverts the value of IP_MULTICAST_LOOP
MulticastSocket.getOption(StandardSocketOption.IP_MULTICAST_LOOP) now returns true if loopback mode is enabled, and MulticastSocket.setOption(StandardSocketOption.IP_MULTICAST_LOOP, true) enables loopback mode. No other behavioral changes.

Reviewed-by: alanb, chegar
2019-11-22 11:52:48 +00:00
Christoph Langer
b240008ba2 8234089: (zipfs) Remove classes JarFileSystemProvider and JarFileSystem
Reviewed-by: lancea, alanb
2019-11-22 09:25:09 +01:00
Weijun Wang
8c6eb44946 8026393: jarsigner never shows a warning in badKeyUsage case
Reviewed-by: mullan
2019-11-22 09:33:03 +08:00
Patrick Concannon
6a7f775347 8234083: DatagramSocket should report SO_BROADCAST as a supported option
DatagramSocket had a setBroadcast and getBroadcast setter/getter pair but curiously didn't report SO_BROADCAST as a supported option. Note: the source code changes were accidentally pushed with 8234103 so this changeset only has the test changes. The reviewers listed below had already reviewed the full (source+test) changes.

Reviewed-by: alanb, vtewari, chegar
2019-11-21 16:33:00 +00:00
Chris Hegarty
76e5a32c52 8233847: (sctp) Flx link-local IPv6 scope handling and test cleanup
Reviewed-by: alanb
2019-11-21 12:14:29 +00:00
Chris Hegarty
262d5f1790 8232101: (sctp) Add minimal sanity tests for SCTP
Reviewed-by: alanb
2019-11-21 12:14:26 +00: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
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
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
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
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
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
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
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
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
Nick Gasson
84686488e8 8229912: [TESTBUG] java/net/Socks/SocksIPv6Test fails without IPv6
Reviewed-by: alanb, dfuchs
2019-08-22 10:53:48 +08: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
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
Alan Bateman
27e0cdf12d 8236184: (dc) IP_MULTICAST_* and IP_TOS socket options not effective
Reviewed-by: dfuchs
2019-12-19 08:36:40 +00:00
Jesper Wilhelmsson
e788e6dd46 Merge 2019-12-18 23:46:55 +01:00
Lance Andersen
ab7cfde85c 8229888: (zipfs) Updating an existing zip file does not preserve original permissions
Reviewed-by: clanger, alanb, bpb
2019-12-18 12:03:56 -05:00
Kiran Sidhartha Ravikumar
a1b2e1042c 5064980: URI compareTo inconsistent with equals for mixed-case escape sequences
Reviewed-by: chegar, dfuchs
2019-12-17 16:06:27 +00:00
Alexey Semenyuk
df75426b4f 8236134: files missing in putback to JDK-8233270
Reviewed-by: herrick, prr, almatvee
2019-12-17 15:52:20 -05:00
Daniel D. Daugherty
b4459723ad 8236130: ProblemList jdk/jfr/jmx/security/TestEnoughPermission.java
Reviewed-by: mikael
2019-12-17 15:38:22 -05:00
Alexey Semenyuk
14459b2ad2 8233270: Add support to jtreg helpers to unpack packages
8230933: Default icon is not set for additional launchers

Reviewed-by: herrick, prr, almatvee
2019-12-17 13:56:47 -05:00
Mikhailo Seledtsov
d5a8e018d5 8235454: [TESTBUG] Basic test for JFR event streaming for jdk_jfr_sanity
Created basic test for JFR event streaming

Reviewed-by: egahlin, iignatyev
2019-12-17 08:42:23 -08:00
Jesper Wilhelmsson
fa070554cb Merge 2019-12-17 16:29:30 +01:00
Daniel Fuchs
e16d4a45b0 8235925: java/net/Socket/HttpProxy.java fails on IPv4 only hosts and other small cleanups
HttpProxy test is fixed to take into account the possibility that the host may be configured with IPv4 only

Reviewed-by: chegar
2019-12-17 16:11:16 +01:00
Weijun Wang
010ac54044 8236070: Backout fix for JDK-8234465
Reviewed-by: mullan
2019-12-17 20:56:53 +08:00
Weijun Wang
31b07b21ae 8234465: Encoded elliptic curve private keys should include the public point
Reviewed-by: xuelei
2019-12-17 09:38:30 +08:00
Thomas Schatzl
bc97279caf 8235907: Fix tests referencing UseParallelOldGC
Remove tests using the obsolete UseParallelOldGC flag.

Reviewed-by: lkorinth, dlong
2019-12-16 23:07:37 +01:00
Ioi Lam
1b4b652408 8235970: [TESTBUG] Remove dependency of sun.tools.jar from RedefineClassHelper
Reviewed-by: alanb
2019-12-16 10:04:36 -08:00
Jesper Wilhelmsson
83163dbfe6 Merge 2019-12-16 17:43:20 +01:00
Harold Seigel
6ccfc65ec3 8235922: [TESTBUG]TestRecordAttrGenericSig.java and TestRecordAttr.java are failing
Replace hard-wired JDK version 14 with mechanisms that get the latest JDK version.

Reviewed-by: dcubed
2019-12-13 19:50:43 +00:00
Naoto Sato
20b1410d0c 8235238: Parsing a time string ignores any custom TimeZoneNameProvider
Reviewed-by: joehw, rriggs
2019-12-13 08:17:28 -08:00
Sibabrata Sahoo
94e8d6eca4 8234728: Some security tests should support TLSv1.3
Tests were updated to support TLSv1.3 and cipher suite order

Reviewed-by: xuelei
2019-12-12 22:47:24 -08:00
Martin Balao
4fa827ec92 8005819: Support cross-realm MSSFU
Reviewed-by: weijun
2019-12-11 15:43:42 -03:00
Joe Darcy
890826bf5b 8225361: Start of release updates for JDK 15
8235497: Add SourceVersion.RELEASE_15
8235528: Add source 15 and target 15 to javac

Reviewed-by: erikj, jjg, jlahoda, dholmes, alanb, hseigel, mikael, chegar
2019-12-10 16:38:53 -08: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
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
Abdul Kolarkunnu
63bc445628 8228479: Correct the format of ColorChooserDemoTest
Reviewed-by: serb, psadhukhan
2019-07-23 22:21:16 -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
Chris Hegarty
0b881387f2 8231504: Update networking tests to avoid implicit dependency on the system proxies
Reviewed-by: dfuchs
2019-09-27 09:55:35 +01:00
Chris Plummer
6212eb36c3 8228625: [TESTBUG] sun/tools/jhsdb/JShellHeapDumpTest.java fails with RuntimeException 'JShellToolProvider' missing from stdout/stderr
Give jshell process time to fully startup and stablize before requesting heap dump

Reviewed-by: sspitsyn, amenkov
2019-09-26 14:41:09 -07:00
Paul Hohensee
1bce27d402 8231209: [REDO] ThreadMXBean::getThreadAllocatedBytes() can be quicker for self thread
Add com.sun.management.getCurrentThreadAllocatedBytes, implement getThreadAllocatedBytes(long) independent of getThreadAllocatedBytes(long[])

Reviewed-by: mchung, dholmes, sspitsyn
2019-09-25 15:22:33 -07:00
Brian Burkhalter
12178ec008 8231174: (fs) FileTime should have 100ns resolution (win)
Reviewed-by: alanb
2019-09-25 11:44:52 -07:00
Tianmin Shi
2b56811616 8231387: java.security.Provider.getService returns random result due to race condition with mutating methods in the same class
Synchronize access to legacyMap in Provider.getService.

Reviewed-by: valeriep
2019-09-25 08:29:03 -07:00
Chihiro Ito
2260d0c6a3 8231317: jdk/jfr/jcmd/TestJcmdConfigure.java fails with "java.lang.RuntimeException: assertTrue: expected true, was false"
Reviewed-by: ysuenaga, dcubed
2019-09-25 20:32:56 +09: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
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
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
Claes Redestad
1d8c827e12 8228394: Cleanup unused java.net SharedSecrets classes
Reviewed-by: alanb, chegar
2019-07-19 15:36:23 +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
Brian Burkhalter
ba9c952f87 8228392: Backout incorrect change done by JDK-8067801
Reviewed-by: lancea
2019-07-18 17:10:33 -07: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
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
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
Peter Levart
49daf1dc19 8227368: EnumSet.class serialization broken in JDK 9+
Reviewed-by: smarks
2019-07-13 10:43:45 +00:00
Daisy Zhou
116af970c8 8227289: Enable assertions for some shell to java conversion tests after JDK-8218960
Reviewed-by: naoto
2019-07-15 10:21:33 +08:00
Mikael Vidstedt
cfcd0223a9 Merge 2019-07-12 02:50:43 -07:00
Frank Yuan
0518393598 8227422: sun/net/www/protocol/file/DirPermissionDenied.java failed on Windows 2016 because DirPermissionDenied directory has no read permission
Reviewed-by: dfuchs
2019-07-12 13:59:22 +08:00
Valerie Peng
175faeeadf 8225745: NoSuchAlgorithmException exception for SHA256withECDSA with RSASSA-PSS support
Fixed SignatureUtil and ECDSA signature impl to handle EC parameters

Reviewed-by: weijun
2019-07-11 20:11:47 +00:00
Valerie Peng
29215b987b 8181386: CipherSpi ByteBuffer to byte array conversion fails for certain data overlap conditions
Detect potential buffer overlap and use extra buffer if necessary

Reviewed-by: xuelei
2019-07-10 18:43:45 +00:00
Ramanand Patil
7087f2eae2 8224560: (tz) Upgrade time-zone data to tzdata2019a
8225580: tzdata2018i integration causes test failures on jdk-13

Reviewed-by: andrew, naoto
2019-07-10 05:12:23 +01:00
Weijun Wang
32d0bae08d 8227059: sun/security/tools/keytool/DefaultSignatureAlgorithm.java timed out
Reviewed-by: xuelei
2019-07-10 09:43:35 +08:00
Naoto Sato
0f1ad36584 8227127: Era designator not displayed correctly using the COMPAT provider
Reviewed-by: rriggs
2019-07-09 08:05:38 -07:00
Daniel Fuchs
dc300483a7 8227539: Replace wildcard address with loopback or local host in tests - part 20
Update some tests to stop using the wildcard address.

Reviewed-by: michaelm
2019-07-10 22:33:23 +02:00
Thomas Stuefe
937f230ce3 8227252: [aix] Disable jdk/java/lang/reflect/exeCallerAccessTest
Reviewed-by: goetz
2019-07-04 11:55:00 +02:00