]
Jan Kalina commented on ELY-1642:
---------------------------------
For needs of running tests there is workaround to build in Java9 and to run tests in
Java10:
{code}
JAVA_HOME=/opt/jdk-9/ PATH=$JAVA_HOME/bin/:$PATH mvn clean install
JAVA_HOME=/opt/jdk-10/ PATH=$JAVA_HOME/bin/:$PATH mvn test
{code}
Compilation error on JDK 11: cannot find class
sun.reflect.Reflection
---------------------------------------------------------------------
Key: ELY-1642
URL:
https://issues.jboss.org/browse/ELY-1642
Project: WildFly Elytron
Issue Type: Bug
Components: Security Manager
Affects Versions: 1.5.1.Final
Environment: openjdk version "11-ea" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11-ea+25)
OpenJDK 64-Bit Server VM 18.9 (build 11-ea+25, mixed mode)
Reporter: Ondrej Kotek
Priority: Critical
{{mvn test}} results in compilation error:
{noformat}
[ERROR]
/home/okotek/git/wildfly-elytron/src/main/java/org/wildfly/security/manager/WildFlySecurityManager.java:[58,19]
cannot find symbol
symbol: class Reflection
location: package sun.reflect
{noformat}
Blocks testing on JDK 11, setting to Critical.