[ https://issues.apache.org/jira/browse/JDO-812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17558863#comment-17558863 ]
Andy Jefferson commented on JDO-812: ------------------------------------ FWIW DataNucleus v6.0 moved to supporting Java 11+ only, and is now released. Oracle Premier support for Java 8 ended in March 2022, even if their extended support continues. DataNucleus (v6) has some use of things like List.of, or '@Generated' (which moved package for some reason from Java 8 -> 9 hence forced the move for us) but doesn't yet define modules or much else. > Move to JDK 11 as the lowest supported version > ---------------------------------------------- > > Key: JDO-812 > URL: https://issues.apache.org/jira/browse/JDO-812 > Project: JDO > Issue Type: Task > Components: api, site and infrastructure, tck > Affects Versions: JDO 3.2.1 > Reporter: Tobias Bouschen > Priority: Minor > Fix For: JDO 3.3 > > > I propose to move the lowest supported JDK version to JDK11 to allow us to > move the used libraries (like Derby) to the newest version. Additionally, > this would allow us to use some of the comfort features that were introduced > in-between JDK 8 and 11 (like In-line Collection creation through > {{{}List.of(...){}}}, etc.). > From what I remember, we should already be fully compatible with JDK 11, so > the switch itself should only require minimal effort. > This would definitely be a breaking change, so the benefit of this change > would have to be considered under this aspect as well (if we don't already > have breaking changes since 3.2). A second consideration would also be when > the next release is likely to take place (and whether JDK 8 will still be > relevant at that point.) -- This message was sent by Atlassian Jira (v8.20.7#820007)