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
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
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
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
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
Anton Tarasov
f865626b54
6599270: Using EmbeddedFrame in SWT leads to a hang
...
Excluding EmbeddedFrame from the workaround of activating a toplevel in not foreground process.
Reviewed-by: son
2008-03-21 09:54:50 +03: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
Oleg Sukhodolsky
816ed65ca6
6630878: clean target in sun/xawt is incomplete
...
Clean target should remove .gen_icons
Reviewed-by: yan
2008-03-20 16:21:44 +03:00
Anton Tarasov
6898039064
Merge
2008-03-20 14:26:38 +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
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
Anton Tarasov
a24634be6b
6567410: PIT : java/awt/Focus/AutoRequestFocusTest/AutoRequestFocusSetVisibleTest.java fails
...
A filter flag has been added to the HCBT focus hook.
Reviewed-by: dcherepanov
2008-03-19 16:23:50 +03: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
723e255938
6589527: Window and Frame instances can hide their "Applet Warning"
...
Additional constraints have been added for the setBounds() operation.
Reviewed-by: son, art
2008-03-18 16:19:03 +03: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
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
f92bcde478
6613927: Compilation of splashscreen png library failed on Ubuntu 7.04 (64bit)
...
The macro PNG_NO_MMX_CODE should be defined when compiling on 64bit Linux
Reviewed-by: yan, avu
2008-03-18 13:53:08 +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
Tim Bell
3a9b62e3d3
Merge
2008-03-17 23:03:51 -07:00
Tim Bell
fa4fe9bea5
Merge
2008-03-17 22:56:59 -07: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
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
Dmitry Cherepanov
4033c90251
6603010: Out-of-process Java Plug-In non-functional or barely functional on X11 platforms
...
AWT XEmbed shouldn't use _SUN_XEMBED_START message
Reviewed-by: art, son
2008-03-14 18:50:02 +03:00