This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: compilation failure and compilation error messages
>>>>> "Nic" == Nic Ferrier <nferrier at tapsellferrier dot co dot uk> writes:
Nic> Trouble is GCJ looks quite broken from the pov of calling super
Nic> constructors.
That doesn't immediately ring a bell for me. AFAIK we do ok here.
Nic> It would be really helpfull if someone could explain what the
Nic> mnemonics are for the types, eg: VIJZ
Nic> If someone were to tell me (or point me to where it's defined in
Nic> the source) I'll write a page in the manual on it.
I think these are documented in the Java VM Specification; they come
from the .class representation.
>From libjava/prims.cc:
/* Initialize built-in classes to represent primitive TYPEs. */
_Jv_InitPrimClass (&_Jv_byteClass, "byte", 'B', 1, &_Jv_byteVTable);
_Jv_InitPrimClass (&_Jv_shortClass, "short", 'S', 2, &_Jv_shortVTable);
_Jv_InitPrimClass (&_Jv_intClass, "int", 'I', 4, &_Jv_intVTable);
_Jv_InitPrimClass (&_Jv_longClass, "long", 'J', 8, &_Jv_longVTable);
_Jv_InitPrimClass (&_Jv_booleanClass, "boolean", 'Z', 1, &_Jv_booleanVTable);
_Jv_InitPrimClass (&_Jv_charClass, "char", 'C', 2, &_Jv_charVTable);
_Jv_InitPrimClass (&_Jv_floatClass, "float", 'F', 4, &_Jv_floatVTable);
_Jv_InitPrimClass (&_Jv_doubleClass, "double", 'D', 8, &_Jv_doubleVTable);
_Jv_InitPrimClass (&_Jv_voidClass, "void", 'V', 0, &_Jv_voidVTable);
Tom