jdk build error

Neal Gafter neal at gafter.com
Sun May 18 16:18:31 PDT 2008


I'm trying to prepare a patch for closures, but I still can't build openjdk
even from the master on my Ubuntu system.  Did I do something wrong?  Is
anybody working on this?  Here's where the build fails:

/home/gafter/jdk7/jdk7-image/bin/java -client -Xmx896m -Xms128m
-XX:PermSize=32m -XX:MaxPermSize=160m
-Xbootclasspath/p:/home/gafter/jdk7/tl0.hgf/build/linux-i586/langtools/dist/bootstrap/lib/javac.jar
-jar
/home/gafter/jdk7/tl0.hgf/build/linux-i586/langtools/dist/bootstrap/lib/javac.jar
-source 1.5 -target 5 -encoding ascii
-Xbootclasspath:/home/gafter/jdk7/tl0.hgf/build/linux-i586/classes
-sourcepath
/home/gafter/jdk7/tl0.hgf/build/linux-i586/gensrc:../../../src/solaris/classes:../../../src/share/classes
-d /home/gafter/jdk7/tl0.hgf/build/linux-i586/classes
@/home/gafter/jdk7/tl0.hgf/build/linux-i586/tmp/java/java.lang/java/.classes.list.filtered
/home/gafter/jdk7/tl0.hgf/build/linux-i586/gensrc/java/nio/charset/CharsetEncoder.java:142:
cannot find symbol
symbol  : class $replType$
location: class java.nio.charset.CharsetEncoder
    private $replType$ replacement;
            ^
/home/gafter/jdk7/tl0.hgf/build/linux-i586/gensrc/java/nio/charset/CharsetEncoder.java:185:
cannot find symbol
symbol  : class $replType$
location: class java.nio.charset.CharsetEncoder
                   $replType$ replacement)
                   ^
/home/gafter/jdk7/tl0.hgf/build/linux-i586/gensrc/java/nio/charset/CharsetEncoder.java:246:
cannot find symbol
symbol  : class $replType$
location: class java.nio.charset.CharsetEncoder
    public final $replType$ replacement() {
                 ^
/home/gafter/jdk7/tl0.hgf/build/linux-i586/gensrc/java/nio/charset/CharsetEncoder.java:275:
cannot find symbol
symbol  : class $replType$
location: class java.nio.charset.CharsetEncoder
    public final CharsetEncoder replaceWith($replType$ newReplacement) {
                                            ^
/home/gafter/jdk7/tl0.hgf/build/linux-i586/gensrc/java/nio/charset/CharsetEncoder.java:301:
cannot find symbol
symbol  : class $replType$
location: class java.nio.charset.CharsetEncoder
    protected void implReplaceWith($replType$ newReplacement) {
                                   ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
5 errors
make[3]: *** [.compile.classlist] Error 1
make[3]: Leaving directory `/home/gafter/jdk7/tl0.hgf/jdk/make/java/java'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20080518/a9d06045/attachment.html 


More information about the nio-dev mailing list