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

JCK-122, vm tests are failing in the trusted mode only on Solaris.

XMLWordPrintable

    • generic
    • generic

      While running the JCK122 tests with trusted mode ,following vm tests are failing only on Solaris platform.

      Configuration :

      JCK122, with the latest cricket rc build on Solaris7.

      Results are at:
      http://sqesvr.eng.sun.com/plugin2/jck/results/cricket/rc/SOL7-NS4.5-122/report_vmF/report.html

      and

      http://sqesvr.eng.sun.com/plugin2/jck/results/cricket/rc/SOL7-NS4.5-122/report_api3F/failed.html

      I am , attaching the jte file which we are using to run the JCK tests.


      vm/constantpool/userDefined/userDefined002/userDefined00204/userDefined00204.html: Loading classes generated on the fly
            vm/overview/SpecInitMethods/SpecInitMethods003/SpecInitMethods00301/SpecInitMethods00301.html: SpecInitMethods00301 -
            instance initialization method for private constructor of the other package.
            vm/instr/anewarray/anewarray008/anewarray00802m1/anewarray00802m1.html: anewarray00802m1 - IllegalAccessError
            vm/concepts/classes/classes010/classes01001/classes01001.html: classes01001 - members of a superclass that are declared
            private are not inherited by subclasses of that class.
            vm/concepts/classes/classes011/classes01101/classes01101.html: classes01101 - members of a non-private, non-protected, or
            non-public class are not inherited by other package subclasses.
            vm/instr/getfield/getfield006/getfield00605m1/getfield00605m1.html: getfield00605m1 - get protected field from unrelated class from
            another package
            vm/instr/getfield/getfield013/getfield01302m1/getfield01302m1.html: getfield01302m1 - get private field from unrelated class
            vm/instr/getstatic/getstatic010/getstatic01001m1/getstatic01001m1.html: getstatic01001m1 - get private field from unrelated class
            vm/instr/getstatic/getstatic011/getstatic01101m1/getstatic01101m1.html: getstatic01101m1 - get protected field from unrelated
            class
            vm/concepts/interfaces/interfaces009/interfaces00901/interfaces00901.html: interfaces00901 - interfaces in other packages are
            accessible if the interface is declared public.
            vm/instr/invokespecial/invokespecial008/invokespecial00801m1/invokespecial00801m1.html: invokespecial00801m1 - An attempt
            to invoke protected method in another class (not subclass) of the other package is made.
            vm/instr/invokespecial/invokespecial017/invokespecial01701m1/invokespecial01701m1.html: invokespecial01701m1 - During
            CONSTANT_Methodref resolution exceptions can be thrown.
            vm/instr/invokespecial/invokespecial017/invokespecial01702m1/invokespecial01702m1.html: invokespecial01702m1 - An attempt
            to invoke private method in another class is made.
            vm/instr/invokestatic/invokestatic007/invokestatic00702m1/invokestatic00702m1.html: invokestatic00702m1 - Attempt to invoke
            protected static method in another class (not subclass) of the other package.
            vm/instr/invokestatic/invokestatic008/invokestatic00802m1/invokestatic00802m1.html: invokestatic00802m1 - Attempt to invoke
            private static method in another class.
            vm/instr/invokevirtual/invokevirtual007/invokevirtual00702m1/invokevirtual00702m1.html: invokevirtual00702m1 - An attempt to
            invoke protected method in another class (not subclass) is made.
            vm/instr/invokevirtual/invokevirtual007/invokevirtual00706m1/invokevirtual00706m1.html: invokevirtual00706m1 - An attempt to
            invoke protected method in subclass of other package if method is absent in this and superclass.
            vm/instr/invokevirtual/invokevirtual018/invokevirtual01802m1/invokevirtual01802m1.html: invokevirtual01802m1 - An attempt to
            invoke private method in another class (not subclass) is made.
            vm/jni/Miscellaneous/misc001/misc00101/misc00101.html: misc00101 - Loading JNI library into two class loaders is prohibited,
            case 1
            vm/jni/Miscellaneous/misc002/misc00201/misc00201.html: misc00201 - FindClass() locates the class loader of the native method
            vm/instr/multianewarray/multianewarray010/multianewarray01001m1/multianewarray01001m1.html: multianewarray01001m1 -
            IllegalAccessError
            vm/instr/putfield/putfield019/putfield01901m1/putfield01901m1.html: putfield01901m1 - put private field in unrelated class
            vm/instr/putfield/putfield019/putfield01902m1/putfield01902m1.html: putfield01902m1 - put private field in unrelated class
            vm/instr/putstatic/putstatic015/putstatic01501m1/putstatic01501m1.html: putstatic01501m1 - Attempt to write to a private static
            field in another class.
            vm/constantpool/resolveClass/resolveClass007/resolveClass00703/resolveClass00703.html: resolveClass00703 - access
            permissions to a class are checked.
            vm/constantpool/resolveField/resolveField003/resolveField00301/resolveField00301.html: resolveField00301 - the
            IllegalAccessError.
            vm/constantpool/resolveMethod/resolveMethod006/resolveMethod00601/resolveMethod00601.html: resolveMethod00601 - the
            IllegalAccessError.
            vm/constantpool/userDefined/userDefined002/userDefined00205/userDefined00205.html: user defined class loader loads class with
            long name

      Exception thrown from `run' method: java.lang.NoClassDefFoundError:
      javasoft/sqe/tests/vm/constantpool/userDefined/userDefined00201/userDefined00201b

            vm/constantpool/userDefined/userDefined002/userDefined00201/userDefined00201.html: JVM invokes loadClass(N ) on L

      Exception thrown from `run' method: java.lang.UnsatisfiedLinkError: n

            vm/jni/NewLocalRef/nlrf001/nlrf00101/nlrf00101.html: nlrf00101 - Checks of JNI call NewLocalRef().

      And also two api tests are failing in the trusted mode, but these are also failing on the win32 platform.

      The two api tests are :

      api/java_lang/Class/index.html#ForName: Class forName Tests

      tests: 55; passed: 53; failed: 2; first test case failure: Class2133

            api/java_lang/Class/index.html#Reflect: Class reflect methods Tests

      Note : These tests will pass, if we run in the untrusted mode, excpet one vm test i.e., vm/jni/NewLocalRef/nlrf001/nlrf00101/nlrf00101.html: nlrf00101 - Checks of JNI call NewLocalRef().

            Unassigned Unassigned
            vmandasunw Vijayram Manda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: