In our corporate builds in Oracle that use jackson, we need to support JDK 7 and JDK 8 as the current user-base/customers are still on JDK 7 and JDK 8 based systems. Is there a way of ignoring the JDK 9 module_info.class from these jars ? We are not allowed to modify the jars, but the 3 jars need to be in the same repository as a single jackson patch.
On Tuesday, January 28, 2020 at 2:14:07 PM UTC-8, Tatu Saloranta wrote: > > On Tue, Jan 28, 2020 at 11:36 AM Ron Karim (Oracle Corp.) < > [email protected] <javascript:>> wrote: > >> Basically Dependencies rejected for these 3 jars with the >> module_info.class (as it is different in all 3 jars). >> Is there a version 2.10.2 available with support for multi-release-jars ? >> > > No. Module-info classes should only be used by JDK 9 and above; Java 8 and > below should just ignore these classes. > > What specifically is your issue? On which platform / tools? > > -+ Tatu +- > > > >> >> On Tuesday, January 28, 2020 at 11:03:53 AM UTC-8, Ron Karim (Oracle >> Corp.) wrote: >>> >>> As we are upgrading jackson modules to version 2.10.2, we are using >>> jackson_core, jackson_databind and jackson_annotations (all versions >>> 2.10.2), >>> Each of these jars have a module_info.class that seems to be different >>> in each jar. Hence we cannot use these 3 jars in our systems. >>> >>> Should we be using the same 2.10.2 version for jackson_core and ja >>> kson_annotations too ? Along with the jackson_databind 2.10.2 ? >>> >>> Or is there another resolution to dealiing with the module_info.class in >>> each of these jars ? >>> >>> Appreciate your help. >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "jackson-user" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jackson-user/c73577d8-f4e0-4983-9314-81631827eeb9%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jackson-user/c73577d8-f4e0-4983-9314-81631827eeb9%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "jackson-user" 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/jackson-user/01eacd95-7ca3-4125-8205-0f9bbe4d16e8%40googlegroups.com.
