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 "Johannes Katelaan (JIRA)" <ji...@apache.org> on 2015/09/17 14:35:04 UTC

[jira] [Created] (FOP-2526) TIFFDocumentHandler: change constructor visibility to protected

Johannes Katelaan created FOP-2526:
--------------------------------------

             Summary: TIFFDocumentHandler: change constructor visibility to protected
                 Key: FOP-2526
                 URL: https://issues.apache.org/jira/browse/FOP-2526
             Project: FOP
          Issue Type: Bug
          Components: renderer/tiff
    Affects Versions: 2.0
            Reporter: Johannes Katelaan


The attached demo program consumes fo input an renders tif from that.

This code is the result of migrating formerly working code from FOP 1.1 to FOP 2.0.

The class MyTiffDocumentHandler extends TIFFDocumentHandler. The call of the super constructor in line 106 fails, because the constructor is not visible to the derived class.

Therefore the visibility of the constructor of TIFFDocumentHandler has to be changed to protected to support this kind of usage.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)