> Am 03.01.2023 um 15:42 schrieb 'Jesse Glick' via Jenkins Developers > <[email protected]>: > > On Tue, Jan 3, 2023 at 8:08 AM Ullrich Hafner <[email protected] > <mailto:[email protected]>> wrote: >> Do we already have some guidelines on how to migrate a plugin to Java 11? > > Yes; normally there is very little to do. > >> Do we need to create module-info.java files for plugins? > > No. > >> How do we access libraries that use modules? > > Jenkins does not use the Java module system, so there should be no change > from Java 8 usage modes. If there is some incompatibility in Java 11 in this > regard, then you may be the first to encounter it so you will need to debug > accordingly.
Ok, thanks for the info. Actually a bug in my own build chain. Somehow a module-info.class from one of my dependencies went into my classes folder and that caused the confusion for the Java compiler. Now everything works fine! > Is this failure during the build itself, or in Surefire test runs? Without > any details it is hard to even guess what is wrong. > > -- > 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/CANfRfr15XHaVQ%3Dz0wVe_n%2B-bOZcA3rZ9d7muGiy3mZ%3D7JZTq_g%40mail.gmail.com > > <https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr15XHaVQ%3Dz0wVe_n%2B-bOZcA3rZ9d7muGiy3mZ%3D7JZTq_g%40mail.gmail.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/CBE28160-442A-46EE-A473-1531D182AB37%40gmail.com.
