IcedTea 1.11 on Fedora 10 - Missing java.util.Scanner
Michael Franz
mvfranz at gmail.com
Fri Aug 14 05:05:29 PDT 2009
Here is part of config.log
configure:8957: checking if java.io.PrintStream is missing the 1.5
constructors (PR40616)
Exception in thread "main" java.lang.NoSuchMethodError: method
java.io.PrintStream.<init> with signature (Ljava.io.File;Ljava
.lang.String;)V was not found.
at Test.main(Test.java:10)
configure:8993: result: yes
configure:9008: checking if java.util.Scanner is missing
configure:9040: result: no
configure:9056: checking if java.util.Scanner exhibits Classpath bug 40630
Exception in thread "main" java.lang.NoClassDefFoundError: java.util.Scanner
at Test.main(Test.java:9)
configure:9093: result: yes
On Fri, Aug 14, 2009 at 8:00 AM, Andrew John Hughes <
gnu_andrew at member.fsf.org> wrote:
> 2009/8/14 Michael Franz <mvfranz at gmail.com>:
> > Hi,
> >
> > Here is the output from my Fedora 10 build with the missing
> > java.util.Scanner.
> >
> > /home/mfranz/linux/icedtea-1.11/bootstrap/jdk1.6.0/bin/java
> > -XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput
> -client
> > -Xmx896m -Xms128m -XX:PermSize=32m -XX:MaxPermSize=160m -jar
> >
> /home/mfranz/linux/icedtea-1.11/openjdk-ecj/build/linux-i586/btjars/charsetmapping.jar
> > ../../tools/CharsetMapping
> > /home/mfranz/linux/icedtea-1.11/generated/sun/nio/cs/ext euctw \
> > ../../tools/src/build/tools/charsetmapping/GenerateEUC_TW.java
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> java.util.Scanner
> > at
> >
> build.tools.charsetmapping.GenerateEUC_TW.getCopyright(GenerateEUC_TW.java:47)
> > at
> >
> build.tools.charsetmapping.GenerateEUC_TW.genEUC_TW(GenerateEUC_TW.java:43)
> > at build.tools.charsetmapping.Main.main(Main.java:48)
> > make[5]: ***
> > [/home/mfranz/linux/icedtea-1.11/generated/sun/nio/cs/ext/IBM037.java]
> Error
> > 1
> > make[5]: Leaving directory
> > `/home/mfranz/linux/icedtea-1.11/openjdk-ecj/jdk/make/sun/nio'
> > make[4]: *** [all] Error 1
> > make[4]: Leaving directory
> > `/home/mfranz/linux/icedtea-1.11/openjdk-ecj/jdk/make/sun'
> > make[3]: *** [all] Error 1
> > make[3]: Leaving directory
> > `/home/mfranz/linux/icedtea-1.11/openjdk-ecj/jdk/make'
> > make[2]: *** [jdk-build] Error 2
> > make[2]: Leaving directory `/home/mfranz/linux/icedtea-1.11/openjdk-ecj'
> > make[1]: *** [build_product_image] Error 2
> > make[1]: Leaving directory `/home/mfranz/linux/icedtea-1.11/openjdk-ecj'
> > make: *** [stamps/icedtea-ecj.stamp] Error 2
> >
> >
> > The output from configure for the Scanner check is here:
> > checking if java.util.Scanner is missing... Exception in thread "main"
> > java.lang.NoClassDefFoundError: java.util.Scanner
> > at Test.main(Test.java:7)
> > no
> > checking if java.util.Scanner exhibits Classpath bug 40630... yes
> >
> > I wonder if the Classpath bug is over-riding the Scanner check.
> >
> > Michael
> >
>
> Ok, that first check should be saying yes and the second (bug 40630)
> shouldn't run.
>
> Can you check what output is given in config.log for these tests (if
> any)? It looks like the javac+java you are using with configure is
> different from what is actually building OpenJDK.
> --
> Andrew :-)
>
> Free Java Software Engineer
> Red Hat, Inc. (http://www.redhat.com)
>
> Support Free Java!
> Contribute to GNU Classpath and the OpenJDK
> http://www.gnu.org/software/classpath
> http://openjdk.java.net
>
> PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
> Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090814/2f7c6f97/attachment.html
More information about the distro-pkg-dev
mailing list