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

Compilation warning with NashornException

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b148
    • CPU:
      generic
    • OS:
      generic

      Description

      When ant is used to build nashorn, we get the following warning:

          [javac] /Users/SATHIJEG/src/jdk9-dev/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornException.java:247: warning: [exports] class ScriptObject in module jdk.scripting.nashorn may not be visible to all clients that require this module
          [javac] protected NashornException initEcmaError(final ScriptObject global) {
          [javac]

        Activity

        Hide
        sundar Sundararajan Athijegannathan added a comment -
        NashornException.initEcmaError can be package-private method. It need not be a protected method.
        Show
        sundar Sundararajan Athijegannathan added a comment - NashornException.initEcmaError can be package-private method. It need not be a protected method.
        Hide
        hgupdate HG Updates added a comment -
        URL: http://hg.openjdk.java.net/jdk9/dev/nashorn/rev/0c771d0ba7dc
        User: sundar
        Date: 2016-11-28 15:34:44 +0000
        Show
        hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/nashorn/rev/0c771d0ba7dc User: sundar Date: 2016-11-28 15:34:44 +0000
        Hide
        hgupdate HG Updates added a comment -
        URL: http://hg.openjdk.java.net/jdk9/jdk9/nashorn/rev/0c771d0ba7dc
        User: lana
        Date: 2016-12-07 19:33:36 +0000
        Show
        hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/nashorn/rev/0c771d0ba7dc User: lana Date: 2016-12-07 19:33:36 +0000

          People

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

            Dates

            • Created:
              Updated:
              Resolved: