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

JDI/JVMDI spec: accipp001 test fails with merlin; componentType throws ClassNot

XMLWordPrintable

    • generic
    • generic

      Test : nsk/jdi/Accessible/isPackagePrivate/accipp001
      TestBase : testbase_nsk
      Mode : default

      Steps to reproduce :
      1. cd /net/sqesvr.eng/export/vsn/GammaBase/Bugs/{BugID}
      2. sh doit {JAVA}

      OR

      1. cd /net/sqesvr.eng/export/vsn/GammaBase/Bugs/{BugID}
      2. export arch=${ARCH}
      3. ${JAVA} -showversion nsk.jdi.Accessible.isPackagePrivate.accipp001 -arch=$arch -waittime=2 -debugee.vmkind=java -debugee.vmkeys=-client

      Output :
      java version "1.4.0-beta3"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b80)
      Java HotSpot(TM) Client VM (build 1.4.0-beta3-b80, mixed mode)

      com.sun.jdi.ClassNotLoadedException
              at com.sun.tools.jdi.ArrayTypeImpl.findComponentType(ArrayTypeImpl.java:83)
              at com.sun.tools.jdi.ArrayTypeImpl.componentType(ArrayTypeImpl.java:91)
              at com.sun.tools.jdi.ArrayTypeImpl.getModifiers(ArrayTypeImpl.java:156)
              at com.sun.tools.jdi.ReferenceTypeImpl.isPublic(ReferenceTypeImpl.java:154)
              at com.sun.tools.jdi.ReferenceTypeImpl.isPackagePrivate(ReferenceTypeImpl.java:174)
              at nsk.jdi.Accessible.isPackagePrivate.accipp001.runThis(accipp001.java:134)
              at nsk.jdi.Accessible.isPackagePrivate.accipp001.run(accipp001.java:78)
              at nsk.jdi.Accessible.isPackagePrivate.accipp001.main(accipp001.java:69)
      com.sun.jdi.ClassNotLoadedException
              at com.sun.tools.jdi.ArrayTypeImpl.findComponentType(ArrayTypeImpl.java:83)

      ...

      # ERROR: Class is not treated package private: nsk.jdi.Accessible.isPackagePrivate.accipp001e[][][][]
      # ERROR: Class is not treated package private: nsk.jdi.Accessible.isPackagePrivate.accipp001a$U[]
      # ERROR: Class is not treated package private: nsk.jdi.Accessible.isPackagePrivate.accipp001a$U[][]
      # ERROR: Class is not treated package private: nsk.jdi.Accessible.isPackagePrivate.accipp001a$U[][][]
      # ERROR: Class is not treated package private: nsk.jdi.Accessible.isPackagePrivate.accipp001a$U[][][][]
      # ERROR: Errors revealed: 8
      #>
      #> WARNING: switching log stream to stderr,
      #> because no output stream is assigned
      #>
      # ERROR: debugee> Debugee VM was not terminated yet: trying to kill it
      STATUS=97
      [Deleted wrong list of tests]

            Unassigned Unassigned
            mpawarsunw Maneesh Pawar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: