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

3 nashorn ant tests fail with latest jdk9-dev tip

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 9
    • core-libs
    • b138
    • generic
    • generic

      3 ant tests fails with latest jdk9-dev tip

      Stack traces of failed tests show:

      "java.lang.RuntimeException: java.lang.IllegalAccessException:
       class jdk.nashorn.internal.scripts.InjectedInvoker/16149237
      (in module jdk.scripting.nashorn.scripts) cannot access class
       jdk.nashorn.internal.codegen.Compiler$CompilationPhases
      (in module jdk.scripting.nashorn) because module
      jdk.scripting.nashorn does not export
      jdk.nashorn.internal.codegen
      to module jdk.scripting.nashorn.scripts


      Caused by: java.lang.AssertionError: Exception in thread "main" java.lang.RuntimeException: java.lang.IllegalAccessException:
      class jdk.nashorn.internal.scripts.InjectedInvoker/1998949977
       (in module jdk.scripting.nashorn.scripts) cannot access class
      jdk.nashorn.internal.runtime.events.RecompilationEvent
      (in module jdk.scripting.nashorn) because module
      jdk.scripting.nashorn does not export
      jdk.nashorn.internal.runtime.events to module
      jdk.scripting.nashorn.scripts

      "java.lang.RuntimeException: java.lang.IllegalAccessException:
      class jdk.nashorn.internal.scripts.InjectedInvoker/16149237
      (in module jdk.scripting.nashorn.scripts) cannot access
      class jdk.nashorn.internal.codegen.Compiler$CompilationPhases
      (in module jdk.scripting.nashorn) because module
      jdk.scripting.nashorn does not export
      jdk.nashorn.internal.codegen to module
      jdk.scripting.nashorn.scripts

      Attached TestNG report for details..

            sundar Sundararajan Athijegannathan
            sundar Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: