[ 
https://issues.apache.org/jira/browse/ARIES-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16662011#comment-16662011
 ] 

Simone Bordet commented on ARIES-1844:
--------------------------------------

FYI this issue is now blocking other projects that are trying to support JDK 11 
and OSGi with `ServiceLoader` features.

Using ASM 7 won't break compatibility with Java 8.

I had a super-quick look at what it would take to move SPI Fly to be Java 11 
compliant and it's not much.

Requires to update all dependencies to newer versions, requires to update to 
ASM 7, requires to drop Java 5 compatibility since the oldest platform that you 
can target now with Java 11 is Java 6, a bit of fiddling with OSGi manifests 
regarding the ASM version, a bit of code changes to pass in `Opcodes.ASM7` to 
ASM's `ClassReader` when needed.

Let me know if you need assistance.

> Support for ASM 7 (Java 11)
> ---------------------------
>
>                 Key: ARIES-1844
>                 URL: https://issues.apache.org/jira/browse/ARIES-1844
>             Project: Aries
>          Issue Type: Dependency upgrade
>          Components: SPI Fly
>            Reporter: Joakim Erdfelt
>            Priority: Major
>
> Would like to see SPI Fly be upgraded to support ASM 7, so that Java 11 
> runtimes can start to work with ServiceLoader behaviors.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to