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
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
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
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
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
Tim Bell
1a4fe677d1
Merge
2008-03-27 10:42:36 -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
791e6a4a43
6289149: 4/4 Java Agent will pick wrong execution path while attaching
...
Check for a declared premain() or agentmain() method before an inherited one
Reviewed-by: sspitsyn
2008-03-24 15:20:29 -07:00
Yuri Nesterenko
3965384d4c
Merge
2008-03-24 06:33:16 -07:00
Valerie Peng
43aa87d64a
Merge
2008-03-21 14:45:20 -07:00
Eamonn McManus
4387f047bc
6643627: JMX source code includes incorrect Java code
...
Javac compiler bug accepts incorrect code; JMX code inadvertently has such code
Reviewed-by: dfuchs
2008-03-21 18:07:57 +01:00
Eamonn McManus
86bf96a3b2
6649542: Document explicitly in registerMBean etc that MBeanServerNotification is emitted
...
Make spec more readable by adding cross-references. Suggested by Andrew Haley.
Reviewed-by: dfuchs
2008-03-21 09:49:40 +01:00
Valerie Peng
adaa79491e
6599979: KeyStore.setEntry/setKeyEntry() do not override existing entry for secret key objects
...
Override existing secret key entry when setEntry/setKeyEntry() is called
Reviewed-by: andreas
2008-03-20 18:41:05 -07:00
Valerie Peng
4b9b2408f3
6572331: regression: cipher.wrap operation fails with CKR_ATTRIBUTE_VALUE_INVALID
...
Check supported key size range and use encryption if needed
Reviewed-by: andreas
2008-03-20 17:17:10 -07:00
Valerie Peng
83d7d2cdfb
4898461: Support for ECB and CBC/PKCS5Padding
...
Add support for ECB mode and PKCS5Padding
Reviewed-by: andreas
2008-03-20 16:02:23 -07:00
Anton Tarasov
74107ff438
6598089: JDK 7: AWT often goes into busy loop when showing dialog
...
Preventing focus from getting in an endless loop.
Reviewed-by: son
2008-03-20 18:06:41 +03:00
Anthony Petrov
eb02c12739
4993545: NativeInLightFixer adds asynchronousity
...
All the hooks related to the NativeInLightFixer have been moved to the HW/LW mixing handling methods. The NativeInLightFixer itself has been removed.
Reviewed-by: son, alexp
2008-03-20 11:09:16 +03:00
Weijun Wang
2aadb6cde1
6670362: HTTP/SPNEGO should work across realms
...
Reviewed-by: valeriep
2008-03-20 11:57:06 +08:00
Mandy Chung
c1473eafef
Merge
2008-03-19 11:13:46 -07:00
Eamonn McManus
bca4fce00a
6675768: NoSuchElementException thrown in RequiredModelMBean when tracing enabled
...
Rewrite logging in RequiredModelMBean.addAttributeChangeNotificationListener
Reviewed-by: dfuchs
2008-03-19 15:17:22 +01:00
Mandy Chung
9c8e97d713
6672804: First line in com/sun/management/package.html is broken
...
Fixed the typo in package.html
Reviewed-by: jjh
2008-03-18 12:53:47 -07:00
Mandy Chung
af4bff1a1e
6658779: Regression: HotspotDiagnosticMXBean.getDiagnosticOptions() throws NullPointerException
...
Add a null check for the VM option string
Reviewed-by: alanb, tbell
2008-03-18 11:53:15 -07:00
Anthony Petrov
8813269b78
6304277: PIT: Adding a TrayIcon closes a SplashScreen on Solaris but not on Win32
...
The Window.closeSplashScreen() method now verified the boolean flag isTrayIconWindow, and returns if it is true.
Reviewed-by: son, dcherepanov
2008-03-18 14:36:14 +03:00
Anthony Petrov
80a01c0796
6637796: setBounds doesn't enlarge Component
...
Added the areBoundsValid() method that verifies whether the current bounds of the component are valid. Using the isValid() method for this purpose previously was incorrect.
Reviewed-by: son, art
2008-03-18 14:20:28 +03:00
Anthony Petrov
cdf1fcc79d
6607660: java.awt.Container.getMouseEventTargetImpl should be invoked while holding the TreeLock
...
The body of the method has been wrapped into the synchronized (getTreeLock()) { } block.
Reviewed-by: son, art
2008-03-18 14:10:28 +03:00
Anthony Petrov
2095e90fb0
6608764: PropertyChangeListeners machinery should have a better locking scheme
...
Change to use a private final object java.awt.Component.changeSupportLock for locking purposes instead of using this
Reviewed-by: son, ant
2008-03-18 12:04:20 +03:00
Bradford Wetmore
99370e418f
Merge
2008-03-17 12:27:58 -07:00
Bradford Wetmore
e5c032b7a8
Merge
2008-03-17 11:53:36 -07:00
Xue-Lei Andrew Fan
04886b6f44
6447412: Issue with socket.close() for ssl sockets when poweroff on other system
...
Support SSL sockets SOLINGER
Reviewed-by: chegar
2008-03-17 03:11:29 -04:00
Xue-Lei Andrew Fan
e61d136dd9
6542796: CPU issue with JSSE and tomcat
...
Record length count error
Reviewed-by: weijun
2008-03-16 23:46:27 -04:00
Xue-Lei Andrew Fan
4a616b5705
6618387: SSL client sessions do not close cleanly. A TCP reset occurs instead of a close_notify alert
...
CloseIdelConnection() does not query the cached connection correctly.
Reviewed-by: chegar
2008-03-16 01:37:44 -04:00
Xue-Lei Andrew Fan
5fc030e9d3
6648816: REGRESSION: setting -Djava.security.debug=failure result in NPE in ACC
...
Unchecking the null pointer of the debug handle
Reviewed-by: mullan, weijun
2008-03-15 13:43:05 -04:00
Xueming Shen
8436026352
6514993: (prefs)prefs should use java.util.ServiceLoader to lookup service providers
...
Reviewed-by: iris
2008-03-14 14:21:03 -07:00
Dmitry Cherepanov
ad051bbc3a
6524352: support for high-resolution mouse wheel
...
Added support for high-resolution mouse wheel
Reviewed-by: dav, son
2008-03-14 20:40:09 +03:00
Dmitry Cherepanov
f97f9eb9a5
6612497: api/java_awt/Container/index.html#isAncestorOf Container2019 hangs since JDK 7 b15
...
Partial rollback changes for 6567564 in the Component.getGC method
Reviewed-by: art, son
2008-03-14 18:27:34 +03:00
Sean Mullan
aa16afbf77
Merge
2008-03-14 10:33:21 -04:00
Roman Kennke
eab1a9b3df
6546113: (bf) CharSequence.slice() on wrapped CharSequence doesn't start at buffer position
...
Reviewed-by: iris
2008-03-13 19:34:49 +00:00
Sean Mullan
cf50796ba5
6611991: Add support for parsing RFC4514 DNs to X500Principal
...
Added new test and made one code change to escape null characters.
Reviewed-by: vinnie
2008-03-13 13:29:27 -04:00
Oleg Sukhodolsky
9c0e7108a3
6636370: minor corrections and simplification of code in AppContext
...
MainAppContext, isDisposed, and numAppContexts has beem made volatile. mostRecentThreadAppContext has been rewritten using ThreadLocal.
Reviewed-by: art
2008-03-13 16:54:51 +03:00
Oleg Sukhodolsky
794142ee36
6636331: ConcurrentModificationException in AppContext code
...
Added synchronization to AppContext.getAppContexts()
Reviewed-by: art
2008-03-13 16:51:04 +03:00
Oleg Sukhodolsky
59d9653ecf
6636369: sun.awt.datatransfer.DataTransferer contains double-check idiom
...
Double-check has been removed
Reviewed-by: dav
2008-03-13 16:47:40 +03:00
Oleg Sukhodolsky
c02f0bd9b7
6603256: Startup: Defer initialization of DropTarget's flavorMap
...
SystemFlavorMap is lazily initialized now.
Reviewed-by: uta
2008-03-13 16:32:15 +03:00
Oleg Sukhodolsky
16b0d38feb
6592751: EmbeddedFrame disposal is fragile and breaks clean AppContext termination
...
AppContext.dispose() should be ready to get exceptions during disposal of toplevels. Also now we mark windows peers as destroyed when native object has been destroyed.
Reviewed-by: art
2008-03-13 16:27:20 +03:00
Oleg Sukhodolsky
ee0c8e43e4
6616095: AWT's WindowDisposerRecord keeps AppContext alive too long
...
WindowDisposerRecord should not keep strong reference to AppContext.
Reviewed-by: art
2008-03-13 16:12:56 +03:00
Bradford Wetmore
b12d27166f
Merge
2008-03-11 23:37:02 -07:00
Weijun Wang
7434ffcbfb
6673164: dns_fallback parse error
...
Reviewed-by: valeriep
2008-03-12 09:32:38 +08:00