gcj/153: "Source file newer than class file" warning

bryce@albatross.co.nz bryce@albatross.co.nz
Thu Feb 17 19:50:00 GMT 2000


>Number:         153
>Category:       gcj
>Synopsis:       "Source file newer than class file" warning
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apbianco
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 17 19:50:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Bryce McKinlay
>Release:        gcc version 2.96 20000217 (experimental)
>Organization:
>Environment:
Redhat 6.1
>Description:
This message appears whenever there is a .java file newer 
than its matching .class file, even when the other files 
are also specified on the compiler command line.

It should only appear when the out-of-date class files were 
not given on the command line.
>How-To-Repeat:
$ gcj -C A.java B.java
$ touch B.java
$ gcj -C A.java B.java
A.java:xx: warning: Source file for class `B' is newer than its matching class file. Source file used instead
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the Java-prs mailing list