Hi!
I am using jace.1.1RC1_03 and the autoproxy generator.
I had some compilation errors, after a small research
stumbled on the following:
In the generated cpp source does not exist a forward
declaration of a referenced class if the referenced class
is used only as an array.
Example:
ABase.java:
public class ABase {
...
public A[] listA(){
...
return anArrayOfA;
}
...
}
---------------------
A.java:
public class A extends ABase {
...
}
In class ABase the only reference on class A is A[].
By, Norbi.
Logged In: YES
user_id=149785
I believe the problem here is that arrays get generated as
template classes, and unfortunately you can't instantiate
templates on forwardly declared classes.
These situations are usually rare (one that I can think of in
the entire JDK) and currently have to be handled manually.
God bless,
-Toby Reyelts