You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2001/09/07 14:30:12 UTC

[DO NOT REPLY: Bug 3487] New: jdk 1.4 beta2 compatibility

PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3487

*** shadow/3487	Fri Sep  7 05:30:12 2001
--- shadow/3487.tmp.28793	Fri Sep  7 05:30:12 2001
***************
*** 0 ****
--- 1,41 ----
+ +============================================================================+
+ | jdk 1.4 beta2 compatibility                                                |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 3487                        Product: Fop                     |
+ |       Status: NEW                         Version: 0.17                    |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Normal                   OS/Version: All                     |
+ |     Priority: Other                     Component: pdf renderer            |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: fop-dev@xml.apache.org                                       |
+ |  Reported By: fred@stsci.edu                                               |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ 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.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org