[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-openjfx-dev
Subject: Re: [9] RfR: 8169289: JavaFX application in named module fails to launch if no main method
From: Kevin Rushforth <kevin.rushforth () oracle ! com>
Date: 2016-11-17 18:52:01
Message-ID: 582DFC51.2000908 () oracle ! com
[Download RAW message or body]
Thanks for the explanation.
+1
-- Kevin
David DeHaven wrote:
> There's no way to specify a ClassLoader when loading from a Module, so there's not \
> much point in passing it. Also, the only case where appLoader will be non-null is \
> LM_JAR with JavaFX-Class-Path, so mainModule and appLoader are mutually exclusive.
> -DrD-
>
>
> > I think you missed one place:
> >
> > + lawa.invoke(null, new Object[] {null, mainClassName, \
> > preloaderClassName, appArgs});
> >
> > You will want to pass in mainModule as the first argument here, too.
> >
> > -- Kevin
> >
> >
> > David DeHaven wrote:
> >
> > > > > Looks good with two minor comments:
> > > > >
> > > > > 1) It looks like the new "mainModule" parameter to \
> > > > > launchApplicationWithArgs is only ever called with "null". Did you intend \
> > > > > it to be called with the application module in the case of LM_MODULE?
> > > > >
> > > > >
> > > > You're correct... I wonder how that happened. It seems I never finished that \
> > > > part, probably due to splitting the work over the weekend :/
> > > > That needs to be corrected. Shouldn't take long.
> > > >
> > > >
> > > >
> > > Updated webrev after this mornings dose of <facepalm>
> > >
> > >
> > > http://cr.openjdk.java.net/~ddehaven/8169289/openjfx-rt.1/
> > >
> > >
> > > -DrD-
> > >
> > >
> > >
> > >
>
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic