Richard Henderson writes:
> On Wed, Jan 26, 2005 at 09:54:58AM +0000, Andrew Haley wrote:
> > I know. However, at present this breaks CNI. The Right Way to solve
> > this is to fix CNI so that calls to Java methods use the Java
> > runtime's name resolution scheme. However, we have a pressing
> > deadline for the 4.0 release.
>
> How much work do you think it is?
Hard to say because we don't have a complete design yet.
To call Java from CNI requires some static initialization code to be
generated to call Java's resolver for static method addresses,
classes, and so on.
To call CNI from Java requires some static initialization code to be
generated to register C++ methods with the java runtime.