Commit Graph

189 Commits

Author SHA1 Message Date
Sean Mullan
82c5bba334 Merge 2008-04-25 09:03:20 -04:00
Sean Mullan
71791668df 6690169: Specification for BasicPermission.equals() is not consistent
Clarified @return to be consistent with method description

Reviewed-by: vinnie
2008-04-25 08:58:07 -04:00
Bradford Wetmore
f1e72f0012 Merge 2008-04-23 10:20:34 -07:00
Weijun Wang
a934ff801a 6689000: Changes in 6675606 causing regression test failures on windows-i586
Accept illegal URLs like file:c:/root/x.conf and file:this/that/x.conf

Reviewed-by: alanb, chegar
2008-04-23 08:10:28 +08:00
Eamonn McManus
1ca7f71818 6692027: Custom subclasses of QueryEval don't serialize
Remove non-public superclass of QueryEval

Reviewed-by: dfuchs
2008-04-22 18:58:40 +02:00
Keith McGuigan
3c827ac2b0 6691494: doc build broken in tracingdocs
Wrong variable names in makefile

Reviewed-by: tbell
2008-04-21 11:24:04 -04:00
Jean-Christophe Collet
18ff524a84 6558853: getHostAddress() on connections using IPv6 link-local addrs should have zone id
Set the scope_id_set flag when necessary

Reviewed-by: chegar
2008-04-18 15:23:27 +02:00
Keith McGuigan
cd24f6fc4a 6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
Initial checkin of JSDT code

Reviewed-by: sspitsyn, sbohne
2008-04-17 22:00:16 -04:00
Bradford Wetmore
a7affccf50 Merge 2008-04-17 16:56:11 -07:00
Jean-Christophe Collet
2dc88cc9c9 6644726: Cookie management issues
Many changes to accomodate RFC 2965 and old Netscape specs

Reviewed-by: chegar
2008-04-17 11:05:33 +02:00
Chris Hegarty
351801ee0b 6687282: URLConnection for HTTPS connection through Proxy w/ Digest Authentication gives 400 Bad Request
Change http/digest implementation to use host:port from CONNECT request

Reviewed-by: michaelm
2008-04-16 14:17:54 +01:00
Tim Bell
065eb83a37 Merge 2008-04-15 17:46:47 -07:00
Chris Hegarty
3f919e4a32 6659779: HttpURLConnections logger should log tunnel requests
Invoke Logger for CONNECT request/responses.

Reviewed-by: jccollet
2008-04-15 14:22:36 +01:00
Xueming Shen
f935457fef 6635133: Exception thrown when using a Unicode escape
Update regex engine to handle unicode escape correctly in character class

Reviewed-by: okutsu
2008-04-14 21:45:45 -07:00
Sean Mullan
0ca6fc6718 Merge 2008-04-14 10:41:16 -04:00
Sean Mullan
5a0ae8fa6f 6631361: Spec of AccessControlContext constructor is not complete
Add NullPointerException to @throws clause and treat empty array and array of nulls as equivalent

Reviewed-by: valeriep
2008-04-14 10:25:05 -04:00
Tim Bell
1fb81ad2f5 Merge 2008-04-11 15:06:20 -07:00
Mandy Chung
6c33c4e721 6687508: Update test/sun/management jtreg tests due to sun.management.ManagementFactory class rename
Modified the jtreg tests to use ManagementFactoryHelper instead

Reviewed-by: emcmanus
2008-04-11 10:26:26 -07:00
Xue-Lei Andrew Fan
fb2418cb14 6571950: SSLSocket(raddr, rport, laddr, lport) allows null as laddr that spec doesn't reflect
Add the description that while the local address parameter is null, anyLocalAddress will be used instead.

Reviewed-by: weijun
2008-04-11 03:50:37 -04:00
Xue-Lei Andrew Fan
b8995164f7 6546671: (spec)javax.net.ssl.TrustManagerFactory.getInstance() throws undocumented NP
5053895: (spec) Unspecified IllegalStateException in TrustManagerFactory

Add NullPointerException/IllegalStateException description

Reviewed-by: weijun
2008-04-11 03:43:18 -04:00
Xue-Lei Andrew Fan
3b3f5839b6 6546639: (spec)javax.net.ssl.SSLContext.getInstance(null) throws undocumented NPE
Add NullPointerException description to those methods.

Reviewed-by: weijun
2008-04-11 03:33:22 -04:00
Mandy Chung
85ae69c481 Merge 2008-04-10 16:11:27 -07:00
Xueming Shen
7f4be79650 6529796: Support JIS X 0213:2004 in existing JDK versions, especially for Windows Vista
SJIS0213 support

Reviewed-by: naoto
2008-04-10 14:45:58 -07:00
Mandy Chung
98ecfdaa47 6610094: Add generic support for platform MXBeans of any type (also fixed 6681031)
Add new methods in ManagementFactory class to obtain platform MXBeans

Reviewed-by: alanb, dfuchs, emcmanus
2008-04-10 10:47:13 -07:00
Kumar Srinivasan
da0bf7574c 6684582: Launcher needs improved error reporting
Indicate the missing main class in the error message

Reviewed-by: darcy, kbr
2008-04-10 09:02:22 -07:00
Weijun Wang
c5757d6fbd 6675606: javax.security.auth.login.Configuration does not recognize path with spaces
Reviewed-by: chegar, xuelei
2008-04-10 19:58:48 +08:00
Xiomara Jayasena
d045aa8a11 Added tag jdk7-b25 for changeset 8d655ddd5a03 2008-04-09 11:19:07 -07:00
Tim Bell
a996482e5d Merge 2008-04-07 23:27:43 -07:00
Bradford Wetmore
bbe29fa484 Merge 2008-04-07 14:19:23 -07:00
Bradford Wetmore
e6ce57d09e 6683078: Update JCE framework and provider builds to work on read-only filesystems
6644659: Error in default target of make/javax/crypto in OpenJDK build

Reviewed-by: valeriep, ohair
2008-04-06 10:15:03 -07:00
Xue-Lei Andrew Fan
2dddf4033e 6668231: Presence of a critical subjectAltName causes JSSE's SunX509 to fail trusted checks
Make the critical extension known to end entity checker.

Reviewed-by: wetmore, mullan
2008-04-02 22:44:45 -04:00
Eamonn McManus
332059a555 6610917: Define a generic NotificationFilter
Adds javax.management.QueryNotificationFilter

Reviewed-by: dfuchs
2008-04-01 14:45:23 +02:00
Valerie Peng
58ca4c8b87 Merge 2008-03-31 16:50:16 -07:00
Valerie Peng
0397417ad8 6682417: JCK test failed w/ ProviderException when decrypted data is not multiple of blocks
Check for CKR_ENCRYPTED_DATA_LEN_RANGE and throw IllegalBlockSizeException

Reviewed-by: wetmore
2008-03-31 16:16:12 -07:00
Valerie Peng
c10465ee58 6682411: JCK test failed w/ ArrayIndexOutOfBoundException (-1) when decrypting with no data
Fixed PKCS5Padding class with additional check and throw BadPaddingException if the check failed

Reviewed-by: wetmore
2008-03-31 16:12:37 -07:00
Chris Phillips
b9705263ec 6469580: 1.5.0_08 JVM crashes in SignatureHandlerLibrary::add on Fujitsu Primepower platform
Reviewed-by: andreas, valeriep, wetmore
2008-03-31 13:27:10 -07:00
Valerie Peng
3470103a93 6681652: Two new regression test failures in pkcs11 code
Fixed the test to not assume SunJCE provider being the provider for DES

Reviewed-by: wetmore
2008-03-31 11:09:57 -07:00
Bradford Wetmore
754b9d2936 Merge 2008-03-28 12:56:34 -07:00
Daniel D. Daugherty
be69c9cfa3 Merge 2008-03-27 14:15:59 -07:00
Xiomara Jayasena
b1415f3d2d Merge 2008-03-27 12:09:50 -07:00
Tim Bell
1a4fe677d1 Merge 2008-03-27 10:42:36 -07:00
Daniel D. Daugherty
e1362bb54d 6679866: 3/2 portability issues with JLI-batch-200803 on Win*
Make minor tweaks to the fix for 6274276 to make the Win* compiler happy...

Reviewed-by: sspitsyn, ohair
2008-03-26 20:18:22 -07:00
Kelly O'Hair
2214f21856 Merge 2008-03-26 17:48:05 -07:00
Kelly O'Hair
ba11a6a5e6 6627817: Remove ^M characters in all files (Makefiles too)
Some files included the use of the ^M character, which has been deleted.

Reviewed-by: xdono
2008-03-25 14:40:43 -07:00
Daniel D. Daugherty
afd0a54dd0 6667089: 3/3 multiple redefinitions of a class break reflection
Add regression test for multiple redefinitions of a class break reflection.

Reviewed-by: sspitsyn
2008-03-24 17:20:54 -07:00
Daniel D. Daugherty
a6edacebb8 6655234: 4/4 j.l.i.: setNativeMethodPrefix does not document that prefix string can be null
Clarify wording for 'prefix' parameter to setNativeMethodPrefix().

Reviewed-by: sspitsyn
2008-03-24 17:16:10 -07:00
Daniel D. Daugherty
43ac52cdce 6572160: 3/3 Instrumentation.getObjectSize triggers JVM crash in JPLISAssert in shutdown
Tolerate JVMTI_ERROR_WRONG_PHASE return codes so that JLI methods can be called to the end of VM's life.

Reviewed-by: ohair, sspitsyn
2008-03-24 17:12:01 -07:00
Daniel D. Daugherty
ff7433606c 6642405: 4/4 src/share/instrument/JPLISAgent.c line 286: "==" found where assignment "=" expected
Fix incorrect variable assignment in initializeJPLISAgent().

Reviewed-by: ohair, sspitsyn
2008-03-24 16:59:07 -07:00
Daniel D. Daugherty
f465e85260 6547500: 2/2 j.l.i.: .retransformClasses throws unexpected InternalError
RetransformClasses() should catch both an empty classes array and a classes array that contains a NULL element.

Reviewed-by: ohair, sspitsyn
2008-03-24 16:32:15 -07:00
Daniel D. Daugherty
b6cb4857d9 6547358: 2/2 j.l.i.: manifest attribute 'Can-Retransform-Classes' is ignored by isRetransformClassesSupported()
IsRetransformClassesSupported() should return the capability rather than give the agent the capability

Reviewed-by: ohair, sspitsyn
2008-03-24 16:23:21 -07:00