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

Regards,
Tomas

On Tue, Jun 21, 2016 at 5:19 AM, Tom Schindl <tom.schi...@bestsolution.at>
wrote:

> 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
> BestSolution.at EDV Systemhaus GmbH
> Eduard-Bodem-Gasse 5-7, A-6020 Innsbruck
> http://www.bestsolution.at/
> Reg. Nr. FN 222302s am Firmenbuchgericht Innsbruck
>

Reply via email to