If I compile xml-fop (from cvs) with JDK 1.4 beta2, I get the following error: [echo] Compiling the sources [javac] Compiling 4 source files to /hoth/local/xml-fop/build/classes [javac] Note: sun.tools.javac.Main has been deprecated. [javac] /hoth/local/xml-fop/build/src/org/apache/fop/svg/PDFGraphics2D.java:1128: nested class org.apache.fop.svg.PDFGraphics2D. PDFGraphicsConfiguration is an abstract class. It can't be instantiated. [javac] return new PDFGraphicsConfiguration(); [javac] ^ [javac] /hoth/local/xml-fop/build/src/org/apache/fop/svg/PDFGraphics2D.java:1135: nested class org.apache.fop.svg.PDFGraphics2D. PDFGraphicsConfiguration must be declared abstract. It does not define java.awt.image.VolatileImage createCompatibleVolatileImage(int, int) from class java.awt.GraphicsConfiguration. [javac] static class PDFGraphicsConfiguration extends GraphicsConfiguration { It appears that Sun added a new java.awt.VolatileImage class and added a new abstract method createCompatibleVolatileImage to GraphicsConfiguration which PDFGraphicsConfiguration extends. I am not sure what the fix should be since fixing the code to compile with JDK 1.4 will cause it to break with previous releases.
This is fixed in cvs (mainntenance branch) with some ant filter magic
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed