"source file newwer than class file" warning

Bryce McKinlay bryce@albatross.co.nz
Sat Apr 1 00:00:00 GMT 2000


This message seems to comes up whenever there is a .java file newwer than its
matching .class file. Even when calling "gcj -c *.java" or "gcj -C *.java".
Surely it should only be appearing only when compiling class files?

$ gcj -C *.java
Rule.java:245: warning: Source file for class `Constants' is newer than its
matching class file. Source file used instead
CommandElement.java:11: warning: Source file for class `Constants' is newer than
its matching class file. Source file used instead

  [ bryce ]




More information about the Java mailing list