jdk build error

Tim Bell Tim.Bell at Sun.COM
Mon May 19 01:24:22 UTC 2008

Hi Neal:

> /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)

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

There are a couple of related bug IDs:


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


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

HTH - Tim

More information about the core-libs-dev mailing list