This is the mail archive of the
mailing list for the Java project.
Re: static linking
Tom Tromey wrote:
> One more idea is that we could identify the classes needed for proper
> bootstrapping and ensure that those are always linked in, for instance
> by referencing them from prims.cc. Jeff, do you have this list? I
> don't have time this week to look at this, but if you had the list
> handy I could make a patch.
At least the following four classes should always be present, and are
not referenced explicitly:
There may be others but this is sufficient for simple programs at
least. The file and jar handlers are needed for VMClassLoader to
initialize. (We may be able to omit http, but it does no harm.)