Commit Graph

143 Commits

Author SHA1 Message Date
Alex Menkov
c920b4a5c0 8192057: com/sun/jdi/BadHandshakeTest.java fails with java.net.ConnectException
Reviewed-by: sspitsyn, rrich
2019-09-11 11:55:31 -07:00
Daniel Fuchs
f71db3074c 8230435: Replace wildcard address with loopback or local host in tests - part 22
Fixes tests to use the loopback address whenever possible. It also fixes some safe publishing issues, or add diagnostics in some of the tests.

Reviewed-by: michaelm
2019-09-04 18:10:07 +01:00
Patrick Concannon
662348c710 8230159: Add test to verify that com.sun.net.httpserver.BasicAuthenticator constructors throw expected exceptions
New BasicAuthenticatorExceptionCheck.java test added

Reviewed-by: chegar, dfuchs, vtewari
2019-09-04 16:42:36 +01:00
Patrick Concannon
77adc77ce3 8229235: com.sun.net.httpserver.HttpExchange should implement AutoCloseable
Reviewed-by: dfuchs, michaelm
2019-09-02 15:58:44 +01: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
Jamil Nimeh
742e9f26c8 8224997: ChaCha20-Poly1305 TLS cipher suite decryption throws ShortBufferException
Reviewed-by: xuelei
2019-08-17 06:20:49 -07: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
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
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
Valerie Peng
ded94368d1 Merge 2019-07-25 21:51:13 +00:00
Valerie Peng
6b662abe74 8180392: SunJCE provider should throw exceptions for unsupported mode and padding combinations
Change JCA Cipher class to create obj to ensure the mode and padding combination is supported

Reviewed-by: xuelei
2019-07-25 02:16:49 +00:00
Prasanta Sadhukhan
93f105e32a Merge 2019-07-25 11:31:07 +05:30
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
Phil Race
41d734bc77 8226697: Several tests which need the @key headful keyword are missing it
Reviewed-by: serb
2019-06-24 17:31:00 -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
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
Alan Bateman
7e14aeb133 8221481: Reimplement the Legacy Socket API
Reviewed-by: michaelm, chegar
2019-05-30 07:19:19 +01:00
Daniel Fuchs
5461726dcc 8224761: Replace wildcard address with loopback or local host in tests - part 12
Fixes a batch of intermittent failures.

Reviewed-by: chegar, vtewari
2019-05-27 19:24:42 +01:00
Weijun Wang
764258a114 6682540: Incorrect SASL DIGEST-MD5 behavior
Reviewed-by: jnimeh
2019-05-25 08:30:53 +08:00
Daniel Fuchs
ee040e4be2 8224603: Replace wildcard address with loopback or local host in tests - part 11
Fixes a batch of tests that were observed failing intermittently.

Reviewed-by: chegar, vtewari
2019-05-24 15:34:14 +01:00
Daniel Fuchs
cd9e3c1b13 8223856: Replace wildcard address with loopback or local host in tests - part 8
Fixes some intermittent test failures by replacing wildcard with loopback - or retrying once.

Reviewed-by: aefimov, chegar
2019-05-20 12:37:40 +01:00
Alex Menkov
e18cecafb9 8184770: JDWP support for IPv6
Reviewed-by: sspitsyn, chegar
2019-05-15 11:06:33 -07:00
Daniel Fuchs
7d4520c109 8223145: Replace wildcard address with loopback or local host in tests - part 1
Replaces binding to wildacard with alternative less susceptible to intermittent failure in some intermittently failing tests.

Reviewed-by: chegar, msheppar
2019-05-02 11:55:16 +01:00
Daniil Titov
5c928d29fb 8222821: com/sun/jdi/ExceptionEvents.java failed
Reviewed-by: dlong, sspitsyn, jcbeyler, cjplummer
2019-04-30 16:11:42 -07:00
Rob McKenna
88303d1c60 8139965: Hang seen when using com.sun.jndi.ldap.search.replyQueueSize
Reviewed-by: dfuchs
2019-04-25 05:54:54 -07:00
Coleen Phillimore
6ebf2ce655 8192936: RI does not follow the JVMTI RedefineClasses spec that is too strict in the definition
Introduce new flag fo compatibility: -XX:AllowRedefinitionToAddOrDeleteMethods

Reviewed-by: jcbeyler, sspitsyn
2019-04-19 21:49:54 -07:00
Arthur Eubanks
0c2b7c4fc3 8220575: Replace hardcoded 127.0.0.1 in URLs with new URI builder
Reviewed-by: dfuchs, chegar
2019-03-27 09:06:43 -07:00
Alan Bateman
c306e3f059 8220738: (sc) Move ServerSocketChannelImpl remaining native method to Net
Reviewed-by: bpb
2019-03-16 12:31:31 +00:00
Gary Adams
5ea96c5f29 8218166: com/sun/jdi/SimulResumerTest.java failure
Reviewed-by: dlong, jcbeyler
2019-03-14 10:58:53 -04:00
Arthur Eubanks
ef9ce3be1e 8220083: Use InetAddress.getLoopbackAddress() in place of 127.0.0.1 for some tests
Tests that hardcode "127.0.0.1" fail in an environment where only IPv6 is available and IPv4 is not.

Reviewed-by: chegar, dfuchs, michaelm
2019-02-27 13:34:40 -08:00
Anthony Scarpino
5250aaafdb 8220165: Encryption using GCM results in RuntimeException- input length out of bound
Reviewed-by: valeriep
2019-03-07 19:35:02 -08:00
Chris Plummer
2e9427d223 8220030: JdbStopThreadidTest.java failed due to "Unexpected IO error while writing command 'quit' to jdb stdin stream"
Use contToExit(1) for safer approach to test exit.

Reviewed-by: gadams, amenkov
2019-03-05 13:40:05 -08:00
Xue-Lei Andrew Fan
25f0d60a58 8215430: Remove the internal package com.sun.net.ssl
Reviewed-by: chegar, mullan, wetmore
2019-03-01 08:35:14 -08:00
Goetz Lindenmaier
62dd12b386 8219714: [testbug] com/sun/jdi/RedefineNestmateAttr/TestNestmateAttr.java must pass classpath to subprocess
Reviewed-by: dholmes, dcubed
2019-02-28 13:53:38 +01:00
Alex Menkov
f16ddb2c3d 8181383: com/sun/jdi/OptionTest.java fails intermittently with bind failed: Address already in use
Reviewed-by: sspitsyn, cjplummer
2019-02-26 15:29:08 -08:00
Chris Plummer
b0eedd125f 8219143: jdb should support breakpoint thread filters
Add thread filter to stop command.

Reviewed-by: sspitsyn, amenkov
2019-02-25 18:54:40 -08:00
Goetz Lindenmaier
29021027db 8219095: [testbug] Add @key headful to com/sun/java/swing/plaf/windows/AltFocusIssueTest.java
Reviewed-by: prr, serb
2019-02-13 13:27:17 +01:00
Alex Menkov
f03805c4ef 8214582: BasicJDWPConnectionTest.java: RuntimeException: Could not detect port from ''
Reviewed-by: sspitsyn, dtitov
2019-02-13 11:08:51 -08:00
Alex Menkov
46d9b91d80 8218702: [TESTBUG] com/sun/jdi/RepStep.java does not report debuggee errors
Reviewed-by: sspitsyn, dtitov
2019-02-13 11:04:03 -08:00
Daniel Fuchs
6d98f3c4d7 8218554: HttpServer: allow custom handlers to request that the connection be closed after the exchange
Custom handler code can supply `Connection: close` to response headers in order to force connection close after the exchange terminates.

Reviewed-by: chegar
2019-02-11 18:41:24 +01:00
Daniil Titov
aa39ea1b55 8163127: Debugger classExclusionFilter does not work correctly with method references
Reviewed-by: cjplummer, jcbeyler
2019-01-29 16:48:20 -08:00
Gary Adams
b979952d62 8158066: SourceDebugExtensionTest fails to rename file
Reviewed-by: dcubed, dholmes
2019-01-18 05:33:28 -05:00
Goetz Lindenmaier
084f0b75bd 8216265: [testbug] Introduce Platform.sharedLibraryPathVariableName() and adapt all tests
Also cleanup some switches over OSes and use File.pathSeparator.

Reviewed-by: dholmes, mdoerr
2019-01-14 00:00:00 +01:00
Ralf Schmelter
8c4f51f666 8214892: Delayed starting of debugging via jcmd
Reviewed-by: cjplummer, clanger
2018-12-12 11:34:08 +00:00
Hamlin Li
9ed40ce6c5 8214431: tests failed because can't find jdk.testlibrary.* in test directory or libraries
Reviewed-by: chegar, ctornqvi, dholmes
2018-11-29 07:40:45 +08:00
Richard Reingruber
e310d296e2 8213902: com/sun/jdi/SetLocalWhileThreadInNative.java times out
Reviewed-by: dholmes, jcbeyler
2018-11-16 15:51:29 +01:00
Rob McKenna
d3ccf8a0ca 8160768: Add capability to custom resolve host/domain names within the default JNDI LDAP provider
Reviewed-by: alanb, dfuchs, chegar, mchung, vtewari
2018-11-12 08:33:59 -08:00
Richard Reingruber
e8fd8147a3 8212928: Assertion too strict in compiledVFrame::update_deferred_value on SPARC
Reviewed-by: kvn
2018-11-08 09:04:00 -08:00
Gary Adams
426873751c 8206330: Revisit com/sun/jdi/RedefineCrossEvent.java
Reviewed-by: cjplummer, sspitsyn, amenkov
2018-10-23 11:51:03 -04:00
Alex Menkov
b4cb7d6fc7 8212151: jdi/ExclusiveBind.java times out due to "bind failed: Address already in use" on Solaris-X64
Reviewed-by: sspitsyn, jcbeyler
2018-10-25 11:48:18 -07:00