This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [patch] use the classpath version for gjdoc as well
- From: Andrew Haley <aph at redhat dot com>
- To: Matthias Klose <doko at ubuntu dot com>
- Cc: GCJ-patches <java-patches at gcc dot gnu dot org>, Mark Wielaard <mark at klomp dot org>, Alexander Sack <asac at jwsdot dot com>
- Date: Wed, 17 Jun 2009 08:58:26 +0100
- Subject: Re: [patch] use the classpath version for gjdoc as well
- References: <4A33B3D7.1030507@ubuntu.com>
Matthias Klose wrote:
> $ gjdoc-4.4 --version
> java.lang.NullPointerException
> at java.io.InputStreamReader.read(InputStreamReader.java:244)
> at java.io.BufferedReader.fill(BufferedReader.java:370)
> at java.io.BufferedReader.readLine(BufferedReader.java:469)
> at java.util.Properties.load(Properties.java:203)
> at java.util.Properties.load(Properties.java:380)
> at gnu.classpath.tools.gjdoc.Main.getGjdocVersion(Main.java:1830)
> at gnu.classpath.tools.gjdoc.Main.start(Main.java:1131)
> at gnu.classpath.tools.gjdoc.Main.main(Main.java:883)
>
> I don't see any version properties file in the tools.jar. The following patch
> does use the same method to get the version number as every other tool in
> classpath. Ok for the trunk and the branch?
>
> 2009-06-13 Alexander Sack <asac@jwsdot.com>
>
> * tools/gnu/classpath/tools/gjdoc/Main.java (start): Use
> gnu.classpath.Configuration.CLASSPATH_VERSION as version number.
> * tools/classes/gnu/classpath/tools/gjdoc/Main.class: Regenerate.
Fine by me.
Andrew.