Commit Graph

80910 Commits

Author SHA1 Message Date
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
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
Vladimir Kozlov
cdd27962da 6674600: (Escape Analysis) Optimize memory graph for instance's fields
EA gives opportunite to do more aggressive memory optimizations.

Reviewed-by: never, jrose
2008-03-20 15:11:44 -07:00
Vladimir Kozlov
1ba2523386 6259129: (Escape Analysis) scalar replacement for not escaping objects
Use scalar replacement with EA to remove allocations for objects which do not escape the compiled method.

Reviewed-by: rasbold, never, jrose
2008-03-20 13:51:55 -07:00
Tom Rodriguez
a2b4f55757 6663621: JVM crashes while trying to execute api/java_security/Signature/SignatureTests.html#initSign tests
Alignment expression with secondary induction variables is sometimes wrong

Reviewed-by: kvn, rasbold
2008-03-20 10:43:42 -07:00
Kumar Srinivasan
8cb91c890d 6618930: (javac) fix test after whitespace normalization
Whitespace normalization left the test unusable, back to service

Reviewed-by: jjg
2008-03-20 08:44:18 -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
Keith McGuigan
c2c3f0fe72 Merge 2008-03-20 09:17:30 -05: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
Weijun Wang
2aadb6cde1 6670362: HTTP/SPNEGO should work across realms
Reviewed-by: valeriep
2008-03-20 11:57:06 +08:00
Vladimir Kozlov
b71360f557 6662967: Optimize I2D conversion on new x86
Use CVTDQ2PS and CVTDQ2PD for integer values conversions to float and double values on new AMD cpu.

Reviewed-by: sgoldman, never
2008-03-19 15:33:25 -07:00
Tom Rodriguez
d200260fe5 6661247: Internal bug in 32-bit HotSpot optimizer while bit manipulations
Copy elimination of a constant value results in incorrect execution

Reviewed-by: kvn, sgoldman, rasbold
2008-03-19 15:14:36 -07:00
Kelly O'Hair
cd2e0b7e91 6611629: Avoid hardcoded cygwin paths for memory detection
Use free with sygwin, mem or systeminfo otherwise, to get MB_OF_MEMORY on windows.

Reviewed-by: tbell
2008-03-19 13:26:29 -07: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
Steve Bohne
bf559c6dce 6667833: Remove CacheTimeMillis
Remove -XX:+CacheTimeMillis option and associated functionality

Reviewed-by: acorn, never
2008-03-19 09:58:01 -04: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
Tom Rodriguez
49434b6bad 6659207: access violation in CompilerThread0
Split_thru_phi produces top on a non-dead path

Reviewed-by: kvn, rasbold, sgoldman
2008-03-18 23:54:17 -07:00
Tom Rodriguez
8e1624d88c 6676841: ClearArrayNode::Identity is incorrect for 64-bit
ClearArrayNode::Identity should use TypeX instead of TypeInt

Reviewed-by: jrose, kvn, sgoldman
2008-03-18 23:44:46 -07: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
Tom Rodriguez
641bce6847 6666343: Compile::has_loops not always set correctly
Compile::has_loops() should be set from inlined methods

Reviewed-by: kvn, rasbold
2008-03-18 11:17:37 -07:00
Kelly O'Hair
e35b18e39b 6654458: /java/devtools findbugs doesn't work on windows
Changes to both ant and findbugs version checking.

Reviewed-by: tbell
2008-03-18 11:08:09 -07:00
Kelly O'Hair
42919ee3bb 6674232: OPENJDK=false is same as OPENJDK=true
OPENJDK should be empty (undefined) or "true".

Reviewed-by: tbell
2008-03-18 11:06:34 -07:00