Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4643293

isfldsin003: IsFieldSynthetic does not indicate synthetic field

XMLWordPrintable

    • generic, sparc
    • generic, solaris_7

        It is

        Name: pvR10198 Date: 02/26/2002


        The Hotspot VM (build 1.4.1-beta-b02 and build 1.4.0-rc-b92) fails
        the following test from testbase_nsk:

            nsk/jvmdi/IsFieldSynthetic/isfldsin003

        The test exercises JVMDI function
            IsFieldSynthetic(clazz, field, isSyntheticPtr).

        The test checks if the function returns JNI_TRUE if the field is
        synthetic and JNI_FALSE otherwise.

        The test reveals that the function returns JNI_FALSE for the synthetic
        field this$0 of the inner class InnerClass.

        See also 4415260 for JDI version of this bug.

        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.1-beta"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b02)
        Java HotSpot(TM) Client VM (build 1.4.1-beta-b02, mixed mode)
        this$0:"Lisfldsin003;" - isSynthetic expected: true, actual: false
        Exit Code: 97

        The test will be available in the next release v14r12.
        ======================================================================

              Unassigned Unassigned
              vpnsunw Vpn Vpn (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: