Bug #: 51791
           Summary: lots of deprecation warnings
           Product: Fop
           Version: 1.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: documentation
    Classification: Unclassified

Building FOP results in lots of warnings related to using deprecated interfaces
like the following one:

warning: [deprecation] org.apache.fop.render.Graphics2DImagePainter in
org.apache.fop.render has been deprecated
    [javac]     public void paintImage(Graphics2DImagePainter painter,
    [javac]                            ^

This warnings would not appear when compiled under JDK 1.4.2 because

Note: A deprecation warning is suppressed if the compilation unit containing
the deprecation is being compiled at the same time as the compilation unit
using the deprecated class or member. This allows legacy APIs to be built
without warnings. There currently is no other way to suppress the deprecation


This legacy compatibility feature has apparently been discontinued by later
releases of the JDK (even though the compilation runs in 1.4.2 mode).

This bug is fixed in the trunk by deprecating the calling method itself, and
described here for reference only:


Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to