This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: -shared option
Tom Tromey writes:
> >>>>> "Andrew" == Andrew Haley <aph at redhat dot com> writes:
>
> Andrew> I don't see why we need to do anything that does not
> Andrew> correspond to Java semantics. In other words, symbols
> Andrew> described as public should be exported, and
> Andrew> private/protected/package private ones should not.
>
> I think protected symbols would have to be exported, wouldn't they?
> One DLL might have a class whose superclass is in a different DLL.
> Package private ones are debatable.
Okay. The semantics don't exactly correspond, so it's hard to be
sure. I suppose we ought to err on the side of generosity.
Andrew.