[ 
https://issues.apache.org/jira/browse/FOP-2526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Johannes Katelaan updated FOP-2526:
-----------------------------------
    Attachment: FopTiffTest.java

demo program to document the issue

> 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
>              Labels: patch
>         Attachments: FopTiffTest.java
>
>
> 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)

Reply via email to