- 
    Bug 
- 
    Resolution: Fixed
- 
     P3 P3
- 
    OpenJDK6
- 
        b33
- 
        x86
- 
        linux_2.6
- 
        Not verified
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-2165380 | OpenJDK6 | Xueming Shen | P4 | Resolved | Fixed | b12 | 
                    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.
            
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.
- backported by
- 
                    JDK-2165380 (build) CharsetEncoder.java fails to compile in openjdk6 on ubuntu 8.04 -           
- Resolved
 
-         
- relates to
- 
                    JDK-6704723 Redux: 6548615 'echo -e' -> printf -           
- Resolved
 
-