As per this JDK 8 bug (unresolved), jars with the module_info.class (JDK9 ) 
will not build with JDK 8:
https://bugs.openjdk.java.net/browse/JDK-8206896


On Tuesday, January 28, 2020 at 2:24:17 PM UTC-8, Ron Karim (Oracle Corp.) 
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.
>
> 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/9395c3da-3bd8-429c-9207-8494957ead32%40googlegroups.com.

Reply via email to