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

Indexed access to java package not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 9
    • core-libs
    • None

    Backports

      Description

        The following should work to access java package "java.net":

        jjs> java['net']

        But it works only after the package has been created, e.g. after calling

        jjs> java.net

        One possible solution is to make ScriptObject#invokeNoSuchProperty(String) non-private and override it in NativeJavaImporter and possibly NativeJavaPackage.

        Attachments

          Issue Links

            Activity

              People

                sundar Sundararajan Athijegannathan
                hannesw Hannes Wallnoefer
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: