Commit Graph

296 Commits

Author SHA1 Message Date
Alan Bateman
76a5534d5b 8029904: Remove com.sun.security.auth.callback.DialogCallbackHandler
Reviewed-by: mullan
2013-12-16 15:05:26 +00:00
Staffan Larsen
4799040e87 8030204: com/sun/jdi/JdbExprTest.sh: Required output "Can\\'t convert 2147483648 to int" not found
Reviewed-by: alanb
2013-12-16 15:38:31 +01:00
Staffan Larsen
6c4e462b47 4660158: TTY: NumberFormatException while trying to set values by 'set' command
Reviewed-by: alanb, sspitsyn
2013-12-16 11:09:52 +01:00
Staffan Larsen
bf00fe4292 8028430: JDI: ReferenceType.visibleMethods() return wrong visible methods
Reviewed-by: mchung
2013-12-16 11:04:59 +01:00
Mattias Tobiasson
7d90d5b2de 6461635: [TESTBUG] BasicTests.sh test fails intermittently
Transform dummy class instead of BigInteger to avoid complication by -Xshare. Ported from script to java.

Reviewed-by: alanb
2013-12-03 17:06:23 +01:00
Shanliang Jiang
5e65bad007 8029063: test/com/sun/jmx/snmp/NoInfoLeakTest.java does not compile with OpenJDK builds
Reviewed-by: alanb, dfuchs
2013-12-03 08:53:23 +01:00
Jaroslav Bachorik
b77ba98513 6987597: ManagementFactory.getGarbageCollectorMXBeans() returns empty list with CMS
Reviewed-by: mchung
2013-11-28 09:10:18 +01:00
Lana Steuck
33cd414e58 Merge 2013-11-25 09:40:25 -08:00
Lana Steuck
1a633e63a9 Merge 2013-11-15 07:14:23 -08:00
Valerie Peng
b04c80f960 Merge 2013-11-21 11:58:51 -08:00
Tristan Yan
4fe266b9f7 7036666: test/com/sun/net/httpserver/Test9a.java fails intermittently
Additional stacktrace information is printed on failure

Reviewed-by: alanb, dfuchs, chegar
2013-11-21 13:37:11 +00:00
Erik Gahlin
c3a4fe847a 6402201: ProcessAttachTest.sh needs better synchronization
Reviewed-by: alanb
2013-11-21 13:46:35 +01:00
Mark Sheppard
aae4ea0fe1 8028215: ORB.init fails with SecurityException if properties select the JDK default ORB
Check for default ORBImpl and ORBSingleton set via properties or System properties

Reviewed-by: alanb, coffeys, mchung
2013-11-21 11:36:39 +00:00
Erik Gahlin
bcfc0d5917 7141544: TEST_BUG: com/sun/jdi/BreakpointWithFullGC.sh fails
Reviewed-by: sla
2013-11-20 12:32:13 +01:00
Valerie Peng
be7c03049b 8026943: SQE test jce/Global/Cipher/SameBuffer failed
Always use different input/output buffers when calling FeedbackCipher objects

Reviewed-by: mullan
2013-11-19 15:29:56 -08:00
Petr Pchelko
5f7b6dfb6c 8025440: [TEST_BUG] com/sun/awt/SecurityWarning/GetSizeShouldNotReturnZero.java failed since jdk8b108
Reviewed-by: anthony
2013-11-14 11:42:46 +04:00
Erik Gahlin
7e3d90db4a 6954510: TEST_BUG: Testcase failure com/sun/jdi/BreakpointWithFullGC.sh
Reviewed-by: sla, sspitsyn
2013-11-13 18:41:30 +01:00
Jaroslav Bachorik
d35ec75e4f 8004126: TEST_BUG: com/sun/jdi/BadHandshakeTest.java fails intermittently
Reviewed-by: dholmes, ykantser
2013-11-13 13:12:16 +01:00
Sergey Bylokhov
9ab430a0d2 8027696: Incorrect copyright header in the tests
Reviewed-by: alanb, malenkov, mullan
2013-11-12 20:24:25 +04:00
Lana Steuck
84da58d996 Merge 2013-11-08 17:36:14 -08:00
Tristan Yan
5d27126a44 8023462: TEST_BUG: test/com/sun/net/httpserver/bugs/B6433018.java fails on slow/single core machine
Reviewed-by: chegar
2013-11-08 18:54:29 +00:00
Dan Xu
f7db4eb56b 8027624: com/sun/crypto/provider/KeyFactory/TestProviderLeak.java unstable again
Reviewed-by: wetmore
2013-11-01 14:40:03 -07:00
Staffan Larsen
fdbeb8e0fb 8027705: com/sun/jdi/JdbMethodExitTest.sh fails when a background thread is generating events
Reviewed-by: dcubed
2013-11-01 15:10:10 +01:00
Lana Steuck
ac6386468f Merge 2013-10-31 16:44:18 -07:00
Lana Steuck
65797af67d Merge 2013-10-25 10:39:13 -07:00
Staffan Larsen
a4c472645e 8027371: Add JDI tests for breakpointing and stepping in lambda code
Reviewed-by: mchung, sspitsyn
2013-10-29 08:10:32 +01:00
Mikael Auno
f99959f054 8009681: TEST_BUG: MethodExitReturnValuesTest.java may fail when there are unexpected background threads
Reviewed-by: sla, allwin
2013-10-15 12:53:54 +02:00
Sean Coffey
41dccdf751 5036554: unmarshal error on CORBA alias type in CORBA any
Reviewed-by: chegar, smarks
2013-10-23 16:53:42 +01:00
Erik Gahlin
eb1b9d5ad8 7105883: JDWP: agent crash if there exists a ThreadGroup with null name
Reviewed-by: sla, jbachorik
2013-10-23 10:50:34 +02:00
Shanliang Jiang
ef41b62611 8026028: [findbugs] findbugs report some issue in com.sun.jmx.snmp package
Reviewed-by: psandoz, dfuchs
2013-10-18 16:15:38 +02:00
Staffan Larsen
d8fad522ed 8021897: EXCEPTION_ACCESS_VIOLATION on debugging String.contentEquals()
Reviewed-by: alanb, sspitsyn
2013-10-18 11:52:24 +02:00
Lana Steuck
a076cb06a6 Merge 2013-10-11 14:19:50 -07:00
Lana Steuck
5db317fd23 Merge 2013-10-10 13:33:02 -07:00
Peter Allwin
3723c4691c 8014446: JT_JDK: Wrong detection of test result for test com/sun/jdi/NoLaunchOptionTest.java
Reviewed-by: sla, mgronlun, dholmes, jbachorik, chegar
2013-10-10 10:14:54 +02:00
Leonid Romanov
e77075b022 8016551: JMenuItem in WindowsLookAndFeel can't paint default icons
Reviewed-by: alexsch, serb
2013-10-09 21:15:49 +04:00
Valerie Peng
ba9b938306 8014374: Cannot initialize "AES/GCM/NoPadding" on wrap/unseal on solaris with OracleUcrypto
Removed OracleUcrypto provider regression tests from OpenJDK

Reviewed-by: xuelei
2013-10-08 11:35:29 -07:00
Valerie Peng
a5add24f51 8012900: CICO ignores AAD in GCM mode
Change GCM decryption to not return result until tag verification passed

Reviewed-by: xuelei
2013-10-08 11:17:53 -07:00
David Katleman
b4c28b3b28 Merge 2013-10-01 12:45:47 -07:00
Kumar Srinivasan
a210a6a74e 8020552: [launcher] changes to support removal of Solaris 32-bit distribution
8023495: [infra] create 64-bit solaris bits with symlinks

Reviewed-by: ihse, tbell, dholmes, darcy, alanb, erikj, sla, martin
2013-09-27 16:29:44 -07:00
Staffan Larsen
a066da5d4d 8024416: TESTBUG: com/sun/jdi/MethodEntryExitEvents.java: method entry count mismatch
Reviewed-by: dcubed
2013-09-20 10:15:02 +02:00
Staffan Larsen
6de8695342 8024985: com/sun/jdi/StepTest.java failed since jdk8b107
Reviewed-by: dcubed
2013-09-20 10:14:35 +02:00
Sean Coffey
e1619bcf81 8017195: Introduce option to setKeepAlive parameter on CORBA sockets
Reviewed-by: chegar, msheppar
2013-09-03 22:37:07 +01:00
Staffan Larsen
e838e31768 8016727: test/com/sun/jdi/sde/TemperatureTableTest.java failing intermittently
Reviewed-by: alanb
2013-08-20 16:53:27 +02:00
Anthony Scarpino
6b3b53caa1 8022669: OAEPParameterSpec does not work if MGF1ParameterSpec is set to SHA2 algorithms
Reviewed-by: mullan
2013-08-14 10:50:52 -07:00
Lana Steuck
d4db347ba0 Merge 2013-08-13 18:33:25 -07:00
Anthony Scarpino
7adae55d1d 8020081: Cipher with OAEPPadding and OAEPParameterSpec can't be created
Reviewed-by: mullan
2013-08-12 11:25:42 -07:00
Lana Steuck
e395ecfccb Merge 2013-08-07 12:03:37 -07:00
Leonid Romanov
bc37e5f4ad 8021815: Add regression test for JDK-8007267
Reviewed-by: serb
2013-08-01 01:26:57 +04:00
Shanliang Jiang
28502e7c19 8016221: A unit test should not use a fix port to run a jmx connector
Reviewed-by: jbachorik, dfuchs
2013-07-24 15:47:10 +02:00
Valerie Peng
cc8c381257 Merge 2013-07-11 17:52:04 -07:00
Jaroslav Bachorik
d7811f443c 8019826: Test com/sun/management/HotSpotDiagnosticMXBean/SetVMOption.java fails with NPE
Reviewed-by: sjiang, dholmes, mchung
2013-07-11 09:21:09 +02:00
Anthony Scarpino
bc2fd2fe9c 6755701: SunJCE DES/DESede SecretKeyFactory.generateSecret throws InvalidKeySpecExc if passed SecretKeySpec
Reviewed-by: valeriep, wetmore, xuelei
2013-07-08 10:20:46 -07:00
Valerie Peng
3c38993366 8012637: Adjust CipherInputStream class to work in AEAD/GCM mode
Ensure the Cipher.doFinal() is called only once

Reviewed-by: xuelei
2013-07-05 13:53:37 -07:00
Lana Steuck
5ab44a5a66 Merge 2013-06-19 18:30:21 -07:00
Lana Steuck
25b7910613 Merge 2013-06-14 10:41:45 -07:00
Konstantin Shefov
1df3335d0d 7184908: TEST_BUG: [macosx] closed/com/sun/java/swing/plaf/gtk/4928019/bug4928019.java fails
Reviewed-by: alexsch, serb
2013-06-11 14:20:37 +04:00
Frederic Parain
f405277c72 7150256: Add back Diagnostic Command JMX API
Reviewed-by: mchung, jbachorik
2013-06-05 08:41:02 -07:00
Jaroslav Bachorik
afee04d0fb 8005472: com/sun/jmx/remote/NotificationMarshalVersions/TestSerializationMismatch.sh failed on windows
Reviewed-by: chegar, smarks, dfuchs
2013-05-28 15:57:45 +02:00
Sean Mullan
79e4c9f146 8010714: XML DSig API allows a RetrievalMethod to reference another RetrievalMethod
Reviewed-by: xuelei, hawtin
2013-05-13 17:50:14 -04:00
Weijun Wang
cd5050ea28 8013855: DigestMD5Client has not checked RealmChoiceCallback value
Reviewed-by: xuelei, mullan
2013-05-03 10:43:24 +08:00
Sean Mullan
86ae90ad59 8009217: REGRESSION: test com/sun/org/apache/xml/internal/security/transforms/ClassLoaderTest.java fails to compile since 7u21b03
Reviewed-by: xuelei
2013-04-29 11:47:17 -04:00
Anthony Scarpino
b1d5a4f3ab 8012056: SunJCEInstance needs to run in it's own vm
Reviewed-by: wetmore
2013-04-11 17:29:43 -07:00
Tony Scarpino
dbfbe6ca61 8001596: Incorrect condition check in PBKDF2KeyImpl.JAVA
Reviewed-by: wetmore
2013-04-11 18:00:23 +01:00
Tony Scarpino
080470408b 7171982: Cipher getParameters() throws RuntimeException: Cannot find SunJCE provider
Reviewed-by: vinnie, wetmore
2013-04-11 17:57:08 +01:00
Mandy Chung
d79b11782a 8010787: changeset for 8007703 is missing the deleted files
Reviewed-by: dholmes, alanb, erikj
2013-03-25 18:14:52 -07:00
Staffan Larsen
f716ccd343 8006637: Failure to filter out native frame events on Solaris
Test is confused by other threads calling String.intern(). Add a thread filter to avoid this.

Reviewed-by: sspitsyn, alanb
2013-03-19 09:53:36 +01:00
Valerie Peng
3ecc12a044 8013069: javax.crypto tests fail with new PBE algorithm names
Shouldn't auto-generate default parameters for MAC objects.

Reviewed-by: vinnie
2013-05-29 20:54:43 -07:00
Pasi Eronen
b888136f12 8014618: Need to strip leading zeros in TlsPremasterSecret of DHKeyAgreement
Reviewed-by: xuelei
2013-05-30 22:02:43 -07:00
Jaroslav Bachorik
6258d24af0 8015627: test/com/sun/jmx/remote/NotificationMarshalVersions/TestSerializationMismatch.java fails in agentvm mode
Reviewed-by: alanb, chegar
2013-05-30 13:58:02 +02:00
Daniel D. Daugherty
249b55b573 8007420: add test for 6805864 to com/sun/jdi, add test for 7182152 to java/lang/instrument
Reviewed-by: coleenp, sspitsyn
2013-02-11 10:07:01 -08:00
Alan Bateman
c12b624078 8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
Reviewed-by: chegar
2013-01-11 20:19:55 +00:00
Valerie Peng
96c5499439 6996769: support AEAD cipher
Added implementation for GCM mode under AES cipher

Reviewed-by: weijun
2013-01-07 11:11:54 -08:00
Lana Steuck
b7af263526 Merge 2012-12-28 18:36:41 -08:00
David Katleman
306cab1006 8004982: JDK8 source with GPL header errors
Reviewed-by: ohair
2012-12-20 16:24:50 -08:00
Jaroslav Bachorik
96c02bccd3 8005309: Missed tests for 6783290,6937053,7009998
Missed tests for 6783290,6937053,7009998

Reviewed-by: sjiang, emcmanus
2012-12-20 20:12:32 +04:00
Mark Sheppard
c9063f559f 8003890: corelibs test scripts should pass TESTVMOPTS
Reviewed-by: chegar, alanb
2012-12-13 14:47:35 +00:00
Vinnie Ryan
bd748175f8 6383200: PBE: need new algorithm support in password based encryption
Reviewed-by: valeriep
2012-11-05 20:18:05 +00:00
Alan Bateman
430592a30e 7197491: update copyright year to match last edit in jdk8 jdk repository
Reviewed-by: chegar, ksrini
2012-11-02 15:50:11 +00:00
Weijun Wang
a60d4fd720 7110803: SASL service for multiple hostnames
Reviewed-by: mullan
2012-11-02 10:48:04 +08:00
Rob McKenna
a14592d891 8000487: Java JNDI connection library on ldap conn is not honoring configured timeout
Reviewed-by: vinnie
2012-10-15 22:34:35 +01:00
Weijun Wang
7e677a587b 7196677: diff compares same file to itself in PaddingTest regression test
Reviewed-by: xuelei
2012-09-07 10:24:22 +08:00
Valerie Peng
a431f9851d 7044060: Need to support NSA Suite B Cryptography algorithms
Add support for DSA parameter generation and OIDs for NSA Suite B algorithms.

Reviewed-by: vinnie
2012-09-04 18:41:06 -07:00
Dmytro Sheyko
2b51b9ab1a 6853676: OperatingSystemMXBean.TotalPhysicalMemorySize has incorrect value
Reviewed-by: alanb, dholmes, sla
2009-06-19 16:50:38 +03:00
Sean Coffey
0c39548e00 7195063: [TEST] jtreg flags com/sun/corba/cachedSocket/7056731.sh with Error failure
Reviewed-by: chegar
2012-08-31 12:25:29 +01:00
David MacDonald
b9fda6fcd8 7056731: Race condition in CORBA code causes re-use of ABORTed connections
Reviewed-by: lancea
2012-08-16 10:35:35 +01:00
Xue-Lei Andrew Fan
58aa6e97a4 7185576: Need to consider the connection timeout at test/com/sun/jndi/ldap/InvalidLdapFilters.java
Reviewed-by: vinnie
2012-07-24 03:31:44 -07:00
Darryl Mocek
811a20ee54 7184943: fix failing test com/sun/jndi/rmi/registry/RegistryContext/UnbindIdempotent.java
7184946: fix failing test com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java

Reviewed-by: smarks
2012-07-18 10:04:45 -07:00
Olivier Lagneau
c25dd16233 7142596: RMI JPRT tests are failing
Changed RMI tests to use random port numbers for the RMI Registry and RMID so the tests can be run concurrently without test failures due to tests using the same port numbers.

Reviewed-by: smarks, alanb
2012-07-17 11:01:44 -07:00
Dan Xu
50bf3b7bdc 7177045: Rework the TestProviderLeak.java regression test, it is too fragile to low memory errors
Increase Xmx to 20 MB and add mechanisms to eat up most of the JVM free memory.

Reviewed-by: wetmore
2012-07-16 16:30:11 -07:00
Weijun Wang
d9bb3177f8 7173036: test/com/sun/jdi/ConnectedVMs.java does not run as expected
Reviewed-by: alanb
2012-06-04 18:06:45 +08:00
Valerie Peng
879e30901e 4963723: Implement SHA-224
Add support for SHA-224, SHA224withRSA, SHA224withECDSA, HmacSHA224 and OAEPwithSHA-224AndMGF1Padding.

Reviewed-by: vinnie
2012-05-08 17:57:48 -07:00
Vinnie Ryan
43ef89d4a6 7087021: TEST: com/sun/crypto/provider/Mac/MacClone.java failed on Solaris sparc 5.10
Reviewed-by: mullan
2012-05-02 14:50:46 +01:00
Staffan Larsen
311ea4a969 7147848: com.sun.management.UnixOperatingSystem uses hardcoded dummy values [macosx]
Provide the missing implementation UnixOperatingSystem on Mac OS X

Reviewed-by: dsamersoff, dcubed
2012-04-17 06:45:57 +02:00
Valerie Peng
3a8e9e6104 7146728: Inconsistent length for the generated secret using DH key agreement impl from SunJCE and PKCS11
Always return the secret in the same length as the modulus.

Reviewed-by: wetmore
2012-03-20 15:06:13 -07:00
Rickard Bäckman
b943c9c83d 7145419: com/sun/jdi/JdbMethodExitTest.sh fails when a background thread is generating events
Add more packages to filter avoids failing on events from background thread.

Reviewed-by: acorn, sspitsyn, sla
2012-03-14 08:43:28 +01:00
Lana Steuck
ac3052168c Merge 2012-03-08 08:18:56 -08:00
Weijun Wang
0bc11358bb 6961765: Double byte characters corrupted in DN for LDAP referrals
Reviewed-by: vinnie
2012-03-07 10:15:41 +08:00
Alan Bateman
3269d85838 7113349: Initial changeset for Macosx port to jdk
Co-authored-by: Alexander Potochkin <alexander.potochkin@oracle.com>
Co-authored-by: Alexander Zuev <alexander.zuev@oracle.com>
Co-authored-by: Andrew Brygin <andrew.brygin@oracle.com>
Co-authored-by: Artem Ananiev <artem.ananiev@oracle.com>
Co-authored-by: Alex Strange <astrange@apple.com>
Co-authored-by: Bino George <bino@apple.com>
Co-authored-by: Christine Lu <christine.lu@oracle.com>
Co-authored-by: David Katleman <david.katleman@oracle.com>
Co-authored-by: David Durrence <david_durrence@apple.com>
Co-authored-by: Dmitry Cherepanov <dmitry.cherepanov@oracle.com>
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kevin Miller <kevin_m_miller@apple.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Landon Fuller <landonf@plausiblelabs.com>
Co-authored-by: Leonid Romanov <leonid.romanov@oracle.com>
Co-authored-by: Loefty Walkowiak <loefty@apple.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Scott Kovatch <scott.kovatch@oracle.com>
Co-authored-by: Sergey ByloKhov <sergey.bylokhov@oracle.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Tomas Hurka <tomas.hurka@oracle.com>
Reviewed-by: jjh, alanb, dholmes, anthony, ohrstrom, ksrini, jrose, weijun, smarks
2012-03-06 20:34:38 +00:00
Lana Steuck
bf8b18f80e Merge 2012-02-22 22:09:53 -08:00
Sean Chou
40d87232e6 7089914: Focus on image icons are not visible in javaws cache with high contrast mode
Reviewed-by: rupashka
2012-02-16 17:42:09 +04:00