[kaffe] kaffe 1.1.4: gnu.classpath.Configuration.CLASSPATH_VERSION
Steven Augart
augart at watson.ibm.com
Fri Mar 12 09:50:02 PST 2004
The field gnu.classpath.Configuration.CLASSPATH_VERSION in kaffe
1.1.4 has the value "@VERSION@", according to a simple test program:
class GetClasspathVersion {
public static void main(String[] args) {
final String fieldName = "gnu.classpath.Configuration.CLASSPATH_VERSION";
System.out.println(fieldName + " = "
+ gnu.classpath.Configuration.CLASSPATH_VERSION);
}
}
The run:
$ /usr/local/kaffe/bin/javac GetClasspathVersion.java
$ kaffe GetClasspathVersion
gnu.classpath.Configuration.CLASSPATH_VERSION = @VERSION@
I had expected to see "0.07", or "0.07+Kaffe", or something of the
sort.
By comparison:
$ jikes GetClasspathVersion.java
Issued 1 semantic warning compiling "GetClasspathVersion.java":
1. class GetClasspathVersion {
^-----------------^
*** Semantic Warning: A private constructor would enforce the noninstantiability of "GetClasspathVersion". (See item 3 of "Effective Java".)
$ rvm GetClasspathVersion
gnu.classpath.Configuration.CLASSPATH_VERSION = 0.07
$
The source code in question is at line 59 of
kaffe-1.1.4/libraries/javalib/gnu/classpath/Configuration.java
/**
* The release version number of GNU Classpath.
* It is set according to the value of 'version' in the configure[.in] file
* and used to set the System property gnu.classpath.version.
*/
String CLASSPATH_VERSION = "@VERSION@";
There may be some configuration step that needs to happen before
Configuration.java goes into the next Kaffe release.
Sincerely Yours,
--Steve Augart
--
Steven Augart
Jikes RVM, open source Research Virtual Machine:
http://oss.software.ibm.com/jikesrvm
Office: +1 914/784-6743
T.J. Watson Research Center, IBM
More information about the kaffe
mailing list