strange build error

Roman Kennke roman.kennke at aicas.com
Fri Apr 11 08:36:27 UTC 2008


Hi there,

while developing on my Innovators Challenge project, I came about the
following build error:

http://kennke.org/~roman/build-error.txt

I'm not sure what com.sun.tools.javac.sym.CreateSymbols does and why it
fails. The classes all compile fine. A couple of notes:

- This error only occurs with the patches that I developed for the
challenge project, you can find these patches here:

http://kennke.org/~hg/hgwebdir.cgi/openjdk-patches/

Simply do:

cd $(OPENJDK)/jdk/.hg
hg clone http://kennke.org/~hg/hgwebdir.cgi/openjdk-patches patches
cd ..
hg qpush -a

This should fetch and apply all the patches in this patch queue (it
requires the Mercurial patch queue extension though).

- The corresponding code is a nested anonymous inner class like this:

   final Runnable fileCloserRunnable = new Runnable() {
     public void run() {
         java.security.AccessController.doPrivileged(
            new java.security.PrivilegedAction() {
               public Object run() {

etc. Dunno why this is a problem.

- This error seems to be triggered by a recent change in OpenJDK. It did
not fail 3 weeks or so ago.

Any help is appreciated.

If this is not the right list (maybe a javac problem?) please redirect
as appropriate.

Cheers, Roman

-- 
Dipl.-Inform. (FH) Roman Kennke, Software Engineer, http://kennke.org
aicas Allerton Interworks Computer Automated Systems GmbH
Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany
http://www.aicas.com   * Tel: +49-721-663 968-0
USt-Id: DE216375633, Handelsregister HRB 109481, AG Karlsruhe
Geschäftsführer: Dr. James J. Hunt




More information about the build-dev mailing list