RFR: CODETOOLS-7903355: JMH: Drop support for JDK 7

Róbert Papp duke at openjdk.org
Fri Oct 14 07:34:16 UTC 2022


On Thu, 13 Oct 2022 15:39:08 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Head JDK 20-ea does not support building with -source/target 7 anymore. JDK 7 is very old and unlikely to be used widely. We can bump the minimal version to JDK 8 to get... ahem... all the new features that release brings! 
> 
> If you have a strong opinion that we should **not** drop JDK 7 support, please speak up soon.

Normally this would be a problem for Android, however I think since recent advances in Android Gradle Plus, we can use Java 8 bytecode, maybe even 11.

pom.xml line 178:

> 176:                         <compilerVersion>1.8</compilerVersion>
> 177:                         <source>1.8</source>
> 178:                         <target>1.8</target>

Don't know maven much, is this going to be inherited to `<build>` in child poms?

-------------

PR: https://git.openjdk.org/jmh/pull/86


More information about the jmh-dev mailing list