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

Andi Huber commented on ISIS-1277:
----------------------------------

Current state of affairs:

Today I setup a debian environment to try an _Apache Isis_ build utilizing JDK 
10 having:

{noformat}
jdk: OpenJDK 64-Bit Server VM (build 10.0.1+10-Debian-4, mixed mode)
mvn: Apache Maven 3.5.2
{noformat}

*Issue 1*: 'Schema' will not build, requires a patched jaxb2-plugin [1]
{noformat}
<plugin>
        <groupId>org.jvnet.jaxb2.maven2</groupId>
        <artifactId>maven-jaxb2-plugin</artifactId>
        <version>0.14.0-SNAPSHOT</version>
        <configuration>
                <removeOldOutput>true</removeOldOutput>
                <episode>true</episode>
        </configuration>
</plugin>
{noformat}

*Issue 2*: 'Isis Maven Plugin' won't build, I have no clue.

*Issue 3*: 'HelloWorld' and 'Simple App' won't build, require at least 
'--add-modules java.sql'
{noformat}
<plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
            ...
                <compilerArgs>
                        <arg>--add-modules</arg><arg>java.sql</arg>
                        ...
                </compilerArgs>
        </configuration>
</plugin>
{noformat}

*Issue 4*: 'Demo App' will not build, faces 'Fix TypeTags error in jdk10+', 
requires lombok-edge [2]
{noformat}
<plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
                <source>${compiler-plugin.source}</source>
                <target>${compiler-plugin.target}</target>
                <compilerArgs>
                        <arg>--add-modules</arg><arg>java.sql</arg>
                        <arg>-Xlint:all</arg>
                        
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
                        
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg>
                        
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</arg>
                        
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</arg>
                        
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED</arg>
                        
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED</arg>
                        
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg>
                        
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</arg>
                        
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg>
                </compilerArgs>
        </configuration>
        <version>${compiler-plugin.version}</version>
</plugin>
{noformat}

Fixed some other issues today in 'master', but got no running app yet, so could 
not test any run-time issues yet.

[1] https://github.com/highsource/maven-jaxb2-plugin
[2] https://projectlombok.org/download-edge







> Prepare for JDK 11
> ------------------
>
>                 Key: ISIS-1277
>                 URL: https://issues.apache.org/jira/browse/ISIS-1277
>             Project: Isis
>          Issue Type: Task
>          Components: Core
>    Affects Versions: 1.10.0
>            Reporter: Jörg Rade
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> https://github.com/apache/isis/search?utf8=%E2%9C%93&q=setAccessible%28%29 
> yields 9 hits.
> According to [1] this will be a problem with Java 9.
> [1] 
> https://jaxenter.de/java-9-release-verschoben-warum-jigsaw-noch-nicht-fertig-ist-31687
>  



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

Reply via email to