Hello Satya, 3.18.0 is designed for Java 8 and up.
Code in META-INF/versions/9 only applies to Java 9 and up. HTH. Gary On Thu, Sep 18, 2025, 05:39 satyakumar putcha <[email protected]> wrote: > Hello, > > We want to upgrade to Apache commons Lang3 version 3.18.0 since the > earlier version(3.8.1) has security vulnerabilities. Our Product we > are using the JDK8 version, but the commons-lang3-3.18.0.jar is built > with JDK8 (Major version: 52) for all the files except One file > module-info.class which is compiled with JDK9. So my question is: Can > we use this commons-lang3-3.18.0.jar with JDK8 OR NOT? Please let me > know. Also this JAR file Manifest file has this Build-Jdk-Spec: 21 > entry, what does it mean? Please let me know. > > Checking class file: META-INF/versions/9/module-info.class > Major version: 53, Minor version: 0 > > regards, > Satya > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
