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

JavaScript engine should support shortcuts for often used Java packages

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 6
    • Fix Version/s: 6
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b85
    • CPU:
      generic
    • OS:
      generic

      Description

      Most Java platform package names start with the following prefixes:

      "javax", "org" (as in org.omg, org.w3c etc.), "com" (as in com.sun), "net" etc. JavaScript engine supports "java" shortcut for packages starting with "java" prefix. For other packages, user has to use

      "Packages.<package-name>"

      syntax. "java" is shortcut for "Packages.java". It would be great if similar shortcuts are available for other most often used package name prefixes as well.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: