jetty-project / jetty-alpn-agent

Enables Jetty ALPN/NPN support via -javaagent JVM option
Apache License 2.0
47 stars 16 forks source link

If present on Java 11.0.14.1 the version parsing fails. #15

Open joakime opened 2 years ago

joakime commented 2 years ago

Using version 2.0.10, the following happens on Temurin 11.0.14.1

[jetty-alpn-agent][ warn] Could not parse java.version: 11.0.14.1
[jetty-alpn-agent][ warn] Could not find a matching alpn-boot jar for Java version: 11.0.14.1

Obviously this isn't needed on Java 11, but sometimes you have an embedded scenario where the agent is preconfigured to execute. Is this a legit parsing bug? or something else?