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

javafx.scene.web.JSObject should be moved to a com.sun package

XMLWordPrintable

    • web

      The class javafx.scene.web.JSObject is used to access JavaScript object references from Java. It is a concrete class that extends the abstract LiveConnect class netscape.javascript.JSObject. The former has no public API except for what it inherits from the latter. (There are no public constructors, for example.) So at least at this point there is no need for a public documented concrete ("implementation") class. It should be moved to a "non-public package", probably com.sun.webpane. (We can always later move the class to a javafx.* package if we at some point find a need for a public API.)

      At the same time, the public static native implementation methods, such as getMemberImpl, should be made non-public.

            pbothner Per Bothner (Inactive)
            pbothner Per Bothner (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: