[infinispan-issues] [JBoss JIRA] (ISPN-9618) Overlay for Java 10 could be Java 9

Rostislav Svoboda (Jira) issues at jboss.org
Tue Oct 23 06:34:00 EDT 2018


    [ https://issues.jboss.org/browse/ISPN-9618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13651610#comment-13651610 ] 

Rostislav Svoboda commented on ISPN-9618:
-----------------------------------------

[~NadirX], thanks for explanation, 10 is valid option, to us it was a bit unusual as all other components we use go just with 9.

There is still trouble that the infinispan-commons jar has overlay, but {{Multi-Release: true}} is not set in MANIFEST.
So the overlay is not activated :(

> Overlay for Java 10 could be Java 9
> -----------------------------------
>
>                 Key: ISPN-9618
>                 URL: https://issues.jboss.org/browse/ISPN-9618
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 9.4.0.Final
>            Reporter: tommaso borgato
>            Priority: Major
>
> The following classes are in overlay for Java 10:
> - commons/src/main/java10/org/infinispan/commons/jdkspecific/CallerId.java
> - commons/src/main/java10/org/infinispan/commons/jdkspecific/ProcessorInfo.java
> CallerId uses StackWalker that is available since Java 9.
> ProcessorInfo uses Runtime.getRuntime().availableProcessors() that was fixed in java 9 (https://bugs.java.com/view_bug.do?bug_id=6515172)
> Question: can those classes be in overlay for Java 9 instead of Java 10 ?



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list