Commit Graph

80936 Commits

Author SHA1 Message Date
Vladimir Kozlov
2ea233816f 6680665: bytecode Escape Analyzer produces incorrect escape information for methods without oop arguments
BcEscapeAnalyzer does not analyze methods with no oop arguments.

Reviewed-by: rasbold
2008-03-28 11:52:29 -07:00
Tom Rodriguez
0530e0d854 6680594: Load + Load isn't canonicalized leading to missed GVN opportunities
Reviewed-by: kvn, jrose
2008-03-28 09:00:39 -07:00
Yuri Nesterenko
b6a8a6ebd2 Merge 2008-03-28 03:06:00 -07:00
Antonios Printezis
6bfbc36dcd Merge 2008-03-27 17:22:06 -07:00
Daniel D. Daugherty
be69c9cfa3 Merge 2008-03-27 14:15:59 -07:00
Xiomara Jayasena
4afc4c31b2 Merge 2008-03-27 12:28:53 -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
Vladimir Kozlov
fb63e29743 6679854: assert in escape.cpp:397
The assert misses the case CastX2P 'base' for an unsafe field reference

Reviewed-by: never, jrose
2008-03-27 09:12:54 -07:00
Andrei Dmitriev
44f8b333b5 Merge 2008-03-27 12:31:18 +03:00
Anton Tarasov
16c3e83a2b Merge 2008-03-27 11:35:00 +03:00
Anthony Petrov
fa0a3d0495 6603312: Segmentation fault running java -jar SwingSet2.jar in 256 color mode
Force hiding the splashscreen if the code cannot allocate a reasonable number of color cells on PseudoColor displays

Reviewed-by: son, art
2008-03-27 11:08:37 +03: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
Tom Rodriguez
50bc5573a8 6679708: No_Safepoint_Verifier and BacktraceBuilder have uninitialized fields
Fix or remove uninitialized fields

Reviewed-by: kvn, rasbold
2008-03-26 12:25:06 -07:00
Anton Tarasov
911da0a796 6616792: five AWT focus regression tests should be fixed
Fixed/refactored the tests.

Reviewed-by: volk
2008-03-26 17:38:26 +03:00
Anton Tarasov
75f6b17d66 6609607: test/closed/java/awt/Focus/AppletInitialFocusTest should be rewritten
Using test.java.awt.regtesthelpers.Util. Refactoring.

Reviewed-by: volk
2008-03-26 16:56:40 +03:00
Anton Tarasov
3a0d8165ce 6680135: A number of test/closed/java/awt/Focus/* tests should be opened
The tests moved from the closed repository.

Reviewed-by: son
2008-03-26 16:20:01 +03:00
Kelly O'Hair
938ac15f82 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:42:28 -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
Kelly O'Hair
fb56a9a49f 6623832: Cleanup old j2se makefile targets
Just removing unneeded makefile rules and 'control' logic.

Reviewed-by: xdono
2008-03-25 14:38:56 -07:00
Anton Tarasov
724ce6a00e Merge 2008-03-25 18:14:15 +03:00
Anton Tarasov
5b39f2291c 6613426: two WM_TAKE_FOCUS messages on one mouse click in GNOME Metacity 2.16.0
A workaround to the metacity issue 485016.

Reviewed-by: son
2008-03-25 18:08:57 +03:00
Andrei Dmitriev
f555fe0a57 6255653: REGRESSION: Override isLightweight() causes access violation in awt.dll
Verufy that the component to restack is a HW component by checking for instanceof WComponentPeer

Reviewed-by: son, anthony
2008-03-25 16:23:09 +03:00
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
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
Andrei Dmitriev
87e915d1af 6638872: invalid links
Removed invalid links

Reviewed-by: dcherepanov
2008-03-24 18:24:15 +03: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
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
Chuck Rasbold
446895de2d Merge 2008-03-21 08:32:17 -07: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
Vladimir Kozlov
c58e0f9c95 6678377: Update build number for HS12
B01 -> b02

Reviewed-by: kvn
2008-03-21 00:49:06 -07: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
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