Message938
If you have a Java class signature that doesn't have a
constructor with no
arguments like:
DoSomeStuff(int foo)
DoSomeStuff(float foo)
and you DON'T have:
DoSomeStuff()
Then when you try to subclass DoSomeStuff, you get a
compile error because it
generates code to handle the non-existant
"DoSomeStuff()" case.
If StarInterpolator is a subclass of
RotationInterpolator, this causes errors
like :
Compiling .java to .class...
[snip]
1 ./jpywork/Star.java:243: cannot resolve symbol
symbol : constructor RotationInterpolator ()
location: class javax.media.j3d.RotationInterpolator
super();
^
super() doesn't exist because RotationInterpolator()
doesn't exist.
If you go into the generated code and delete the
following code
StarInterpolator() {
super();
__initProxy__(new Object[] {});
}
then it compiles just fine.
|
|
Date |
User |
Action |
Args |
2008-02-20 17:17:20 | admin | link | issue1047347 messages |
2008-02-20 17:17:20 | admin | create | |
|