-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0, 1.4.2, 5.0
-
b26
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2165468 | 1.4-pool | Unassigned | P4 | Closed | Won't Fix |
Name: elR10090 Date: 01/28/2002
The Hotspot VM (build 1.4.0-rc-b91) fails the following test
from testbase_nsk:
nsk/jvmdi/GetClassModifiers/getclmdf007
The test exercises JVMDI function GetClassModifiers(clazz, modifiersPtr).
The test checks if the function returns the following bits when clazz
is an array of non-primitive classes:
- final is set,
- interface is clear,
- public, private and protected are the same as those of its
component type.
The test reveals that returned public, private and protected flags are not
the same as those of array's component type.
To reproduce the bug run script in GammaBase/Bugs/<this bug number> directory:
sh doit.sh <JAVA_HOME>
Running the test outputs:
java version "1.4.0-rc"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-rc-b91)
Java HotSpot(TM) Client VM (build 1.4.0-rc-b91, mixed mode)
(2) access bits of array do not match component ones
array: (0x0)
component: PRIVATE (0x2)
(3) access bits of array do not match component ones
array: PUBLIC (0x1)
component: PROTECTED (0x4)
(6) access bits of array do not match component ones
array: (0x0)
component: PRIVATE (0x2)
(7) access bits of array do not match component ones
array: PUBLIC (0x1)
component: PROTECTED (0x4)
Exit Code: 97
======================================================================
Name: elR10090 Date: 01/30/2002
The test will be available in the next release v14r12.
Pavel Vysotski <###@###.###>
======================================================================
Name: ipR10196 Date: 08/26/2003
Similar bug is revealed for the corresponding JVMTI function
GetClassModifiers(). The tests affected are:
nsk/jvmti/GetClassModifiers/getclmdf007
Ivan Popov <###@###.###>
======================================================================
- backported by
-
JDK-2165468 getclmdf007: GetClassModifiers fails with object arrays
-
- Closed
-