Hi,
AutoProxy has a bug generating header for Writer. I
have attached the autogenerated Writer.h; notice that
::jace::proxy::java::io::Writer append(
::jace::proxy::types::JChar p0 );
and
::jace::proxy::java::lang::Appendable append(
::jace::proxy::types::JChar p0 );
differ only by their return type.
Invalid proxy generated by AutoProxy
Logged In: YES
user_id=80628
This issue is JDK 1.5 specific; if you using JDK 1.4.1 the
problem does not occur.
I would like to point out this issue is critical. Unless it
is fixed it is impossible to use JACE under JDK 1.5.
Logged In: YES
user_id=149785
Hi Gili,
Yes, this is a bug. It is the result of the way JDK1.5 handles
methods with covariant return types. You should be able to
fix this by add the following lines of code:
// Skip the method if it is a BRIDGE method
if ( ( flagSet.getValue() & 0x0040 ) != 0 ) {
return true;
}
to ProxyGenerator.shouldBeSkipped:1893. You can also just
temporarily comment out one of the methods.
This will be fixed in the next release of Jace.
God bless,
-Toby Reyelts
Logged In: YES
user_id=80628
Fixed in JACE 1.2