Hi,
this is a follow-up of this
thread.
To sum up, there are two classes Bar and Bartest. Bartest uses Bar, which does not lie in the same package. Bartest thus makes an import og the class.
When the statement is
import com.peter.foo.Bar it compiles
When the statement is
import com.peter.foo.* it does not compile, the error message being
Bartest.java:4: cannot resolve symbol
symbol : constructor Bar ()
This may be explained by the location of the .java and .class files, but I do not have a good explanation.
W.