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

jck test lang/MOD/mod007/mod00701m2/mod00701m2.html fails

XMLWordPrintable

    • b36
    • 10
    • b38

      The jck test lang/MOD/mod007/mod00701m2/mod00701m2.html
      fails with error as below

      test result: Error. Unhandled java.lang.module.FindException exception for com.sun.jck.lib.ExecJCKTestSameJVMCmd command. Exception message: Error reading module: /scratch/mesos/slaves/5af44a71-976a-41b7-81de-5773b84ec572-S38393/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/2a3876f2-a679-414a-9754-b48cafd79379/runs/7122aee9-f4b4-444a-ace2-7125409fe0c5/testoutput/jck/JTwork/modules/mod00701m2/module.mod00701m2mod


      module-info.java
      =============
      module module.mod00701m2mod {
          exports lang.MOD.mod00701m2;
          requires transitive java.base;
      }



      public class mod00701m2 {

          public static void main(String argv[]) {
              System.exit(run(argv, System.out) + 95/*STATUS_TEMP*/);
          }

          public static int run(String argv[], PrintStream out) {
              for (ModuleDescriptor.Requires require : mod00701m2.class.getModule().getDescriptor().requires()) {
                  if ("java.base".equals(require.name())) {
                      return 0/*STATUS_PASSED*/;
                  }
              }
              return 2/*STATUS_FAILED*/;
          }
      }

        1. mod00701m2.jtr
          9 kB
          Govindan Srinivassan

            govsrini Govindan Srinivassan
            govsrini Govindan Srinivassan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: