[
https://issues.apache.org/jira/browse/FOP-3132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17718614#comment-17718614
]
Simon Steiner commented on FOP-3132:
------------------------------------
If we call:
new X().y();
In java 8 y() is defined in parent on X
In java 11 y() is defined in X with different return type than parent method it
overrides
If we compile with java 11, and run with 8, it would fail
> Link against Java 8 API
> -----------------------
>
> Key: FOP-3132
> URL: https://issues.apache.org/jira/browse/FOP-3132
> Project: FOP
> Issue Type: Bug
> Reporter: Simon Steiner
> Assignee: Simon Steiner
> Priority: Major
> Fix For: main
>
>
> As a user I want to compile fop with java > 8 and run with java 8 without
> error
> We want to be Java 8 compatible, if we compile fop with java 11, you would
> currently get a error when runtime is java 8. We currently compile with java
> 8, but it would be good to be able to use java 11 without a risk of issues
--
This message was sent by Atlassian Jira
(v8.20.10#820010)