Commit Graph

479 Commits

Author SHA1 Message Date
Kim Barrett
b743519ba9 8293824: gc/whitebox/TestConcMarkCycleWB.java failed "RuntimeException: assertTrue: expected true, was false"
Reviewed-by: iwalulya, tschatzl
2023-01-04 03:28:31 +00:00
Abhishek Kumar
2ee34f1488 4912623: GTK L&F: Folder list of the JFileChooser is allowing multiple selection unlike native
Reviewed-by: psadhukhan, jdv, serb
2023-01-02 06:03:12 +00:00
Chris Plummer
7241e358bf 8298692: Fix typos in test/jdk/com/sun/jdi files
Reviewed-by: amenkov, sspitsyn
2022-12-14 17:53:11 +00:00
Kevin Walls
fbe7b00738 8298173: GarbageCollectionNotificationContentTest test failed: no decrease in Eden usage
Reviewed-by: dcubed, cjplummer, sspitsyn
2022-12-08 12:10:26 +00:00
Volodymyr Paprotski
203251ffc0 8297379: Enable the ByteBuffer path of Poly1305 optimizations
Reviewed-by: sviswanathan, ascarpino, jnimeh
2022-12-06 16:47:45 +00:00
Yude Lin
f5ad515db0 8297247: Add GarbageCollectorMXBean for Remark and Cleanup pause time in G1
Reviewed-by: tschatzl, ayang
2022-12-06 07:16:27 +00:00
Maurizio Cimadamore
73baadceb6 8295044: Implementation of Foreign Function and Memory API (Second Preview)
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: jvernee, pminborg, psandoz, alanb, sundar
2022-12-05 13:49:53 +00:00
Abhishek Kumar
2084451193 8078471: Backspace does not work in JFileChooser with GTK L&F
Reviewed-by: psadhukhan, prr
2022-11-29 21:49:50 +00:00
David Holmes
692bedbc1d 8297106: Remove the -Xcheck:jni local reference capacity checking
Reviewed-by: dcubed, kevinw
2022-11-29 02:03:49 +00:00
Volodymyr Paprotski
74d3baccb3 8297417: Poly1305IntrinsicFuzzTest fails with tag mismatch exception
Reviewed-by: sviswanathan, vlivanov, rcastanedalo, thartmann
2022-11-25 07:07:39 +00:00
Valerie Peng
6dc4d891c3 7181214: Need specify SKF translateKey(SecurityKey) method requires instance of PBEKey for PBKDF2 algorithms
Reviewed-by: xuelei, weijun
2022-11-23 18:49:35 +00:00
Volodymyr Paprotski
f12710e938 8288047: Accelerate Poly1305 on x86_64 using AVX512 instructions
Reviewed-by: sviswanathan, vlivanov
2022-11-21 21:01:25 +00:00
Joe Darcy
87530e66dd 8296913: Correct enable preview idiom in JdbLastErrorTest.java
Reviewed-by: cjplummer, kevinw, alanb, sspitsyn
2022-11-15 18:22:00 +00:00
Kevin Walls
8a9eabbec6 8296786: Limit VM modes for com/sun/jdi/JdbLastErrorTest.java
Reviewed-by: cjplummer, dcubed
2022-11-15 07:23:40 +00:00
Daniel Fuchs
4a300818fe 8296747: com/sun/net/httpserver/simpleserver/StressDirListings.java timed out
Reviewed-by: jpai
2022-11-11 11:23:57 +00:00
Aleksei Efimov
9ef7852be3 8290714: Make com.sun.jndi.dns.DnsClient virtual threads friendly
Reviewed-by: dfuchs, jpai
2022-11-10 19:20:33 +00:00
Abhishek Kumar
4a68210d9f 6972078: Can not select single directory with GTKLookAndFeel
Reviewed-by: psadhukhan, tr
2022-11-10 14:11:52 +00:00
Richard Reingruber
08d3ef4fe6 8295413: com/sun/jdi/EATests.java fails with compiler flag -XX:+StressReflectiveCode
Reviewed-by: lmesnik, kvn, sspitsyn
2022-10-24 08:00:06 +00:00
Serguei Spitsyn
c5e0464098 8291456: com/sun/jdi/ClassUnloadEventTest.java failed with: Wrong number of class unload events: expected 10 got 4
Reviewed-by: cjplummer, amenkov
2022-10-20 01:18:39 +00:00
Aleksei Efimov
d37ce4cdd1 8290368: Introduce LDAP and RMI protocol-specific object factory filters to JNDI implementation
Reviewed-by: dfuchs, rriggs, jpai
2022-10-19 14:41:28 +00:00
Jaikiran Pai
1553551d82 8286918: Better HttpServer service
Reviewed-by: dfuchs, michaelm, ahgross, rhalade
2022-10-18 22:41:16 +00:00
Daniel Jeliński
94caecbe57 8294906: Memory leak in PKCS11 NSS TLS server
Reviewed-by: valeriep
2022-10-13 09:29:17 +00:00
Abhishek Kumar
9d0009e92b 6777156: GTK L&F: JFileChooser can jump beyond root directory in combobox and selection textarea.
Reviewed-by: jdv, tr, psadhukhan
2022-10-11 12:55:59 +00:00
Chris Plummer
6a266c4de1 8292879: com/sun/jdi/ClassUnloadEventTest.java failed due to classes not unloading
Reviewed-by: dholmes, coleenp, sspitsyn
2022-10-07 19:11:19 +00:00
Chris Plummer
6ad151d096 8293143: Workaround for JDK-8292217 when doing "step over" of bytecode with unresolved cp reference
Reviewed-by: sspitsyn, amenkov
2022-09-27 21:20:41 +00:00
Aleksei Efimov
7765942aee 8290367: Update default value and extend the scope of com.sun.jndi.ldap.object.trustSerialData system property
Reviewed-by: dfuchs, jpai
2022-09-16 10:04:51 +00:00
Leonid Mesnik
2028ec7412 8289608: Change com/sun/jdi tests to not use Thread.suspend/resume
Reviewed-by: cjplummer, sspitsyn, alanb, dcubed
2022-09-15 17:25:48 +00:00
Kevin Walls
dfc16e047f 8292302: Windows GetLastError value overwritten by ThreadLocalStorage::thread
Reviewed-by: cjplummer, dholmes, dcubed
2022-09-13 07:34:55 +00:00
Chris Plummer
da99e3e829 8289400: Improve com/sun/jdi/TestScaffold error reporting
Reviewed-by: amenkov, lmesnik
2022-09-02 16:08:17 +00:00
Kevin Driver
6335150cea 6205692: (spec) javax.crypto.MacSpi.engineUpdate(ByteBuffer input): NPE should be specified
Reviewed-by: valeriep
2022-08-30 20:51:34 +00:00
Kevin Driver
550e5d7822 4958071: (spec) confusing exception list for javax.crypto.Cipher.init(...) for
Reviewed-by: valeriep, wetmore
2022-08-30 18:23:46 +00:00
Chris Plummer
3e18773016 8292880: Improve debuggee logging for com/sun/jdi/ClassUnloadEventTest.java
Reviewed-by: amenkov, kevinw
2022-08-25 22:54:29 +00:00
Chris Plummer
d83faeaf9a 8292250: Create test for co-located JDI MethodEntry, Step, and Breakpoint events
Reviewed-by: amenkov, kevinw
2022-08-25 22:03:43 +00:00
Erik Österlund
054c23f484 8290025: Remove the Sweeper
Reviewed-by: stefank, kvn, iveresov, coleenp, vlivanov, mdoerr
2022-08-25 09:48:55 +00:00
Bill Huang
124fc4a83d 8290180: Convert com/sun/management/UnixOperatingSystemMXBean/GetOpenFileDescriptorCount.sh to jtreg java version
8290181: convert com/sun/management/UnixOperatingSystemMXBean/GetMaxFileDescriptorCount.sh to java version

Reviewed-by: lmesnik, amenkov
2022-08-08 15:06:49 +00:00
Chris Plummer
a6564d495b 8291650: Add delay to ClassUnloadEventTest before exiting to give time for JVM to send all events before VMDeath
Reviewed-by: sspitsyn, amenkov
2022-08-02 21:13:00 +00:00
KIRIYAMA Takuya
d61c0c79cf 8290497: some tests in com/sun/jdi fail on localized Windows platform
Reviewed-by: sspitsyn, cjplummer, amenkov
2022-08-01 08:12:25 +00:00
Kevin Driver
0bcf17674e 6227536: KeyGenerator.init() methods do not throw IllegalArgumentException for keysize == 0
Reviewed-by: wetmore
2022-07-29 20:30:28 +00:00
Zhengyu Gu
54854d9300 8256811: Delayed/missed jdwp class unloading events
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Reviewed-by: cjplummer, coleenp, sspitsyn
2022-07-22 12:27:04 +00:00
Alex Menkov
7ec0132ad3 8286844: com/sun/jdi/RedefineCrossEvent.java failed with 1 threads completed while VM suspended
Reviewed-by: sspitsyn, cjplummer
2022-07-21 18:14:40 +00:00
Coleen Phillimore
0c37008917 8275662: remove test/lib/sun/hotspot
Reviewed-by: mseledtsov, sspitsyn, lmesnik
2022-07-11 13:07:03 +00:00
Coleen Phillimore
e7795851d2 8271707: migrate tests to use jdk.test.whitebox.WhiteBox
Reviewed-by: lmesnik, dholmes
2022-07-08 15:55:14 +00:00
Jesper Wilhelmsson
2a6ec88cd0 Merge 2022-07-06 21:01:10 +00:00
Chris Plummer
29ea6429d2 8287847: Fatal Error when suspending virtual thread after it has terminated
Reviewed-by: alanb, sspitsyn
2022-07-05 17:46:59 +00:00
Christoph Langer
5b5bc6c26e 8287672: jtreg test com/sun/jndi/ldap/LdapPoolTimeoutTest.java fails intermittently in nightly run
Reviewed-by: stuefe
Backport-of: 7e211d7daa
2022-07-04 07:52:38 +00:00
rmartinc
c3addbb1c0 8288895: LdapContext doesn't honor set referrals limit
Reviewed-by: dfuchs, aefimov
2022-06-30 09:17:57 +00:00
Jaikiran Pai
dddd4e7c81 8289291: HttpServer sets incorrect value for "max" parameter in Keep-Alive header value
Reviewed-by: michaelm, dfuchs
2022-06-30 01:43:11 +00:00
Leonid Mesnik
f080430440 8288599: com/sun/management/OperatingSystemMXBean/TestTotalSwap.java: Expected total swap size ... but getTotalSwapSpaceSize returned ...
Reviewed-by: sspitsyn, kevinw
2022-06-21 18:38:03 +00:00
Rob McKenna
7e211d7daa 8287672: jtreg test com/sun/jndi/ldap/LdapPoolTimeoutTest.java fails intermittently in nightly run
Reviewed-by: dfuchs, aefimov
2022-06-21 00:23:12 +00:00
Alan Bateman
6ff2d89ea1 8287496: Alternative virtual thread implementation that maps to OS thread
Reviewed-by: rehn, mchung
2022-06-02 09:02:37 +00:00
Alexey Ivanov
e0d361cea9 8284191: Replace usages of 'a the' in hotspot and java.base
Reviewed-by: lancea, wetmore, naoto, iris, kevinw, xuelei
2022-05-24 11:25:13 +00:00
Alan Bateman
15f15830f0 8287008: Improve tests for thread dumps in JSON format
Reviewed-by: cjplummer
2022-05-24 06:20:53 +00:00
Alex Menkov
a617709235 8281268: Resolve duplication of test ClassTransformer class
Reviewed-by: kevinw, cjplummer
2022-05-18 20:49:38 +00:00
Valerie Peng
61ddbef368 8002277: Refactor two PBE classes to simplify maintenance
Reviewed-by: weijun
2022-05-17 20:55:34 +00:00
Alan Bateman
9583e3657e 8284161: Implementation of Virtual Threads (Preview)
Co-authored-by: Ron Pressler <rpressler@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Co-authored-by: Rickard Bäckman <rbackman@openjdk.org>
Co-authored-by: Markus Grönlund <mgronlun@openjdk.org>
Co-authored-by: Leonid Mesnik <lmesnik@openjdk.org>
Co-authored-by: Serguei Spitsyn <sspitsyn@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org>
Reviewed-by: lancea, eosterlund, rehn, sspitsyn, stefank, tschatzl, dfuchs, lmesnik, dcubed, kevinw, amenkov, dlong, mchung, psandoz, bpb, coleenp, smarks, egahlin, mseledtsov, coffeys, darcy
2022-05-07 08:06:16 +00:00
Chris Plummer
e98c32d6b6 8284043: com/sun/jdi/MethodInvokeWithTraceOnTest.java failing with com.sun.jdi.ObjectCollectedException
Reviewed-by: sspitsyn, amenkov
2022-04-07 19:01:42 +00:00
Daniel Jeliński
5bafcfdc17 8284444: Sting typo
Reviewed-by: kcr, aivanov, mgronlun
2022-04-07 14:55:05 +00:00
Jie Fu
77a205aa4c 8284090: com/sun/security/auth/module/AllPlatforms.java fails to compile
Reviewed-by: mullan
2022-03-31 13:51:12 +00:00
Sibabrata Sahoo
fbb8ca55a8 8281717: Cover logout method for several LoginModule
Reviewed-by: rhalade
2022-03-31 06:17:00 +00:00
Valerie Peng
313bc7f64f 8267319: Use larger default key sizes and algorithms based on CNSA
Reviewed-by: weijun, xuelei
2022-03-24 22:50:26 +00:00
Chris Plummer
5bf6a7f7d7 8282691: add jdb "-R" option for passing any argument to the launched debuggee process
Reviewed-by: alanb, kevinw
2022-03-14 18:15:40 +00:00
Matteo Baccan
ccad39237a 8282657: Code cleanup: removing double semicolons at the end of lines
Reviewed-by: lancea, rriggs, ihse, prr, iris, wetmore, darcy, dholmes
2022-03-07 21:33:40 +00:00
Weijun Wang
1485883c9e 8281628: KeyAgreement : generateSecret intermittently not resetting
Reviewed-by: valeriep
2022-03-03 00:39:39 +00:00
Julia Boes
9ca435b4c0 8281305: Test com/sun/net/httpserver/simpleserver/MapToPathTest.java fails on Windows 11
Reviewed-by: dfuchs
2022-02-17 10:35:05 +00:00
Julia Boes
f3e8242683 8280965: Tests com/sun/net/httpserver/simpleserver fail with FileSystemException on Windows 11
Reviewed-by: dfuchs
2022-02-07 09:28:05 +00:00
Rob McKenna
3d926dd66e 8277795: ldap connection timeout not honoured under contention
Reviewed-by: dfuchs, aefimov
2022-02-04 13:07:03 +00:00
Michael McMahon
de3113b998 8279842: HTTPS Channel Binding support for Java GSS/Kerberos
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Reviewed-by: dfuchs, weijun, darcy
2022-02-01 07:26:59 +00:00
Julia Boes
20297deaeb 8280161: com/sun/net/httpserver/simpleserver/jwebserver/MaxRequestTimeTest.java fails with SSLException
Reviewed-by: dfuchs
2022-01-20 12:16:21 +00:00
Julia Boes
9f30ec174f 8278398: jwebserver: Add test to confirm maximum request time
Reviewed-by: dfuchs, michaelm
2022-01-14 12:48:03 +00:00
Zdenek Zambersky
4c52eb3943 8279669: test/jdk/com/sun/jdi/TestScaffold.java uses wrong condition
Reviewed-by: amenkov, sspitsyn
2022-01-11 13:14:48 +00:00
Daniel Jelinski
f31dead6c5 8279043: Some Security Exception Messages Miss Spaces
Reviewed-by: weijun
2021-12-21 18:24:31 +00:00
Michael McMahon
bc31ccc95b 8278312: Update SimpleSSLContext keystore to use SANs for localhost IP addresses
Reviewed-by: dfuchs
2021-12-09 17:38:49 +00:00
Julia Boes
f505396ccc 8277459: Add jwebserver tool
Reviewed-by: michaelm, dfuchs, ihse
2021-12-01 10:37:09 +00:00
Richard Reingruber
ca2efb73f5 8274687: JDWP deadlocks if some Java thread reaches wait in blockOnDebuggerSuspend
Reviewed-by: cjplummer, sspitsyn, rschmelter
2021-11-15 07:02:22 +00:00
Julia Boes
13deb38433 8276848: sun.net.httpserver.simpleserver.CommandLinePositiveTest: test does not specify port
Reviewed-by: dfuchs
2021-11-12 12:05:45 +00:00
Weijun Wang
a5c160c711 8267108: Alternate Subject.getSubject and doAs APIs that do not depend on Security Manager APIs
Reviewed-by: mullan
2021-11-10 19:35:17 +00:00
Julia Boes
ee49963258 8275534: com.sun.net.httpserver.BasicAuthenticator should check whether "realm" is a quoted string
Reviewed-by: michaelm, dfuchs
2021-11-04 11:31:51 +00:00
Mandy Chung
c6339cb8a2 8271820: Implementation of JEP 416: Reimplement Core Reflection with Method Handle
8013527: calling MethodHandles.lookup on itself leads to errors

Co-authored-by: Peter Levart <plevart@openjdk.org>
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Co-authored-by: Mandy Chung <mchung@openjdk.org>
Reviewed-by: mcimadamore, plevart, egahlin, redestad, cjplummer, alanb
2021-10-28 18:32:50 +00:00
Alexander Zvegintsev
46b5bfbc38 8233648: [TESTBUG] DefaultMenuBarTest.java failing on macos
Reviewed-by: pbansal, serb, psadhukhan, prr
2021-10-20 16:44:47 +00:00
Julia Boes
9d191fce55 8245095: Implementation of JEP 408: Simple Web Server
Co-authored-by: Julia Boes <jboes@openjdk.org>
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Co-authored-by: Michael McMahon <michaelm@openjdk.org>
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Ivan Šipka <isipka@openjdk.org>
Reviewed-by: ihse, jlaskey, michaelm, chegar, dfuchs
2021-10-19 10:19:15 +00:00
Fernando Guallini
a16f2d0a3c 8272908: Missing coverage for certain classes in com.sun.org.apache.xml.internal.security
Reviewed-by: rhalade
2021-10-14 18:26:27 +00:00
Aleksey Shipilev
b1b66965f1 8274453: (sctp) com/sun/nio/sctp/SctpChannel/CloseDescriptors.java test should be resilient to lsof warnings
Reviewed-by: dfuchs
2021-09-29 16:57:40 +00:00
Alex Menkov
61ac53f6e5 8210927: JDB tests do not update source path after doing a redefine class
Reviewed-by: sspitsyn
2021-09-24 21:50:39 +00:00
Masanori Yano
d91e227abb 8238274: (sctp) JDK-7118373 is not fixed for SctpChannel
Reviewed-by: dfuchs
2021-09-24 11:17:26 +00:00
Weijun Wang
fc0f8542c3 8246797: A convenient method to read OPTIONAL element
Reviewed-by: jnimeh, valeriep
2021-09-13 18:05:27 +00:00
Aleksei Efimov
c464f09056 8273402: Use derived NamingExceptions in com.sun.jndi.ldap.Connection#readReply
Reviewed-by: dfuchs
2021-09-10 14:15:45 +00:00
Valerie Peng
1a5a2b6b15 8271745: Correct block size for KW,KWP mode and use fixed IV for KWP mode for SunJCE
Reviewed-by: xuelei, mullan
2021-09-01 22:17:49 +00:00
Weijun Wang
221e4b9c61 8270797: ShortECDSA.java test is not complete
Reviewed-by: mullan
2021-08-04 13:37:52 +00:00
Julia Boes
50bb7313a7 8270286: com.sun.net.httpserver.spi.HttpServerProvider: remove use of deprecated API
Reviewed-by: chegar
2021-07-22 09:45:49 +00:00
Brian Burkhalter
d1cecaaa22 8269481: SctpMultiChannel never releases own file descriptor
Reviewed-by: alanb, chegar
2021-07-07 15:49:21 +00:00
Patrick Concannon
326b2e1344 8253119: Remove the legacy PlainSocketImpl and PlainDatagramSocketImpl implementation
Reviewed-by: alanb, dfuchs, chegar
2021-07-06 13:46:02 +00:00
Julia Boes
f485171ce8 8269692: sun.net.httpserver.ServerImpl::createContext should throw IAE
Reviewed-by: dfuchs
2021-07-06 13:29:40 +00:00
Julia Boes
82bfc5d45c 8268960: com/sun/net/httpserver/Headers.java: Ensure mutators normalize keys and disallow null for keys and values
Reviewed-by: chegar, dfuchs, michaelm
2021-07-01 09:56:22 +00:00
Alex Menkov
7a23c9cbb7 8260540: serviceability/jdwp/AllModulesCommandTest.java failed with "Debuggee error: 'ERROR: transport error 202: bind failed: Address already in use'"
Reviewed-by: sspitsyn, kevinw
2021-06-29 18:39:42 +00:00
Patricio Chilano Mateo
2fd7943ec1 8256425: Obsolete Biased Locking in JDK 18
Reviewed-by: kvn, dholmes, dcubed, rrich
2021-06-24 18:54:41 +00:00
Valerie Peng
ee3015968d 8268621: SunJCE provider may throw unexpected NPE for un-initialized AES KW/KWP Ciphers
Reviewed-by: xuelei
2021-06-14 20:34:44 +00:00
Anthony Scarpino
c7c77fd32b 8255557: Decouple GCM from CipherCore
Reviewed-by: valeriep
2021-06-07 22:22:28 +00:00
Valerie Peng
136badb1f7 8248268: Support KWP in addition to KW
Reviewed-by: xuelei
2021-06-02 21:31:57 +00:00
Aleksei Efimov
0c0ff7fb0c 8265309: com/sun/jndi/dns/ConfigTests/Timeout.java fails with "Address already in use" BindException
Reviewed-by: dfuchs
2021-05-28 14:54:49 +00:00
Weijun Wang
640a2afda3 8267184: Add -Djava.security.manager=allow to tests calling System.setSecurityManager
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: dholmes, alanb, dfuchs, mchung, mullan, prr
2021-05-24 16:55:55 +00:00
Julia Boes
31320c3474 8267262: com/sun/net/httpserver/Filter improve API documentation of static methods
Reviewed-by: dfuchs, chegar
2021-05-20 09:30:10 +00:00
Julia Boes
894547d2c1 8266897: com/sun/net/httpserver/FilterTest.java fails intermittently with AssertionError
Reviewed-by: chegar, dfuchs, michaelm
2021-05-18 09:12:33 +00:00
Daniel Fuchs
2d2cd78bde 8266761: AssertionError in sun.net.httpserver.ServerImpl.responseCompleted
Reviewed-by: chegar
2021-05-11 14:48:12 +00:00
Julia Boes
115a413ee4 8265123: Add static factory methods to com.sun.net.httpserver.Filter
Co-authored-by: Michael McMahon <michaelm@openjdk.org>
Reviewed-by: chegar, michaelm, dfuchs
2021-04-29 09:07:46 +00:00
Erik Gahlin
4dcaac1feb 8265036: JFR: Remove use of -XX:StartFlightRecording= and -XX:FlightRecorderOptions=
Reviewed-by: cjplummer
2021-04-20 15:53:45 +00:00
Julia Boes
214d6e21bb 8263506: Make sun.net.httpserver.UnmodifiableHeaders unmodifiable
Reviewed-by: michaelm, dfuchs
2021-04-08 13:09:26 +00:00
Michael McMahon
4bb80f3720 8262898: com/sun/net/httpserver/bugs/8199849/ParamTest.java times out
Reviewed-by: dfuchs
2021-04-06 16:01:59 +00:00
Ioi Lam
5858399062 8264285: Clean the modification of ccstr JVM flags
Reviewed-by: dholmes, coleenp
2021-04-01 18:25:14 +00:00
Anthony Scarpino
374272fd13 8261502: ECDHKeyAgreement: Allows alternate ECPrivateKey impl and revised exception handling
Reviewed-by: jnimeh
2021-03-25 19:18:44 +00:00
Weijun Wang
cb742f9560 8255255: Update Apache Santuario (XML Signature) to version 2.2.1
Reviewed-by: xuelei, mullan
2021-03-20 13:42:16 +00:00
Igor Ignatyev
a7aba2b61c 8263549: 8263412 can cause jtreg testlibrary split
Reviewed-by: iklam, dcubed
2021-03-13 14:51:53 +00:00
Anthony Scarpino
414ee95b8e 8261462: GCM ByteBuffer decryption problems
Reviewed-by: valeriep
2021-03-08 21:28:07 +00:00
Alex Menkov
d93fa0d6e3 8253940: com/sun/jdi/JdwpAttachTest.java failed with "RuntimeException: ERROR: LingeredApp.startApp was able to attach"
Reviewed-by: cjplummer, lmesnik
2021-03-04 00:39:28 +00:00
Weijun Wang
a4c249610e 8259535: ECDSA SignatureValue do not always have the specified length
Reviewed-by: mullan
2021-02-26 16:49:44 +00:00
Alex Menkov
60a2072a43 8260431: com/sun/jdi/JdbOptions.java failed with "RuntimeException: 'prop[boo] = >foo<' missing from stdout/stderr"
Reviewed-by: sspitsyn, cjplummer
2021-02-11 23:31:37 +00:00
Fernando Guallini
d2bd499222 8163498: Many long-running security libs tests
Reviewed-by: rhalade, weijun
2021-02-05 05:22:51 +00:00
Jie Fu
a47befc86f 8260878: com/sun/jdi/JdbOptions.java fails without jfr
Reviewed-by: amenkov, cjplummer
2021-02-03 01:18:11 +00:00
Severin Gehwolf
af8a08f584 8260378: [TESTBUG] DcmdMBeanTestCheckJni.java reports false positive
Reviewed-by: dcubed
2021-01-26 15:18:56 +00:00
Severin Gehwolf
af155fc068 8258836: JNI local refs exceed capacity getDiagnosticCommandInfo
Reviewed-by: cjplummer, shade
2021-01-25 08:57:56 +00:00
Roger Riggs
628c546bea 8258796: [test] Apply HexFormat to tests for java.security
Reviewed-by: xuelei
2021-01-08 21:32:54 +00:00
Richard Reingruber
09e8675f56 8255381: com/sun/jdi/EATests.java should not suspend graal threads
Reviewed-by: cjplummer, mdoerr, sspitsyn
2020-12-15 08:38:58 +00:00
Jamil Nimeh
500ab45770 8257769: Cipher.getParameters() throws NPE for ChaCha20-Poly1305
Reviewed-by: mullan, valeriep
2020-12-08 06:10:10 +00:00
Alex Menkov
c5b32b33eb 8256808: com/sun/jdi/CatchAllTest.java failed with "NullPointerException: Cannot invoke "lib.jdb.Jdb.log(String)" because "this.jdb" is null"
Reviewed-by: cjplummer, sspitsyn
2020-12-03 21:31:33 +00:00
Harold Seigel
e4497c9e69 8256718: Obsolete the long term deprecated and aliased Trace flags
Reviewed-by: sspitsyn, iklam, dholmes, coleenp
2020-12-03 13:14:57 +00:00
Anthony Scarpino
cc1915b3b3 8253821: Improve ByteBuffer performance with GCM
Reviewed-by: xuelei, valeriep
2020-12-02 23:10:32 +00:00
Christoph Langer
5912df2440 8256427: Test com/sun/jndi/dns/ConfigTests/PortUnreachable.java does not work on AIX
Reviewed-by: jiefu, mbaesken
2020-11-18 22:00:19 +00:00
Jie Fu
eabf3bace7 8256037: [TESTBUG] com/sun/jndi/dns/ConfigTests/PortUnreachable.java fails due to the hard coded threshold is small
Reviewed-by: shade, aefimov
2020-11-17 01:35:30 +00:00
Patrick Concannon
2b78a43f77 8255584: HttpPrincipal::getName returns incorrect name
Reviewed-by: dfuchs
2020-11-05 10:10:21 +00:00
Richard Reingruber
63461d59a1 8255072: [TESTBUG] com/sun/jdi/EATests.java should not fail if expected VMOutOfMemoryException is not thrown
Reviewed-by: cjplummer, sspitsyn, kvn
2020-11-03 12:36:59 +00:00
Vladimir Kozlov
2f7d34f205 8255616: Disable AOT and Graal in Oracle OpenJDK
Reviewed-by: iignatyev, vlivanov, iveresov, ihse
2020-11-02 16:04:46 +00:00
Alex Menkov
1d245c6ec8 8252117: com/sun/jdi/BadHandshakeTest.java failed with "ConnectException: Connection refused: connect"
Reviewed-by: cjplummer, sspitsyn
2020-10-27 19:49:38 +00:00
Richard Reingruber
40f847e2fb 8227745: Enable Escape Analysis for Better Performance in the Presence of JVMTI Agents
8233915: JVMTI FollowReferences: Java Heap Leak not found because of C2 Scalar Replacement

Reviewed-by: mdoerr, goetz, sspitsyn, kvn
2020-10-20 15:31:55 +00:00
Alex Menkov
b7daf8427b 8254345: com/sun/jdi/JdwpAttachTest.java reports error incorrectly
Reviewed-by: cjplummer, sspitsyn
2020-10-14 17:46:36 +00:00
Aleksei Efimov
a75edc29c6 8251188: Update LDAP tests not to use wildcard addresses
Reviewed-by: dfuchs
2020-09-25 12:46:08 +00:00
Alexey Bakhtin
cfa3f74931 8245527: LDAP Channel Binding support for Java GSS/Kerberos
Reviewed-by: dfuchs, aefimov, mullan
2020-09-25 07:26:54 +00:00
Patrick Concannon
ae20dd6b9b 8251496: Fix doclint warnings in jdk.net.httpserver
Reviewed-by: dfuchs, rriggs, chegar
2020-09-22 08:56:15 +00:00
Alex Menkov
d1f9b8a8b5 8234808: jdb quoted option parsing broken
Reviewed-by: cjplummer, sspitsyn
2020-09-22 00:05:14 +00:00
Christoph Langer
cc5039e19e 8252837: Cleanup SAP Copyright file headers
Reviewed-by: dholmes
2020-09-07 07:30:10 +00:00
Sergey Bylokhov
c89ee9b0a1 8198334: java/awt/FileDialog/8003399/bug8003399.java fails in headless mode
Reviewed-by: pbansal, psadhukhan
2020-08-31 22:30:04 +01:00
Patrick Concannon
34949494e4 7164518: No PortUnreachableException when connecting to a non-existing DatagramSocket (mac)
This fix changes the test to run with the new impl of DatagramSocket, which remedies the issue that caused the test to fail with a wrong expection and can now be taken off the ProblemList.

Reviewed-by: dfuchs
2020-08-17 10:36:20 +01:00
Nick Gasson
fb300a3ff3 8251517: [TESTBUG] com/sun/net/httpserver/bugs/B6393710.java does not scale socket timeout
Reviewed-by: dfuchs
2020-08-14 18:08:30 +08:00
Aleksei Efimov
6a5203877e 8251189: com/sun/jndi/ldap/LdapDnsProviderTest.java failed due to timeout
Reviewed-by: dfuchs, vtewari
2020-08-12 12:01:52 +01:00
Aleksei Efimov
d502554467 8250772: Test com/sun/jndi/ldap/NamingExceptionMessageTest.java fails intermittently with javax.naming.ServiceUnavailableException
Reviewed-by: dfuchs
2020-08-12 11:45:18 +01:00
David Holmes
2627f15348 8238832: Obsolete PrintVMQWaitTime
Reviewed-by: ccheung, dcubed
2020-06-17 21:07:08 -04:00
Rahul Yadav
a512099313 8247675: Update DateFormatterTest Copyright
The fix updates the test DateFormatterTest copyright by adding missing comma

Reviewed-by: dfuchs, chegar
2020-06-16 13:15:42 +01:00
Jesper Wilhelmsson
e33ebc7f0a Merge 2020-06-16 04:20:30 +02:00
Valerie Peng
f968f32789 8246077: Cloneable test in HmacCore seems questionable
Updated java.security.MessageDigest and Signature classes to return Cloneable obj for Cloneable spi obj

Reviewed-by: weijun, xuelei, coffeys
2020-06-15 23:30:49 +00:00
Rahul Yadav
38f9a938e5 8245307: Update ExchangeImpl to use thread safe DateTimeFormatter
The fix updates sun.net.httpserver.ExchangeImpl to use thread safe DateTimeFormatter for response headers, this replaces DateFormat that was using ThreadLocal.

Reviewed-by: dfuchs, alanb, chegar
2020-06-15 16:26:31 +01:00
Mikael Vidstedt
071bd521bc 8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
Aleksei Efimov
3f505750ed 8237834: com/sun/jndi/ldap/LdapDnsProviderTest.java failing with LDAP response read timeout
Reviewed-by: dfuchs
2020-05-08 11:23:37 +01:00
Aleksei Efimov
61864c28d1 8062947: Fix exception message to correctly represent LDAP connection failure
Reviewed-by: dfuchs, xyin, vtewari
2020-05-07 19:18:22 +01:00
Stefan Karlsson
81597d9f8f 8244078: ProcessTools executeTestJvm and createJavaProcessBuilder have inconsistent handling of test.*.opts
Reviewed-by: dholmes, cjplummer
2020-05-04 21:20:39 +02:00
Alan Bateman
0efacb3eed 8244292: Headful clients failing with --illegal-access=deny
Reviewed-by: prr
2020-05-04 19:07:41 +01:00
Alan Bateman
352e460529 8244281: test/jdk/com/sun/crypto/provider/KeyProtector/IterationCount.java fails with --illegal-access=deny
Reviewed-by: weijun, xuelei
2020-05-04 12:37:58 +01:00
Roger Riggs
bdf672659c 8243010: Test support: Customizable Hex Printer
Reviewed-by: lancea, dfuchs, weijun
2020-04-16 15:45:37 -04:00
Chris Yin
7553c132d3 8243138: Enhance BaseLdapServer to support starttls extended request
Reviewed-by: aefimov, dfuchs
2020-04-23 16:36:05 +08:00
Chris Yin
61b03fbfa6 8242614: cleanup duplicated test ldap server in some com/sun/jndi/ldap/ tests
Reviewed-by: aefimov, vtewari, dfuchs
2020-04-22 09:44:10 +08:00
Athijegannathan Sundararajan
d5cd165965 8241749: Remove the Nashorn JavaScript Engine
Reviewed-by: jlaskey, ihse, mchung
2020-04-16 12:26:20 +05:30
Valerie Peng
7bce9a9158 8172680: Support SHA-3 based Hmac algorithms
Enhanced SunJCE provider with Hmac with SHA3 digests

Reviewed-by: weijun
2020-04-14 22:31:54 +00:00
Weijun Wang
502d45955f 8240848: ArrayIndexOutOfBoundsException buf for TextCallbackHandler
Reviewed-by: mullan
2020-04-10 15:05:42 +08:00
Daniil Titov
ba26538cef 8241530: com/sun/jdi tests fail due to network issues on OSX 10.15
Reviewed-by: amenkov, sspitsyn
2020-04-06 07:39:58 -07:00
Chris Yin
aba017fa70 8214694: cleanup rawtypes warnings in open jndi tests
Reviewed-by: darcy, vtewari
2020-04-01 10:11:46 +08:00
Chris Yin
7ded8b1e30 8241130: com.sun.jndi.ldap.EventSupport.removeDeadNotifier: java.lang.NullPointerException
Reviewed-by: dfuchs
2020-03-20 10:24:46 +08:00
Chris Yin
599af2ac26 8202117: com/sun/jndi/ldap/RemoveNamingListenerTest.java fails intermittently: Connection reset
Reviewed-by: dfuchs, vtewari
2020-03-19 11:07:36 +08:00
Alex Menkov
84c24a49ad 8234935: JdwpListenTest.java and JdwpAttachTest.java getting bind failures on Windows 2016 hosts
Reviewed-by: cjplummer, sspitsyn
2020-02-10 16:56:38 -08:00
Stefan Karlsson
c8e7590899 8237111: LingeredApp should be started with getTestJavaOpts
Reviewed-by: cjplummer, dholmes
2020-01-24 10:31:45 +01:00
Mikael Vidstedt
3318314c7c 8237589: Fix copyright header formatting
Reviewed-by: jjg, serb, iris, jwilhelm
2020-01-21 14:23:01 -08:00
Igor Ignatyev
e2240b714e 8236111: narrow allowSmartActionArgs disabling
Reviewed-by: dholmes, mullan, darcy, rriggs
2020-01-15 21:20:40 -08:00
Ioi Lam
d1ad0eaf8f 8233826: Change CDS dumping tty->print_cr() to unified logging
Reviewed-by: coleenp, dholmes, jiangli
2019-12-19 23:04:49 -08:00
Michael McMahon
b73faca452 8235976: Directives in WWW-Authenticate should be comma separated
Reviewed-by: chegar
2019-12-16 16:44:03 +00:00
Aleksei Efimov
3f259d8e3a 8141685: com/sun/jndi/ldap/InvalidLdapFilters.java initializes context failed
Reviewed-by: dfuchs, vtewari
2019-12-09 14:07:26 +00:00
Julia Boes
e00ded00f0 8233185: HttpServer.stop() blocks indefinitely when called on dispatch thread
Skip dispatcherThread.join() if current thread is the dispatcherThread

Reviewed-by: dfuchs, msheppar, vtewari
2019-11-28 13:02:30 +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
Martin Balao
0e5a288dfe 8233404: System property to set the number of PBE iterations in JCEKS keystores
Reviewed-by: weijun
2019-11-12 00:30:55 -03:00
Alex Menkov
9ad86a68cc 8231915: two JDI tests interfere with each other
Reviewed-by: sspitsyn, dtitov
2019-11-13 14:08:04 -08:00
Leo Korinth
1fc67ab002 8232365: Implementation for JEP 363: Remove the Concurrent Mark Sweep (CMS) Garbage Collector
Reviewed-by: kbarrett, tschatzl, erikj, coleenp, dholmes
2019-11-13 11:37:29 +01:00
Jan Lahoda
29852ecd80 8232684: Make switch expressions final
Reviewed-by: alanb, mcimadamore, kvn
2019-11-12 06:32:13 +00:00
Alex Menkov
3f93ec68ee 8224159: JDWP IPv6 scope support
Reviewed-by: sspitsyn, cjplummer
2019-10-31 14:23: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
David Holmes
485f2e7f52 8232182: RedefineNestmateAttr/TestNestmateAttr.java failes due to ObjectCollectedException
Reviewed-by: phh, sspitsyn
2019-10-14 22:20:03 -04: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
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
Milan Mimica
464c8b84eb 8228580: DnsClient TCP socket timeout
Reviewed-by: vtewari, chegar, prappo
2019-09-24 22:57:28 +01:00
Daniel D. Daugherty
48946faf34 8231210: [BACKOUT] JDK-8207266 ThreadMXBean::getThreadAllocatedBytes() can be quicker for self thread
Reviewed-by: phh, dholmes
2019-09-18 20:49:13 -04:00
Paul Hohensee
aa318d070e 8207266: 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-18 05:41:08 -07:00
Pavel Rappo
49a4d4b87e 8151678: com/sun/jndi/ldap/LdapTimeoutTest.java failed due to timeout on DeadServerNoTimeoutTest is incorrect
Reviewed-by: dfuchs, martin, robm
2019-09-13 11:00:07 +01:00
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