netscape.javascript.JSObject Consideration for Public API

Kevin Rushforth kevin.rushforth at oracle.com
Sat Nov 4 13:33:08 UTC 2017


netscape.javascript.JSObect is public API in JDK 9. It's in the 
jdk.jsobject module. See:

https://docs.oracle.com/javase/9/docs/api/netscape/javascript/JSObject.html

-- Kevin



Michael Ennen wrote:
> Hello,
>
> I am in the process of exploring migration to Java FX 9 for my project. I
> know that it is okay to use private APIs in the short term using
> command-line flags but I think going forward that
> netscape.javascript.JSObject would make for a good inclusion in the public
> API. This is a very useful class when attempting to interface with a
> rendered webpage in a WebView control.
>
> I am going by jdeps output where it says that this class is part of the
> private API. I would like to propose the inclusion of
> netscape.javascript.JSObject in the public API for Java 10 if possible.
>
> " -> netscape.javascript.JSObject                       JDK internal API
> (jfxrt.jar)"
>
> Thanks, and sorry if this issue is known or has been raised previously.
>
>   


More information about the openjfx-dev mailing list