You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe somewhere should be stated, why some parts are made in Scala and other parts are not, just to state the design decision a bit more (or releasing some plan which parts might get reworked on).
I do know that this project says it's work in progress, but just wanted to have this issue addressed so it can get referenced (and for other developers being stated to now work with these JDKs).
The text was updated successfully, but these errors were encountered:
Thanks for the report! I can confirm that the project as a whole currently does not build in JDK 10, but the main artifacts of the core and demo projects do. Scala is used only for the tests. So, these Gradle tasks do succeed in JDK 10:
Note that simply ./gradlew jar does not work, since that expands to a task list containing :yubico-util-scala:jar - which is only used referenced in the tests, so it's not included by the previous command.
I've also confirmed that importing the jar into an unrelated project works in both JDK 8 and 10, regardless of which JDK was used to build the jar.
So, in conclusion: Development of the library is currently only supported in JDK 8, but users of the library can use JDK 8 or (probably) any later version. I'll add some documentation of this to the project README.
I'm very pleased to announce that the tests can now be built in all three of JDK8, JDK10 and JDK11! This means the project as a whole can be built in any of these JDKs, but user-facing functionality is not affected.
Same as the older u2f-project (Yubico/java-u2flib-server#38), this webauthn-server does not compile using JDK 10 or JDK 11.
This is mostly because the used Scala fragments are not yet supporting these JDK-versions:
scala/scala-dev#559
scala/scala#7218
This is even documented on their website: https://docs.scala-lang.org/overviews/jdk-compatibility/overview.html#jdk-9--up-compatibility-notes
As Webauthn is in Rec-state (https://www.w3.org/TR/webauthn/), upcoming developers might want to use a more up2date JDK, mostly because Java 8 support will get dropped in 2019 from Oracle (https://www.oracle.com/technetwork/java/eol-135779.html), and 2023 from Redhat (https://access.redhat.com/articles/1299013).
Maybe somewhere should be stated, why some parts are made in Scala and other parts are not, just to state the design decision a bit more (or releasing some plan which parts might get reworked on).
I do know that this project says it's
work in progress
, but just wanted to have this issue addressed so it can get referenced (and for other developers being stated to now work with these JDKs).The text was updated successfully, but these errors were encountered: