Commit Graph

2165 Commits

Author SHA1 Message Date
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
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
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
Tejpal Rebari
fe80d6458c 8042383: [TEST_BUG] Test javax/swing/plaf/basic/BasicMenuUI/4983388/bug4983388.java fails with shortcuts on menus do not work
Reviewed-by: jdv, psadhukhan
2019-07-04 12:28:34 +05:30
Fairoz Matte
9f4fd8c7ab 8225715: jhsdb jmap fails to write binary heap dump of a jshell process
Add a Null check for getSourceFileName() before writing into thread dump.

Reviewed-by: cjplummer, kevinw
2019-07-02 08:43:44 -07:00
Patrick Concannon
76785af549 8226756: Replace wildcard address with loopback or local host in tests - part 18
Reviewed-by: dfuchs
2019-07-10 16:09:20 +01:00
Mikael Vidstedt
e9d003926b Merge 2019-07-10 07:27:58 -07:00
Ramanand Patil
475cf213d9 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
Mikael Vidstedt
ff3eeb4773 Merge 2019-07-09 16:37:30 -07:00
Patricio Chilano Mateo
fe39168fa7 8191890: Biased locking still uses the inferior stop the world safepoint for revocation
Revocations are now executed with thread local handshakes instead of safepoints

Reviewed-by: dcubed, coleenp, dholmes, rehn, mgronlun
2019-07-09 14:38:48 -04:00
Mikael Vidstedt
15bde6d32d Merge 2019-07-05 11:01:31 -07:00
Claes Redestad
7f1f9a50ae 8225239: Refactor NetworkInterface lookups
Reviewed-by: michaelm, dfuchs, chegar
2019-07-05 13:40:29 +02:00
Claes Redestad
eddf2cf920 8224657: [TESTBUG] java/util/Locale/SoftKeys.java should be ignored but run
Reviewed-by: alanb
2019-07-04 15:00:03 +02:00
Patrick Concannon
9f41d4d2f2 8229421: The logic of java/net/ipv6tests/TcpTest.java is flawed
The test is fixed to ignore rogue client connection. However it remains succeptible to intermittent failures due to the use of the wildcad address.

Reviewed-by: dfuchs
2019-08-20 11:15:23 +01:00
Andrew Dinn
047b8bfeb7 8224974: Implement JEP 352
Non-Volatile Mapped Byte Buffers

Reviewed-by: alanb, kvn, bpb, gromero, darcy, shade, bulasevich, dchuyko
2019-08-20 10:11:53 +01:00
Chris Hegarty
cbfcd9c72e 8225425: java.lang.UnsatisfiedLinkError: net.dll: Can't find dependent libraries
Reviewed-by: dfuchs, alanb, erikj
2019-08-19 14:28:43 +01:00
Daniel Fuchs
bd1521e1a6 8191169: java/net/Authenticator/B4769350.java failed intermittently
Fixed a race condition in AuthenticationInfo when serializeAuth=true

Reviewed-by: chegar, michaelm
2019-08-19 11:14:50 +01:00
Jamil Nimeh
742e9f26c8 8224997: ChaCha20-Poly1305 TLS cipher suite decryption throws ShortBufferException
Reviewed-by: xuelei
2019-08-17 06:20:49 -07:00
Daniel Fuchs
e81ee784d3 8229481: sun/net/www/protocol/https/ChunkedOutputStream.java failed with a SSLException
The test is updated to ignore plain text connections

Reviewed-by: chegar, michaelm
2019-08-16 15:01:58 +01:00
Weijun Wang
b84ffae32f 8229775: Incorrect warning when jar was signed with -sectionsonly
Reviewed-by: mullan
2019-08-16 08:42:09 +08:00
Daniel Fuchs
77d09f0f14 8229486: Replace wildcard address with loopback or local host in tests - part 21
Reviewed-by: chegar
2019-08-15 12:58:27 +01:00
Chris Yin
af89550878 8217606: LdapContext#reconnect always opens a new connection
Reviewed-by: lancea, vtewari, rriggs
2019-08-14 11:14:54 +01:00
Valerie Peng
effe3eb806 8228613: java.security.Provider#getServices order is no longer deterministic
Changed to use SunEntries.DEF_SECURE_RANDOM_ALGO instead of relying on ordering of SecureRandom services

Reviewed-by: weijun
2019-08-14 00:57:15 +00:00
Mandy Chung
182c19e8c4 8209005: Lookup.unreflectSpecial fails for default methods when Lookup.findSpecial works
8209078: Unable to call default method from interface in another module from named module

Reviewed-by: dfuchs, plevart
2019-08-13 15:49:11 -07:00
Naoto Sato
cf9351a41f 8211990: DateTimeException thrown when calculating duration between certain dates
Reviewed-by: lancea, scolebourne, rriggs
2019-08-13 10:10:42 -07:00
Daniel Fuchs
6d63995ada 8229348: java/net/DatagramSocket/UnreferencedDatagramSockets.java fails intermittently
The test was observed blocking on receive and is updated to avoid using the wildcard address

Reviewed-by: chegar, msheppar
2019-08-13 16:18:43 +01:00
Aleksei Efimov
b4a7fb856b 8228508: [TESTBUG] java/net/httpclient/SmokeTest.java fails on Windows7
Reviewed-by: dfuchs, chegar
2019-08-13 16:11:28 +01:00
Xue-Lei Andrew Fan
316140ff92 8226374: Restrict TLS signature schemes and named groups
Reviewed-by: mullan
2019-08-12 21:36:29 -07:00
Michael McMahon
438c7a5dba 8185898: setRequestProperty(key, null) results in HTTP header without colon in request
Reviewed-by: chegar, dfuchs
2019-08-12 11:24:53 +01:00
Matthias Baesken
acd7750971 8219082: jdk/jfr/event/runtime/TestShutdownEvent.java failed in validateStackTrace()
Reviewed-by: mdoerr, mseledtsov
2019-08-09 15:39:32 +02:00
Jesper Wilhelmsson
c11080efd9 Merge 2019-08-09 03:51:20 +02:00
Aleksei Efimov
4312f54e51 8225430: Replace wildcard address with loopback or local host in tests - part 14
Reviewed-by: dfuchs, chegar, vtewari
2019-08-08 21:58:11 +01:00
Patrick Concannon
9f7cbf60e4 8228970: AssertionError in ResponseSubscribers$HttpResponseInputStream
HttpResponseInputStream::read(byte[],int,int) now implements the same check than the InputStream::read(byte[],int,int).

Reviewed-by: prappo, chegar, dfuchs
2019-08-08 18:44:11 +01:00
Richard Reingruber
3699e4d834 8228359: [TESTBUG] jdk.jfr.e.g.c.TestGCHeapConfigurationEventWith32BitOops.java does not expect MinHeapSize to be aligned to HeapAlignment
Reviewed-by: mseledtsov, clanger
2019-08-08 07:07:06 +01:00
Naoto Sato
865afd7fda 8215181: Accounting currency format support
Reviewed-by: lancea, rriggs
2019-08-07 14:56:26 -07:00
Lance Andersen
5233e25c4c 8226530: ZipFile reads wrong entry size from ZIP64 entries
Reviewed-by: bpb, clanger, shade
2019-08-07 14:04:10 -04:00
Ramanand Patil
1f0295ca65 8228469: (tz) Upgrade time-zone data to tzdata2019b
Reviewed-by: naoto, martin
2019-08-07 13:00:57 +01:00
Christoph Langer
302a162704 8213031: (zipfs) Add support for POSIX file permissions
Reviewed-by: alanb, lancea
2019-08-07 11:28:14 +01:00
Thejasvi Voniadka
9a217b9313 8158880: test/java/time/tck/java/time/format/TCKDateTimeFormatterBuilder.java fail with zh_CN locale
Reviewed-by: naoto
2019-08-05 11:11:18 +05:30
Daniel D. Daugherty
46a5f5a299 8229032: ProblemList jdk/internal/platform/docker/TestDockerMemoryMetrics.java
Reviewed-by: mseledtsov, kbarrett
2019-08-02 15:13:10 -04:00
Ivan Gerasimov
66dc6cf25b 8228352: CANON_EQ breaks when pattern contains supplementary codepoint
Reviewed-by: naoto
2019-08-01 07:14:03 -07:00
Matthias Baesken
57dac13ec5 8228658: test GetTotalSafepointTime.java fails on fast Linux machines with Total safepoint time 0 ms
Reviewed-by: dholmes, jcbeyler
2019-08-01 08:59:31 +02:00
Brian Burkhalter
3155cd829b 8227609: (fs) Files.newInputStream(...).skip(n) should allow skipping beyond file size
Reviewed-by: alanb, lancea, fweimer
2019-07-30 09:46:06 -07:00
Weijun Wang
855e5f5282 8228745: sun/security/tools/jarsigner/Warning.java test timeout
Reviewed-by: xuelei
2019-07-30 11:14:16 +08:00
Rajan Halade
285edd49e9 8228755: ProblemList sun/security/tools/jarsigner/Warning.java
Reviewed-by: xuelei
2019-07-29 16:09:36 -07:00
Valerie Peng
c720219beb 8228668: compiler/codegen/aes/TestAESMain.java failed with GCM mode must be used with NoPadding
Updated test to use NoPadding as default if the mode is one of GCM, CTR and CTS

Reviewed-by: xuelei
2019-07-29 20:18:43 +00:00
Xue-Lei Andrew Fan
4ac4c838d9 8228742: Remove javax/net/ssl/SSLSocket/Tls13PacketSize.java from ProblemList
Reviewed-by: mullan
2019-07-29 11:23:49 -07:00
Mikael Vidstedt
895db11053 Merge 2019-07-29 09:59:04 -07:00
Brian Burkhalter
62c2d1fbd9 8078891: java.io.SequenceInputStream.close is not atomic and not idempotent
Reviewed-by: prappo, dfuchs, alanb
2019-07-29 09:09:23 -07:00
Brian Burkhalter
20ee82bf0a 8181493: (fs) Files.readAttributes(path, BasicFileAttributes.class) should preserve nano second time stamps
Reviewed-by: alanb, lancea
2019-07-29 08:48:52 -07:00
John Jiang
804e840856 8228403: SignTwice.java failed with java.io.FileNotFoundException: File name too long
Reviewed-by: mullan
2019-07-27 10:02:35 +08:00
Ralf Schmelter
5bbe479ade 8228589: BasicJStackTest.java and JcmdOutputEncodingTest.java failing after JDK-8227868
Reviewed-by: cjplummer, sgehwolf
2019-07-26 10:52:47 +02:00
Sean Coffey
bb3d5aed04 8228645: Don't run sun/security/pkcs11/Cipher/TestKATForGCM.java on buggy NSS solaris versions
Reviewed-by: valeriep
2019-07-29 08:17:26 +00:00
Naoto Sato
11ab995e6c 8228465: HOST locale provider holds wrong era name for GregorianCalendar in US locale
Reviewed-by: lancea
2019-07-26 13:32:59 -07:00