I have a Java Maven project with about 800 source files (some generated by javacc/JTB) which is taking a good 25 minutes to compile with javac.
When I changed my pom.xml
Sun has confirmed to me by email that this is a new bug (6827648 in their bug database).