gcj trunk - build of junit 4.3.1 native lib fails

Andrew Haley aph-gcc@littlepinkcloud.COM
Sun Jun 24 14:06:00 GMT 2007


Hanno Meyer-Thurow writes:
 > On Sun, 24 Jun 2007 13:14:08 +0100
 > Andrew Haley <aph-gcc@littlepinkcloud.COM> wrote:
 > 
 > > That's an excellent question.  Also, Hanno, if your binutils is up to
 > > date, please let us have access to the .jar file in question.
 > 
 > Here is the jar file:
 > http://geki.ath.cx/hacks/junit.jar

 $ jcf-dump -classpath junit.jar junit/extensions/package-info      
Access flags: 0x600 abstract interface
This class: junit.extensions.package-info, super: java.lang.Object

This is a very odd classname!  Apparently the name package-info was
chosen because it's impossible to create such a class from Java
source, so it cannot conflict with any real classname.  However, a
hyphen cannot appear in an assembly language symbol.  We need to fix
gcj's mangling to cope with this.

Andrew.



More information about the Java mailing list