Indexed access to java package not working

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: core-libs
    • None

        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.

              Assignee:
              Sundararajan Athijegannathan
              Reporter:
              Hannes Wallnoefer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: