Reflection: how does one access a protected member in a superclass reflectively?
Alan Bateman
Alan.Bateman at oracle.com
Fri Jan 19 14:38:16 UTC 2018
On 18/01/2018 15:07, Rony G. Flatscher wrote:
> An attachment in the email has been found to contain executable code
> and has been removed.
>
> File removed : java9modules.zip, zip,cmd
> ------------------------------------------------------------------------
>
> Dear Alan:
>
> tried to come up with a "cleaner" version to zip it up, however the
> error would not occur there.
The attachment was dropped too.
When you say "the error would not occur there" then do you mean it won't
compile? I wouldn't expect the test to compile with a reference to the
protected member so maybe the issue was that the code was compiled in a
different way and so only found when you ran.
-Alan
More information about the jigsaw-dev
mailing list