Bug#432541: eclipse-cdt FTBFS with gcj-4.2

Andrew Haley aph at redhat.com
Sun Mar 2 13:26:58 UTC 2008


Andrew Haley wrote:
> 
> There are areas where compliant jvms might behave differently.  For
> example, the exact time when dependent classes are loaded isn't defined.
> Maybe at class initialization time, maybe later.  All the the spec
> requires is that ClassNotFoundExceptions aren't raised until classes
> are referred to.  So, it is possible that Eclipse requires some precise
> semantics of class loading beyond what is strictly required by the
> spec.  Maybe compiled code loads classes earlier than interpreted
> code, and maybe *the effective classpath has changed* by the time gij
> tries to load  org.eclipse.core.runtime.Plugin.

And, in turn, this means that potentially the same VM may behave differently
in interpreted and compiled mode...

Andrew.





More information about the pkg-java-maintainers mailing list