Commit Graph

239 Commits

Author SHA1 Message Date
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
Frederic Parain
a1429e482e 7145925: Removing remote access to diagnostic commands in the HotSpotDiagnosticMBean
Reviewed-by: acorn, mchung, phh
2012-02-15 10:46:55 -08:00
Valerie Peng
eafb7ad68c 7088989: Improve the performance for T4 by utilizing the newly provided crypto APIs
Added the OracleUcrypto provider for utilizing the Solaris ucrypto API.

Reviewed-by: weijun
2012-01-12 16:04:03 -08:00
Frederic Parain
d1c86caeaa 7104647: Adding a diagnostic command framework
Reviewed-by: mchung, dholmes
2012-01-04 03:49:35 -08:00
Vinnie Ryan
a3fcc12dc8 7094377: Com.sun.jndi.ldap.read.timeout doesn't work with ldaps
Reviewed-by: chegar
2011-10-07 14:09:53 +01:00
Weijun Wang
035522bd7a 7092627: use agentvm mode instead of samevm in regtests
Reviewed-by: alanb, dsamersoff
2011-09-22 12:05:26 +08:00
Mandy Chung
34e0b54108 7078024: Update JDK service tag for JDK 8
Reviewed-by: paulk
2011-09-07 13:42:34 -07:00
Weijun Wang
f09e1c6f2d 7043847: NTML impl of SaslServer throws UnsupportedOperationException from (un)wrap method
7043860: NTML impl of SaslServer doesn't throw ISE from getAuthorizationID() method
7043882: NTML impl of SaslServer doesn't throw ISE from getNegotiatedProperty() method
7043938: NTML impl of SaslClientFactory throws NPE instead of SaslException
7043959: NTML impl of SaslClientFactory throws NPE for null CallBackHandler instance

Reviewed-by: vinnie
2011-08-19 13:42:40 +08:00
Weijun Wang
610c9dd4e3 7055363: jdk_security3 test target cleanup
Reviewed-by: alanb, xuelei
2011-08-12 12:26:31 +08:00
Chris Hegarty
d011e3ddeb 7076756: TEST_BUG: com/sun/jdi/BreakpointWithFullGC.sh fails to cleanup in Cygwin
Reviewed-by: alanb, dcubed
2011-08-09 16:59:44 +01:00
Xue-Lei Andrew Fan
2ee0410a0c 7068662: Reserve and restore the default locale
Reviewed-by: alanb, weijun
2011-07-29 02:50:58 -07:00
Weijun Wang
a87de29538 6330275: Rework the PaddingTest regression test
Reviewed-by: wetmore, smarks
2011-07-22 10:25:46 +08:00
Chris Hegarty
b59690c5a0 7068416: Lightweight HTTP Server should support TCP_NODELAY
Reviewed-by: alanb, michaelm
2011-07-21 17:28:10 +01:00
Sean Coffey
c27746be10 7041125: LDAP API does not catch malformed filters that contain two operands for the ! operator
Reviewed-by: weijun, xuelei
2011-07-05 15:25:10 +01:00
Michael McMahon
f9cb1ca594 7058832: com/sun/net/httpserver/bugs/B6373555.java failing intermittently
Reviewed-by: alanb
2011-06-28 10:07:41 +01:00
Lana Steuck
69ce407621 Merge 2011-06-22 23:23:58 -07:00
Weijun Wang
6619d1aec9 7055362: jdk_security2 test target cleanup
Reviewed-by: alanb
2011-06-23 09:27:11 +08:00
Alan Bateman
4375a5167f 7056489: test/com/sun/jndi/ldap/ReadTimeoutTest.java hangs or times out
Reviewed-by: forax, vinnie
2011-06-19 11:15:37 +01:00
David Katleman
170844d307 7044486: open jdk repos have files with incorrect copyright headers, which can end up in src bundles
Reviewed-by: ohair, trims
2011-05-25 13:32:36 -07:00
Frederic Parain
e075dabb40 7036199: Adding a notification to the implementation of GarbageCollectorMXBeans
Add a JMX notification to GarbageCollectorMXBeans

Reviewed-by: acorn, mchung
2011-05-16 17:28:18 +02:00
Lana Steuck
04247c5b48 Merge 2011-05-14 11:24:26 -07:00
Alan Bateman
914105d32e 7042979: Rename StandardSocketOption and StandardWatchEventKind
Reviewed-by: forax, chegar
2011-05-09 18:45:33 +01:00
Frederic Parain
186fce71ec 7028071: Add two attributes to the OperatingSystemMXBean to provide CPU Load info
Add getProcessCpuLoad() and getSystemCpuLoad() to the OperatingSystemMXBean

Reviewed-by: acorn, dholmes, mchung
2011-05-06 18:09:33 +02:00
Lana Steuck
b99716e22a Merge 2011-04-17 16:19:29 -07:00
Kelly O'Hair
7c8e01891a Merge 2011-04-13 16:56:16 -07:00
Daniel D. Daugherty
3d4a927981 7035555: 4/4 attach/BasicTests.sh needs another tweak for Cygwin
Test needs to properly detect missing AgentInitializationException. Clarify when exceptions are expected. Another Cygwin tweak.

Reviewed-by: dsamersoff, ohair
2011-04-12 13:36:38 -07:00
Kelly O'Hair
d2b1e20c7d 7033660: Update copyright year to 2011 on any files changed in 2011
Reviewed-by: dholmes
2011-04-06 22:06:11 -07:00
Daniel D. Daugherty
9b466ebe89 7030400: 3/4 PrivateTransportTest.sh needs adjustment to work with 7003964
Fix typo in GetModuleHandle() function lookup.

Reviewed-by: dholmes, alanb, acorn, zgu
2011-03-30 21:10:02 -07:00
Sean Coffey
02b628a10f 7025105: TEST_BUG test/com/sun/jndi/ldap/NoWaitForReplyTest.java should be cleaned up
Reviewed-by: alanb
2011-03-07 14:43:11 +00:00
Sean Coffey
75bd2accd3 6750362: Very large LDAP requests throw a OOM on LDAP servers which aren't aware of Paged Results Controls
6748156: add an new JNDI property to control the boolean flag WaitForReply

Reviewed-by: vinnie, robm
2011-03-03 16:51:03 +00:00
Vinnie Ryan
e6aca17c49 7017176: Several JNDI tests are mssing GPL header
Reviewed-by: alanb
2011-02-04 09:52:37 +00:00
Vinnie Ryan
e9f2c8444e 6997561: A request for better error handling in JNDI
Reviewed-by: robm
2011-02-03 19:09:05 +00:00
Paul Hohensee
c37b51609d 6173675: M&M: approximate memory allocation rate/amount per thread
Subclass com.sun.management.ThreadMXBean from java.lang.management.ThreadMXBean, add getAllocatedBytes() and friends to c.s.m.ThreadMXBean and have sun.management.ThreadImpl implement c.s.m.ThreadMXBean rather than j.l.m.ThreadMXBean.

Reviewed-by: mchung, alanb, dholmes, emcmanus
2011-01-20 19:34:40 -05:00
Lana Steuck
cb72d9f503 Merge 2011-01-19 19:00:30 -08:00
Keith McGuigan
8867f6b298 6436034: Instance filter doesn't filter event if it occurs in native method
Use 'GetLocalInstance' JVMTI extension if it exists

Reviewed-by: coleenp, dcubed
2011-01-12 11:47:35 -05:00
Stuart Marks
b2ef93e7d4 7008728: diamond conversion of basic security, permissions, authentication
Reviewed-by: mullan
2011-01-07 15:39:58 -08:00
Lana Steuck
d9d089213f Merge 2011-01-05 15:54:45 -08:00
Andrei Dmitriev
25a7d0c26f 7008106: com/sun/awt/Translucency/WindowOpacity.java test fails just against jdk7 b122
Reviewed-by: dcherepanov
2010-12-29 15:13:00 +03:00
Kelly O'Hair
6b6a611c8e 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:53:50 -08:00
Chris Hegarty
458596deff 7004439: SCTP_SET_PEER_PRIMARY_ADDR throws SocketException on Linux
IPv4 addrs passed to SCTP_SET_PEER_PRIMARY_ADDR should not be converted to IPv4-mapped addrs

Reviewed-by: michaelm
2010-12-10 10:47:21 +00:00
Michael McMahon
3b12289f13 Merge 2010-12-07 13:29:20 +00:00
Michael McMahon
04da999791 7005016: sqe test jhttp/HttpServer150013/HttpServer150013.java
Reviewed-by: chegar
2010-12-07 13:27:02 +00:00
Xue-Lei Andrew Fan
5c9c79fca6 6979376: to have ldap filters tolerate underscore character in object identifier
Reviewed-by: weijun
2010-12-02 23:44:01 -08:00
Michael McMahon
f6639fefed 7001301: com/sun/net/httpserver/bugs/6725892/Test.java failing
Reviewed-by: alanb
2010-11-19 13:30:02 +00:00
Michael McMahon
e4d948e846 6725892: Http server stability issues
Reviewed-by: chegar
2010-11-17 14:29:51 +00:00
Xue-Lei Andrew Fan
f685cc171a 6916074: Add support for TLS 1.2
6985179: To support Server Name Indication extension for JSSE client

Introduces the algorithm constraints to support signature and hash algorithm selection. Includes contributions from wetmore and weijung.

Reviewed-by: wetmore, weijun
2010-11-01 22:02:35 -07:00
Sean Mullan
bbded477bb 6954275: XML signatures with reference data larger 16KB and cacheRef on fails to validate
Reviewed-by: xuelei
2010-10-15 10:55:59 -04:00
Lana Steuck
53e6cf8989 Merge 2010-09-25 12:00:05 -07:00
Mandy Chung
872a9b9303 6984036: servicetag vendor rebranding issues
Update product_vendor field to use java.vendor system property

Reviewed-by: ohair
2010-09-22 21:44:18 -07:00
Weijun Wang
f788ac2dbd 6982971: TEST failure: com/sun/security/sasl/ntlm/NTLMTest.java
Reviewed-by: wetmore
2010-09-23 10:46:03 +08:00
Lana Steuck
a682d9348d Merge 2010-09-16 11:19:43 -07:00
Kelly O'Hair
f7e31fc6c2 6982137: Rebranding pass 2 - missed copyright changes
Reviewed-by: mbykov
2010-09-09 16:26:46 -07:00
Alan Bateman
2fdbbbae4e 6965072: Need API to create SDP sockets
Reviewed-by: michaelm
2010-09-03 13:11:54 +01:00
Weijun Wang
7fe5113fe7 6911951: NTLM should be a supported Java SASL mechanism
Reviewed-by: vinnie, michaelm
2010-08-30 14:37:43 +08:00
Michael McMahon
bf106fcab7 6510892: com/sun/net/httpserver/bugs/B6361557.java fails
Reviewed-by: chegar
2010-07-30 18:16:30 +01:00
Lana Steuck
99a605b4b3 Merge 2010-07-29 22:02:45 -07:00
Vinnie Ryan
575bf80be6 6676075: RegistryContext (com.sun.jndi.url.rmi.rmiURLContext) coding problem
Reviewed-by: mullan
2010-07-23 17:41:47 +01:00
Daniel D. Daugherty
9f5d2eb156 6962804: 4/4 ShellScaffold tests can fail without a specific reason
Add more diagnostics for failures. Only copy target file in grepForString when NL is missing.

Reviewed-by: ohair, dholmes
2010-07-21 16:59:40 -07:00