You should not change to JDK 9 if not absolutely necessary. Did your dependency really change the API to JDK 9? Or did they just compile with JDK 9 and add a module information file which requires the increased class file level? Those files can be ignored in the pom...
> Am 20.10.2019 um 23:16 schrieb Damian Szczepanik > <[email protected]>: > > Hi, > > After upgrading some plugin dependencies I found that dependency is compiled > against JDK 9 while my plugin still uses 8 - compilation has failed. > > Is there any recommendation, guideline, best practices that guide about: > Should I upgrade the plugin to JDK 9+ or it's not mandatory because from SLA > perspective Jenkins should be upgraded? > Jenkins does not support 9 so should I upgrade to 11 at least? > Is there any plugin that have been already upgraded and could be taken as > good reference how to make it painless? > What I would loose? eg Jenkins with older JDK won't be able to install new > version of my plugin > Damian > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/20bf28ca-34fa-4776-9946-d7c1e166cdcb%40googlegroups.com > > <https://groups.google.com/d/msgid/jenkinsci-dev/20bf28ca-34fa-4776-9946-d7c1e166cdcb%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/1021736F-D106-4C86-8FA5-91F3C2074ACF%40gmail.com.
