OpenJDK Build error on Ubuntu 8.04

Tim Bell Tim.Bell at Sun.COM
Mon Jun 2 19:10:39 UTC 2008


Hello Sam:

>      Somebody please help me to resolve this error. Please find error
> message in the attachment.
[... snip! ...]

> /home/samkraju/OpenJDK/jdk7/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;

This is the /bin/bash versus /bin/dash issue on recent release(s) of Ubuntu.

There are a couple of related bug IDs:

    http://bugs.sun.com/view_bug.do?bug_id=6681798
    https://bugs.launchpad.net/ubuntu/+source/dash/+bug/61463

Also this thread on build-dev (at) openjdk.java.net:

    http://mail.openjdk.java.net/pipermail/build-dev/2008-May/001047.html

The workaround (according to Martin) is 'sudo dpkg-reconfigure dash' and answer no

HTH - Tim



More information about the build-dev mailing list