error w/ package-less interfaces/classes
Brought to you by:
giacometti
In function jutil_name2sig() (jpe/c/jutil:361), the
test fails when a class/interfaces isn't in a package.
I think there is a bug in line 369:
for (ptr = name; *ptr && '.' != *ptr; ptr++);
If the name of the class/interface doesn't contain a
dot, the first test (the one that selects e_jobject as
the type) will fail because ptr will be NULL. So the
tests will raise the IllegalStateException of the last
else.
Logged In: YES
user_id=93657
Yes, you're right.
C'est tres bien. Congratulations!!
We need a fix for that.
Could you make a try in replacing
name <%s>",
name);
jutil_throw_name( env, "java/lang/IllegalStateException", msg);
return NULL;
}
with:
else jtype = e_jobject;
Thanks!!
FG