is ClassLoader.loadClass() supposed to work on module-info classes?
Alan.Bateman at oracle.com
Wed Dec 2 15:12:40 UTC 2015
On 02/12/2015 14:35, Stephane Epardaud wrote:
> On 02/12/15 14:56, Alan Bateman wrote:
>> The this_class should be <internal-name>/module-info but in any case,
> The funny thing is that this module-info.class was created by the Java
> 9+Jigsaw EA "stock" javac. How it got the ".Test" class mixed up in
> there is not clear to me. Perhaps as a result of me specifying it to
> "jar" with "--main-class"?
This jar option just adds the MainClass attribute, it doesn't change the
I think to check but it may be that CFE message has the expected binary
name specified to defineClass.
More information about the jigsaw-dev