[
https://issues.redhat.com/browse/ELY-1994?page=com.atlassian.jira.plugin....
]
Darran Lofthouse commented on ELY-1994:
---------------------------------------
For anyone who does pick this up next, the JaasSecurityRealm Sonia identifies is probably
the most important as this becomes a part of our supported implementation.
We presently compile on Java 11 but when available we may want to jump to Java 17. I have
heard mention that when compiling to an older version the older APIs may still be
available to compile against (this may be something we have to add to the build) so we may
still be able to produce a jar compatible with Java 8 / 11.
For Java 14 and later we likely have two options to consider:
# Use a multi version jar to make unsupported from Java 14 and onwards.
# Provide an alternative implementation from Java 14 that does not rely on the API which
is removed from that point.
Ensure the Elytron build works on Java 14
-----------------------------------------
Key: ELY-1994
URL:
https://issues.redhat.com/browse/ELY-1994
Project: WildFly Elytron
Issue Type: Task
Components: Testsuite
Reporter: Darran Lofthouse
Priority: Major
Fix For: 1.13.0.CR2
Overall the build is not doing too badly and doesn't fail until we get to the main
testsuite.
{code:java}
[INFO] WildFly Elytron - Tests ............................ FAILURE [ 1.447 s]
[INFO] WildFly Elytron .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:46 min
[INFO] Finished at: 2020-06-11T11:25:23+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.7.0-jboss-1:testCompile
(default-testCompile) on project wildfly-elytron-tests: Compilation failure: Compilation
failure:
[ERROR]
/home/darranl/src/community/wildfly-elytron/tests/base/src/test/java/org/wildfly/security/auth/TestLoginModule.java:[31,25]
package java.security.acl does not exist
[ERROR]
/home/darranl/src/community/wildfly-elytron/tests/base/src/test/java/org/wildfly/security/auth/TestLoginModule.java:[107,40]
cannot find symbol
[ERROR] symbol: class Group
[ERROR] location: class org.wildfly.security.auth.TestLoginModule
[ERROR] -> [Help 1] {code}
If this is all that is failing for us maybe we can revisit the test and see how
appropriate it is and if it can be adapted to use available APIs.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)