You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ethan Rose (Jira)" <ji...@apache.org> on 2025/09/11 22:07:00 UTC

[jira] [Created] (HDDS-13675) hdds-tools module is built with java 8 bytecode regardless of build settings

Ethan Rose created HDDS-13675:
---------------------------------

             Summary: hdds-tools module is built with java 8 bytecode regardless of build settings
                 Key: HDDS-13675
                 URL: https://issues.apache.org/jira/browse/HDDS-13675
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Ethan Rose


* Run {{mvn clean compile -Dmaven.compiler.release=17}}
** add {{-Djavac.version=17}} if working without the fix for HDDS-13670
* Check the bytecode for the generated class files: {{for class in **/*.class; do file "$class"; done | grep 'version 52'}}

Classes within {{hadoop-hdds/tools}} show up in the list using bytecode version 52 (java 8) when they should be built with bytecode version 61 (java 17)



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org