Bootstrapping in Java9

Tomas Mikula tomas.mikula at
Tue Jun 21 15:25:09 UTC 2016

I think what Tom proposes makes sense even regardless of Java 9. Another
benefit is not requiring a no-arg constructor.


On Tue, Jun 21, 2016 at 5:19 AM, Tom Schindl <tom.schindl at>

> Hi,
> I was playing around with Java9 a bit yesterday things worked fine but
> what disturbs me a bit is that I need to export the package with my
> Application-Subclass because naturally Java9 can not create an instance
> of none-exported class with reflection.
> Although not being a big problem it disturbed me a bit and from my basic
> understanding I think it should be possible to introduce a 3rd variant
> of Application.launch() who looks like this:
> Application#launch(Application,String...)
> This way no reflection is needed by the jfx bootstrap code.
> Tom
> --
> Thomas Schindl, CTO
> EDV Systemhaus GmbH
> Eduard-Bodem-Gasse 5-7, A-6020 Innsbruck
> Reg. Nr. FN 222302s am Firmenbuchgericht Innsbruck

More information about the openjfx-dev mailing list