Question on returning instances of a (not exported) derived class
Sander Mak
sander.mak at luminis.eu
Fri Aug 26 07:50:00 UTC 2016
Hi Martin,
> On 25 Aug 2016, at 14:03, Martin Lehmann <martin.lehmann at gmx.de> wrote:
>
> About case [2] you wrote
>
> * Are you sure you didn't have the toString() method overridden in
> InternalData at time of compilation?
>
> Yes, I am sure. I agree, this should compile. At least this compiler error
> message is confusing.
You're not the only one who finds the message confusing. I ran into a similar situation a while ago; you might be interested in reading this thread as well: http://mail.openjdk.java.net/pipermail/jigsaw-dev/2016-May/007955.html
Sander
More information about the jigsaw-dev
mailing list