[jira] [Commented] (XERCESJ-1789) Mix of Java 1.7 and 1.8

"Elliotte Rusty Harold (Jira)" <[email protected]> Wed, 19 Nov 2025 22:24:00 +0000 (UTC)
Newsgroups gmane.text.xml.xerces-j.devel
Message-ID <[email protected]>
    [ https://issues.apache.org/jira/browse/XERCESJ-1789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18039482#comment-18039482 ] 

Elliotte Rusty Harold commented on XERCESJ-1789:
------------------------------------------------

Or not. Looks like problem is only on the build:

    [xjavac] error: Source option 7 is no longer supported. Use 8 or later.
   [xjavac] error: Target option 7 is no longer supported. Use 8 or later.

This should be manageable. I don't think the code actually requires Java 8. 

> Mix of Java 1.7 and 1.8
> -----------------------
>
>                 Key: XERCESJ-1789
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1789
>             Project: Xerces2-J
>          Issue Type: Bug
>            Reporter: Elliotte Rusty Harold
>            Priority: Blocker
>
> Commit c11095d on Jan 23, 2024 drive-by upgraded the build from Java 1.7 to Java 1.8. However, it did not upgrade various other docs and comments, and possibly other things.
> This change should probably be rolled back. Requiring a new major version of Java should not be a casual decision in a PR focused on something else. 
> Even if we do decide we want to set Java 1.8 as the minimum for future releases, that needs to be done in its own PR along with updates of all docs and comments that still reference Java 1.7. Furthermore, we'd want at least a minor version, maybe a major version upgrade. This is not something we should do in moving from 2.12.2 to 2.12.3. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)