Commit Graph

429 Commits

Author SHA1 Message Date
Staffan Larsen
9cc4a70ee9 8081470: com/sun/jdi tests are failing with "Error. failed to clean up files after test" with jtreg 4.1 b12
Reviewed-by: mgerdin, brutisso, iignatyev
2015-05-29 11:05:52 +02:00
Mandy Chung
53a97cbeb3 8081347: Add @modules to jdk_core tests
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: alanb, joehw, lancea
2015-05-28 10:54:48 -07:00
Zaiyao Liu
c7c5826bb2 8048599: Tests for key wrap and unwrap operations
Reviewed-by: xuelei
2015-05-21 09:35:26 +00:00
Harold Seigel
0798e0a659 8080048: Test jdk/test/com/sun/jdi/NoLaunchOptionTest.java was merged incorrectly
Add correct @library and @build tags

Reviewed-by: ctornqvi, gtriantafill
2015-05-12 13:57:46 -04:00
Harold Seigel
9e951d1747 Merge 2015-05-09 07:35:16 -04:00
Harold Seigel
529069c19a Merge 2015-05-08 13:26:07 -04:00
Katja Kantserova
97fbf6418d 6755586: Test com/sun/jdi/NoLaunchOptionTest.java may erroneously fail
Reviewed-by: sla, dsamersoff
2015-05-08 09:14:18 +02:00
Katja Kantserova
549731dc2f 8078896: Add @modules as needed to the jdk_svc tests
Reviewed-by: alanb, mchung
2015-05-07 09:11:49 +02:00
Katja Kantserova
a5bea1d744 8076998: BadHandshakeTest.java fails due to warnings in output
Reviewed-by: sla
2015-05-05 20:09:52 +02:00
Alejandro Murillo
c185e9a5bf Merge 2015-05-01 03:56:04 -07:00
Calvin Cheung
df0cd30d79 Merge 2015-05-02 18:40:59 -07:00
Joe Darcy
86c109e149 8078334: Mark regression tests using randomness
Reviewed-by: xuelei, alanb
2015-04-29 10:25:53 -07:00
Katja Kantserova
ba963fa58d 8059047: Extract parser/validator from jhat for use in tests
Reviewed-by: sla
2015-04-28 14:33:32 +02:00
Stanislav Baiduzhyi
fc822a824b 8074761: Empty optional parameters of LDAP query are not interpreted as empty
Reviewed-by: vinnie
2015-04-23 13:48:02 -04:00
Weijun Wang
ff227ec11f 8075575: com/sun/security/auth/login/ConfigFile/InconsistentError.java failed in certain env
8075576: com/sun/security/auth/module/KeyStoreLoginModule/OptionTest.java failed in certain env

Reviewed-by: xuelei
2015-04-22 23:27:30 +08:00
Michael McMahon
5576054776 8078276: add copyright header to IPv6NameserverPlatformParsingTest
Reviewed-by: alanb, rriggs
2015-04-21 16:35:45 +01:00
Dmitry Samersoff
cf33d5c103 8074146: jdb has succeded to read an unreadable file
Remove this testcase

Reviewed-by: sla, egahlin
2015-04-20 11:03:47 -07:00
Shanliang Jiang
b705686a86 8042901: Allow com.sun.management to be in a different module to java.lang.management
Reviewed-by: mchung, dfuchs, erikj, jbachorik
2015-04-17 09:40:02 +02:00
Staffan Larsen
6cbdf1b8f4 8075331: jdb eval java.util.Arrays.asList(array) shows inconsistent behaviour
Reviewed-by: jbachorik
2015-04-09 08:46:19 +02:00
Fredrik Arvidsson
eecde5f24c 8076154: com/sun/jdi/InstanceFilter.java failing due to missing MethodEntryRequest calls
Some jdi tests are failing due to missing MethodEntryRequest events during the test execution.

Reviewed-by: sla, jbachorik
2015-03-30 10:10:19 +02:00
Alejandro Murillo
6029b480b7 Merge 2015-03-23 11:44:42 -07:00
Rob McKenna
89c87896e2 8075039: (sctp) com/sun/nio/sctp/SctpMultiChannel/SendFailed.java fails on Solaris only
Reviewed-by: chegar
2015-03-20 17:07:15 +00:00
Joe Darcy
2596979bfe 8075565: Define @intermittent jtreg keyword and mark intermittently failing jdk tests
Reviewed-by: lancea
2015-03-19 18:38:26 -07:00
Katja Kantserova
20be94ae55 8073794: jdk/test/com/sun/jdi/BadHandshakeTest.java should retry if tcp port is taken
Reviewed-by: jbachorik
2015-03-16 09:32:34 +01:00
Igor Ignatyev
5a48602086 Merge 2015-03-10 21:58:55 +00:00
Alexander Kulyakhtin
d24e1db13a 8072754: com/sun/jdi/NativeInstanceFilter.java requires adjustments to work with module boundaries
The tests uses sun.misc.Version to check if the JVM version is greater than a certain version. For the JDK 9 the condition is always true and the usage of sun.misc.Version thus can be eliminated.

Reviewed-by: alanb, sla
2015-03-11 00:45:02 +03:00
Jaroslav Bachorik
996a61cf68 8049696: com/sun/jdi/RunToExit fails with "ConnectException: Connection refused"
Reviewed-by: sla
2015-03-10 20:25:48 +01:00
Zaiyao Liu
02614afbd1 8044193: Need to add known answer tests for AES cipher
Added more tests for AES cipher using known test vectors.

Reviewed-by: valeriep
2015-03-06 00:49:38 +00:00
Zaiyao Liu
fae048d0e2 8048610: Implement regression test for bug fix of 4686632 in JCE
Reviewed-by: weijun
2015-03-04 16:26:49 +08:00
Christian Tornqvist
88609236a3 Merge 2015-02-23 05:01:33 -08:00
Alejandro Murillo
d85d8b1ade Merge 2015-02-20 14:14:09 -08:00
Christian Tornqvist
f5ef1f7ce6 Merge 2015-02-18 19:28:08 -08:00
Alejandro Murillo
a68e87751a Merge 2015-02-18 09:14:48 -08:00
Jaroslav Bachorik
41d784d98e 8071657: JDI ObjectReferenceImpl.invokeMethod() validation fails for virtual invocations of method with declaring type being an interface
Reviewed-by: sspitsyn, sla
2015-02-18 17:50:41 +01:00
Rob McKenna
0ad8cc755b 8067846: (sctp) InternalError when receiving SendFailedNotification
Reviewed-by: chegar
2015-02-16 22:57:17 +00:00
Alejandro Murillo
5621c4a866 Merge 2015-02-16 08:47:40 -08:00
Jaroslav Bachorik
9f4631e772 8072908: com/sun/management/OperatingSystemMXBean/TestTotalSwap.sh fails on OS X with exit code 2
Reviewed-by: dholmes, sla
2015-02-16 10:53:49 +01:00
Alejandro Murillo
805200fc3e Merge 2015-02-10 10:09:33 -08:00
Florian Weimer
5c35079895 8069072: GHASH performance improvement
Eliminate allocations and vectorize

Reviewed-by: mullan, ascarpino
2015-02-09 13:32:42 -08:00
Alexander Kulyakthin
5eb21ad94f 8071464: Clear up SVC jdk/test/* JRE layout dependencies other than those on tools.jar
Reviewed-by: sla
2015-02-02 09:37:53 +01:00
Yumin Qi
7feb08a6b4 Merge 2015-01-27 20:03:45 -08:00
Mattias Tobiasson
04474d85c1 8044419: TEST_BUG: com/sun/jdi/JdbReadTwiceTest.sh fails when run under root
Reviewed-by: dsamersoff, sla
2015-01-26 08:52:46 +01:00
Alexander Kulyakthin
167de7ae02 8067945: SVC jdk/test/* should be cleaned from JRE layout dependency
Reviewed-by: sla
2015-01-23 14:20:52 +01:00
Artem Smotrakov
e268dee361 8048603: Additional tests for MAC algorithms
Reviewed-by: valeriep
2015-01-13 14:26:34 +03:00
Zaiyao Liu
48d9e1f35e 8048607: Test key generation of DES and DESEDE
Reviewed-by: xuelei
2015-01-07 03:59:06 +00:00
Mark Sheppard
65fa012667 8067151: [TESTBUG] com/sun/corba/5036554/TestCorbaBug.sh
Changed TESTJAVA to COMPILEJAVA for javac and idlj paths.

Reviewed-by: chegar
2015-01-05 23:53:05 +00:00
Valerie Peng
dbe2f1349f Merge 2014-12-16 22:33:43 +00:00
Amanda Jiang
7ffa3cd669 8048819: Implement reliability test for DH algorithm
Added DH test for up-to-4 parties key exchange

Reviewed-by: valeriep
2014-12-12 00:19:17 +00:00
Jaroslav Bachorik
59c9d50129 8062303: Remove com.sun.tracing API
Reviewed-by: sla, alanb, mchung, dholmes
2014-12-11 10:47:36 +01:00
Jaroslav Bachorik
594e368671 8059949: com/sun/tools/attach/StartManagementAgent.java interrupted! (timed out?)
Reviewed-by: sla
2014-12-09 08:58:19 +01:00
Yumin Qi
3dff2ab063 Merge 2014-12-08 00:25:10 -08:00
Rob McKenna
9fa1d1239b 8065238: javax.naming.NamingException after upgrade to JDK 8
Reviewed-by: vinnie
2014-12-05 20:13:05 +00:00
Katja Kantserova
a5ed93db7c 8044591: [TESTBUG] com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationp[Content]Test.java fail when -XX:+ExplicitGCInvokesConcurrent
Reviewed-by: sla, fparain
2014-12-03 11:56:02 +01:00
Mark Sheppard
392436eade 8066130: com.sun.net.httpserver stop() throws NullPointerException if it is not started
Added null check on dispatcherThread variable in stop method

Reviewed-by: chegar
2014-12-01 17:20:06 +00:00
Phil Race
9a4645749f Merge 2014-11-17 12:32:27 -08:00
David Dehaven
1ce0119e15 Merge 2014-11-12 09:36:25 -08:00
Alejandro Murillo
8b0ba26865 Merge 2014-11-11 11:29:20 -08:00
Yuri Nesterenko
41d2bc7e75 8063106: Change open swing regression tests to avoid sun.awt.SunToolkit.realSync, part 1
Reviewed-by: pchelko, serb
2014-11-10 16:37:40 +03:00
Yuri Nesterenko
043868fac7 8063102: Change open awt regression tests to avoid sun.awt.SunToolkit.realSync, part 1
Reviewed-by: pchelko, serb
2014-11-10 16:23:30 +03:00
Pavel Rappo
b6a37a3667 8059311: com/sun/jndi/ldap/LdapTimeoutTest.java fails with exit_code == 0
Reviewed-by: vinnie
2014-11-07 15:12:04 +00:00
Jaroslav Bachorik
cd4e0a44d5 8061616: HotspotDiagnosticMXBean.getVMOption() throws IllegalArgumentException for flags of type double
Reviewed-by: mchung, sla
2014-11-03 11:19:54 +01:00
Sergei Kovalev
8b8a9d5f94 8060707: jdwp accept invalid address ':'
Reviewed-by: jbachorik, dsamersoff, iignatyev, miauno
2014-10-29 17:53:36 +03:00
Pavel Rappo
023d824a43 8042888: Remove extcheck tool
Reviewed-by: alanb, chegar
2014-10-22 10:41:07 +01:00
Shanliang Jiang
d64da6c76e 8060692: Delete com/sun/jmx/snmp and sun/management/snmp from OpenJDK
Reviewed-by: alanb, dfuchs, erikj, mchung
2014-10-22 09:13:52 +02:00
Jaroslav Bachorik
c27e2c99f4 8061312: Even more debug output needed
Reviewed-by: sla, olagneau
2014-10-17 12:20:34 +02:00
Lev Priima
a84794e3d6 8068795: HttpServer missing tailing space for some response codes
Reviewed-by: chegar
2015-01-20 13:56:01 +00:00
Mark Sheppard
05ed094d99 8015692: java.net.BindException is thrown on Windows XP when HTTP server is started and stopped in the loop
Join the dispatcher thread in the ServerImpl.stop method to ensure Dispatcher is finished prior to exiting stop().

Reviewed-by: chegar
2014-11-15 18:26:29 +00:00
Jaroslav Bachorik
99c9dc1b32 8060120: Improve diagnostic output of StartManagementAgent test
Reviewed-by: dfuchs
2014-10-10 14:35:53 +02:00
Fredrik Arvidsson
f590301559 8059105: Add better failure reporting to com/sun/jdi/RunToExit.java test
Add better failure reporting to com/sun/jdi/RunToExit.java test

Reviewed-by: sla, egahlin, jbachorik
2014-09-29 10:01:17 +02:00
Dmitry Samersoff
3e3dcfb635 8054066: com/sun/jdi/DoubleAgentTest.java fails with timeout
The test chaged to use testlibrary

Reviewed-by: sla
2014-08-28 05:04:58 -07:00
Michael McMahon
7c8053cd97 8055747: Move SimpleSSLContext to jdk/testlibrary
Reviewed-by: chegar
2014-08-26 10:10:58 +01:00
Staffan Larsen
657f94c1e5 8055673: test/com/sun/jdi/ShellScaffold.sh does not honor -javaoption
Reviewed-by: jbachorik
2014-08-20 16:10:13 +02:00
Jaroslav Bachorik
dea2dc0312 8052961: Test "com/sun/tools/attach/StartManagementAgent.java" failing intermittently
Reviewed-by: sla
2014-07-29 15:37:54 +02:00
Felix Yang
d1ee28b070 8043836: Need new tests for AES cipher
Add AES cipher tests with various modes, padding schemes and read methods of CipherInputStream for SunJCE provider

Reviewed-by: valeriep
2014-08-08 17:47:50 +00:00
Sean Mullan
5b89cb1b70 7147060: com/sun/org/apache/xml/internal/security/transforms/ClassLoaderTest.java doesn't run in agentvm mode
Reviewed-by: xuelei
2014-08-05 10:00:27 -04:00
Jaroslav Bachorik
924b9f9fde 8049194: com/sun/tools/attach/StartManagementAgent.java start failing after JDK-8048193
Reviewed-by: dfuchs, egahlin, olagneau
2014-07-25 15:07:49 +02:00
Pavel Rappo
58366bce32 8049884: Reduce possible timing noise in com/sun/jndi/ldap/LdapTimeoutTest.java
Reviewed-by: vinnie
2014-07-11 14:53:55 +01:00
Pavel Rappo
5079b7bbd4 8047062: Improve diagnostic output in com/sun/jndi/ldap/LdapTimeoutTest.java
Reviewed-by: duke
2014-06-17 13:57:01 +01:00
Rajan Halade
44c5f51ddf 8041781: Need new regression tests for PBE keys
Reviewed-by: xuelei
2014-07-10 03:07:48 +00:00
Weijun Wang
cdbe91ef12 7150092: NTLM authentication fail if user specified a different realm
Reviewed-by: michaelm
2014-07-09 15:10:42 +08:00
Staffan Larsen
0139a3b9e7 8046883: com/sun/jdi/ProcessAttachTest.sh gets "java.io.IOException: Invalid process identifier" on windows
Reviewed-by: dcubed, dsamersoff, allwin
2014-07-02 08:41:59 +02:00
Katja Kantserova
f377795d11 8048892: TEST_BUG: shell script tests need to be change to not use retired @debuggeeVMOptions mechanism
Reviewed-by: sla, jbachorik
2014-07-01 21:23:54 +02:00
Valerie Peng
edc85c8e4c 8027575: b113 causing a lot of memory allocation and regression for wls_webapp_atomics
Reduce buffer allocation and do multiple cipher encryption/decryption calls.

Reviewed-by: xuelei, ascarpino
2014-07-01 20:35:43 +00:00
Sean Coffey
19c07ee15b 7095856: OutputStreamHook doesn't handle null values
Reviewed-by: lancea, msheppar
2014-07-01 16:51:44 +01:00
Jaroslav Bachorik
e614cf24ef 8048193: [tests] Replace JPS and stdout based PID retrieval by Process.getPid()
Reviewed-by: sla
2014-07-01 15:00:33 +02:00
Staffan Larsen
4b31ce4a17 8048687: [TESTBUG] com/sun/jdi/ExclusiveBind.java "Could not find or load main class"
Reviewed-by: jbachorik, egahlin, dholmes
2014-07-01 10:40:14 +02:00
Staffan Larsen
578fc51475 8044772: TempDirTest.java still times out with -Xcomp
Reviewed-by: dholmes
2014-06-23 15:51:41 +02:00
Staffan Larsen
b608314245 8046778: Better error messages when starting JMX agent via attach or jcmd
Reviewed-by: dholmes
2014-06-18 09:04:20 +02:00
Staffan Larsen
9158c1d9b6 6622468: TEST_BUG: Time to retire the @debuggeeVMOptions mechanism used in the com.sun.jdi infrastructure
Use jtreg "@run driver" for the JDI tests

Reviewed-by: sspitsyn, dholmes
2014-06-17 10:01:16 +02:00
Staffan Larsen
855f7c421e 8044135: Add API to start JMX agent from attach framework
Reviewed-by: alanb
2014-06-11 15:47:53 +02:00
Rob McKenna
9be082f402 8042857: 14 stuck threads waiting for notification on LDAPRequest
Reviewed-by: vinnie
2014-05-23 16:24:43 +01:00
Dmitry Samersoff
c82d0f2418 8043716: JDI test com/sun/jdi/ProcessAttachTest.sh and other 3 jdi tests failed in nightly
InetAddress.getLocalHost() returns configured host name instead of localhost.

Reviewed-by: dcubed
2014-05-22 13:03:10 -07:00
Katja Kantserova
c3d3305c76 8043520: Serviceability tests using @library failing with java.lang.NoClassDefFoundError
Reviewed-by: sla, egahlin
2014-05-22 11:05:36 +02:00
Dmitry Samersoff
878ab77469 8041435: Make JDWP socket connector accept only local connections by default
Bind to localhost only if no address specified. Require * to bind to all available addresses

Reviewed-by: dcubed, sspitsyn
2014-05-20 06:11:05 -07:00
Staffan Larsen
192bd8a421 8043382: TempDirTest.java times out
Remove explicit timeout

Reviewed-by: alanb
2014-05-18 20:42:10 +02:00
Katja Kantserova
0c78d5f9e3 8034960: Serviceability tests using @library failing with java.lang.NoClassDefFoundError
Reviewed-by: sla, alanb
2014-05-09 15:24:57 +02:00
Weijun Wang
79cdf6ad7f 8039951: com.sun.security.auth.module missing classes on some platforms
Reviewed-by: mullan
2014-05-08 22:30:31 +08:00
Staffan Larsen
8ad7b17ffd 8041979: sun/jvmstat/monitor/MonitoredVm/CR6672135.java failing on all platforms
Reviewed-by: kamg, mgronlun
2014-04-25 17:19:49 +02:00
Jaroslav Bachorik
c1922ce784 8042123: Support default and static interface methods in JDI, JDWP and JDB
Reviewed-by: sla, sspitsyn
2014-04-30 11:28:05 +02:00
Jaroslav Bachorik
0d7c3da5fe 8042096: Backout JDK-8042091
Reviewed-by: sla
2014-04-29 14:37:02 +02:00