Re: [PR] [XERCES-J-1789] Revert to Java 1.7 [xerces- j]

Copilot (via GitHub) <[email protected]> Wed, 19 Nov 2025 22:27:20 -0000
Newsgroups gmane.text.xml.xerces-j.devel
Message-ID <PR_kwDOLzdO6M60dInn-b71ad684-bd5b-459e-a26b-93212669e2f8@gitbox.apache.org>
Copilot commented on code in PR #60:
URL: https://github.com/apache/xerces-j/pull/60#discussion_r2543762480


##########
build.xml:
##########
@@ -92,8 +92,8 @@ Authors:
     <property name="optimize" value="on"/>
     <property name="deprecation" value="off"/>
     
-    <property name="javac.source" value="1.8"/>
-    <property name="javac.target" value="1.8"/>
+    <property name="javac.source" value="1.7"/>
+    <property name="javac.target" value="1.7"/>

Review Comment:
   Reverting to Java 1.7 raises significant concerns as Java 7 reached end-of-life in April 2015 and has been unsupported for over 10 years. This version has known security vulnerabilities with no available patches, and modern development tools may not support it. Consider using a supported Java version (Java 11, 17, or 21 are LTS versions as of 2025). If backwards compatibility is required, please document the specific reason and ensure appropriate security measures are in place.
   ```suggestion
       <property name="javac.source" value="11"/>
       <property name="javac.target" value="11"/>
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]