You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "thomas@lp" <th...@linkpeople.com> on 2000/11/16 11:49:13 UTC
problem in compile in inner class
i created my project with ant but exception in compile with inner class
here is the code sample:
public class OuterClass{
// ........
class InnerClass1 {
private Something privateMethod1( Object obj){
// do something...
}
}
class InnerClass2 {
// do something...
public void Method2(){
Something sth = privateMethod1(obj);
}
}
}
when i use ant to build the project, it throws
OuterClass.InnerClass1 Something privateMethod1( Object obj) Method No
Found.
but i can build successfully when change privateMethod1 from private to
protected.
_____________________________
Friends, Families, Favorites, Females,
I Will Quit Smoking Tomorrow!!