Commit Graph

4760 Commits

Author SHA1 Message Date
Andrei Dmitriev
88699393d7 6610244: modal dialog closes with fatal error if -Xcheck:jni is set
Obtain WWindowPeer class every time it is required

Reviewed-by: art
2008-03-25 15:16:03 +03: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
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
11ff50b340 6545149: 4/4 JLI Instrumentation.redefineClasses SIGSEGVs on java/lang/Thread
Add regression test for redefining class with native methods.

Reviewed-by: sspitsyn
2008-03-24 16:11:24 -07:00
Daniel D. Daugherty
904063c9c9 6528548: 4/4 NativeMethodPrefixAgent.java times out intermittently in nightly
Increase timeouts for tasks that take > 10 seconds on a 4-way Ultra-80 with all local resources.

Reviewed-by: sspitsyn
2008-03-24 16:04:07 -07:00
Daniel D. Daugherty
7d1d2b63c1 6491461: 3/3 TEST: java/lang/instrument .sh tests need to use $TESTVMOPTS in their java commands
Add ${TESTVMOPTS} to java test execution command(s).

Reviewed-by: sspitsyn
2008-03-24 15:42:37 -07:00
Daniel D. Daugherty
a3114e931c 6487488: 3/5 TEST_BUG: Something in test/java/lang/instrument creates a copy of an SCCS dir
Only copy Java source files from ilib and bootreporter.

Reviewed-by: sspitsyn
2008-03-24 15:26:24 -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
Daniel D. Daugherty
dba3a02ea0 6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
Attribute values should be extracted without leading or trailing whitespace.

Reviewed-by: ohair, sspitsyn
2008-03-24 15:14:31 -07:00
Daniel D. Daugherty
fa12ec89ef 5088398: 3/2 java.lang.instrument TCK test deadlock (test11)
Add regression test for single-threaded bootstrap classloader.

Reviewed-by: sspitsyn
2008-03-24 15:05:09 -07:00
Daniel D. Daugherty
bab69115c7 4926961: 4/4 TransformerManagementThreadRemoveTests hangs
Changes motivated by Effective Java - Item 48 & Item 51.

Reviewed-by: sspitsyn
2008-03-24 14:39:30 -07:00
Daniel D. Daugherty
41dd8d9f6f 6239043: 4/4 TransformerManagementThreadAddTests.java failed
Clear fCheckedTransformers in order to properly record transformer() call data.

Reviewed-by: sspitsyn
2008-03-24 14:31:47 -07:00
Yuri Nesterenko
3965384d4c Merge 2008-03-24 06:33:16 -07:00
Anton Tarasov
1f1d82e2aa 6637607: 1st char. is discarded after a modal dialogue shows up and disappears
Reset consuming next KEY_TYPED on every subsequent KEY_PRESS.

Reviewed-by: son
2008-03-24 15:51:26 +03: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
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
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
c195eb4ef5 6581927: REG : Non focusable frame can be minimized to very small & Frame icon can be seen on frame buttons
The SWP_NOSENDCHANGING flag should not be passed to the ::SetWindowPos() WinAPI function when we receive the WM_MOUSEMOVE message while manually handling the resizing of non-focusable frames.

Reviewed-by: son, ant
2008-03-18 15:07:42 +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
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
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
Dmitry Cherepanov
9e5bc6d8bf 6578583: Regression: Modality is broken in windows vista home premium from jdk1.7 b02 onwards
WS_DISABLED style should be used to fix some modality bugs

Reviewed-by: art, son
2008-03-14 22:00:33 +03: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
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
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
Alan Bateman
40922e9127 6644607: (ch) test/java/nio/channels/SocketChannel/Connect.java throws UnknownHostException
Reviewed-by: chegar
2008-03-11 14:49:53 +00:00
Alan Bateman
d5b852b81d 6448457: (ch) Channels.newOutputStream().write() does not write all data
Reviewed-by: iris, sherman
2008-03-11 14:42:35 +00:00
Martin Buchholz
af3cf15e6e 6633113: test/java/util/concurrent/SynchronousQueue/Fairness.java fails intermittently
Reviewed-by: dholmes
2008-03-10 23:23:48 -07:00
Doug Lea
e4f30f8084 6625723: Excessive ThreadLocal storage used by ReentrantReadWriteLock
Reviewed-by: dholmes
2008-03-10 23:23:47 -07:00
Doug Lea
f280870c0f 6609775: Reduce context switches in DelayQueue due to signalAll
Reviewed-by: alanb
2008-03-10 23:23:47 -07:00
Doug Lea
0170151171 6602600: Fast removal of cancelled scheduled thread pool tasks
Reviewed-by: alanb
2008-03-10 23:23:47 -07:00
Martin Buchholz
2ebe861fe5 6612102: (coll) IdentityHashMap.iterator().remove() might decrement size twice
Reviewed-by: dholmes
2008-03-10 23:23:47 -07:00
Martin Buchholz
f8092959d4 6595669: regtest LinkedBlockingQueue/OfferRemoveLoops.java fails
Reviewed-by: dholmes
2008-03-10 23:23:47 -07:00
Luis Miguel Alventosa
cc358443d5 Merge 2008-03-10 23:31:50 +01:00
Luis Miguel Alventosa
f810300851 4981215: Publishing a port number for management console to access
Reviewed-by: emcmanus, dfuchs
2008-03-10 23:13:31 +01:00
Martin Buchholz
abde1241e1 4960438: (process) Need IO redirection API for subprocesses
Reviewed-by: alanb, iris
2008-03-10 14:32:51 -07:00
Martin Buchholz
504a24907d 6631352: File{OutputStream,Writer} should implement atomic append mode using FILE_APPEND_DATA (win)
Reviewed-by: alanb, iris
2008-03-10 14:32:51 -07:00
Weijun Wang
e75aa5c3ab 6643094: Test on keytool -startdate forgets about December
Reviewed-by: xuelei
2008-03-08 22:51:14 +08:00
Phil Race
a15c780502 6640532: Graphics.getFontMetrics() throws NullPointerException
NIO usage needs to be robust against Thread.interrupt()

Reviewed-by: tdv
2008-03-07 12:13:17 -08:00
Chris Hegarty
077f55f470 6631048: Problem when writing on output stream of HttpURLConnection
Fix up logic in ChunkedOutputStream.write

Reviewed-by: jccollet
2008-03-07 17:17:49 +00:00
Chris Hegarty
349fef2b70 6628576: InterfaceAddress.equals() NPE when broadcast field == null
Update logic in equals to correctly handle nulls.

Reviewed-by: michaelm
2008-03-07 13:00:44 +00:00
Bradford Wetmore
623bcb71a5 6578538: com.sun.crypto.provider.SunJCE instance leak using KRB5 and LoginContext
Reviewed-by: valeriep
2008-03-06 16:06:45 -08:00
Bradford Wetmore
9a2759ee8d 6623830: SCCS cleanup has broken two regression tests
Reviewed-by: chegar
2008-03-06 10:35:28 -08:00
Jean-Christophe Collet
45c655a782 6660405: HttpURLConnection returns the wrong InputStream
Set inputStream back to null in disconnectInternal().

Reviewed-by: chegar
2008-03-05 17:16:14 +01:00
Weijun Wang
0c6743a970 6590930: reed/write does not match for ccache
Add null-awareness to ccache read

Reviewed-by: valeriep
2008-03-05 22:15:45 +08:00
Weijun Wang
578a880fee 6648972: KDCReq.init always read padata
PA-DATA is optional, only read it when it exists

Reviewed-by: valeriep
2008-03-05 21:55:33 +08:00
Jean-Christophe Collet
ffacce2397 6641309: Wrong Cookie separator used in HttpURLConnection
Added a space to cookie separator. Generified the code and added tags.

Reviewed-by: chegar
2008-03-05 11:40:22 +01:00
Eamonn McManus
5cd758db4c 6670375: Missing unit test for 6607114 (Make JMXServiceURL reconstructible)
Current setup doesn't allow two pushes with same CR number

Reviewed-by: dfuchs
2008-03-03 15:44:50 +01:00
Eamonn McManus
104cc86359 6602310: Extensions to Query API for JMX 2.0
6604768: IN queries require their arguments to be constants

New JMX query language and support for dotted attributes in queries.

Reviewed-by: dfuchs
2008-03-03 10:32:38 +01:00
J. Duke
319a3b9947 Initial load 2007-12-01 00:00:00 +00:00