Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6681798

(build) CharsetEncoder.java fails to compile in openjdk6 on ubuntu 8.04

XMLWordPrintable

    • b33
    • x86
    • linux_2.6
    • Not verified

        In compiling openjdk6 on ubuntu 8.04 it fails while compiling CharsetEncoder.java.
        Compiling the same source on ubuntu 7.10 does not fail. I asked an Ubuntu contact
        about this and he claims it has to do with quoting problems in the spp.sh shell script
        and referenced this icedtea patch

        http://icedtea.classpath.org/hg/icedtea6/file/9bf416fd51f8/patches/icedtea-generated.patch

        That changes SPP_CMD to use /bin/bash which probably is not a good solution.

        What occurs is CharsetEncoder.java is generated using a shell/sed/awk script from a
        different source file. It uses tags like $replType$ which get replaced with various
        strings encoded in the script. What happens is in the generated source file the
        $replType$ tag is not replaced and the compiler barfs with a syntax error.

              sherman Xueming Shen
              dherronsunw David Herron (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: