On Tue, Jan 28, 2020 at 2:24 PM Ron Karim (Oracle Corp.) <
[email protected]> wrote:

> 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.
>

I am not sure I follow: how exactly would these classes be referenced by
JVM (or more likely, some tooling)? They are not referenced by any classes
you load, nor automatically by JVM (as far as I know), so their existence
should not matter.
I have not observed issues with JDK 8 (I develop on Java 8, all runtimes
likewise). JDK 7 I don't know since I no longer have access to such JDKs.
As importantly, no one reported any problems during pre-release time for
2.10 release despite my requesting feedback... so I am literally unaware of
actual concrete problems with inclusion of module-info class files.

Given all this I am not yet convinced there is an issue to solve.

But perhaps Java folks at Oracle can help you with problems you have?

-+ Tatu +-




>
> 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]> 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].
>>> 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
> <https://groups.google.com/d/msgid/jackson-user/01eacd95-7ca3-4125-8205-0f9bbe4d16e8%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/CAGrxA25p%3D-2A1GK%3DO7zTGgeNRWFtbqSymg2Tvypar%2BuZTx6oKw%40mail.gmail.com.

Reply via email to