Comments (5)
I'm unable to reproduce. I currently have AdoptOpenJDK 11.0.4 installed for testing and it works correctly. Are you implying that there are Java distributions that only have a major number? If so, what Java distribution only has a single major?
from alpine.
Although I'm unable to reproduce, a6e808d should fix the issue based on the provided description of the problem.
from alpine.
I'm unable to reproduce. I currently have AdoptOpenJDK 11.0.4 installed for testing and it works correctly. Are you implying that there are Java distributions that only have a major number? If so, what Java distribution only has a single major?
Every GA release (eg. 11.0.0 or 15.0.0) of OpenJDK, Oracle JDK, AdoptOpenJDK etc. have only a major version.
AdoptOpenJDK 15+36 (15.0.0) -> https://github.com/AdoptOpenJDK/openjdk15-binaries/releases/tag/jdk-15%2B36
OracleJDK/OpenJDK 11 -> https://www.oracle.com/java/technologies/javase/jdk11-archive-downloads.html
If your code runs on Java 9+, it is better to use Runtime.version()
. See also Runtime.Version for the format: [1-9][0-9]*((\.0)*\.[1-9][0-9]*)*
from alpine.
Currently, I'm using System.getProperty("java.runtime.version")
since DT relies on Java 8 for performance reasons. In testing, 11 is noticeably slower when processing large concurrent workloads. I'm hoping the performance improvements made since 11 (and due in 17) will be on-par or surpass the performance of Java 8. If so, I'll likely update Alpine to support modern Java versions.
from alpine.
Closing as this issue is resolved
from alpine.
Related Issues (20)
- Add create and last used timestamps for API Keys
- Incorrect Package for java.naming.ldap.factory.socket, DependencyTrack LDAP Connection failures. HOT 1
- Update to Java 17 HOT 4
- Migrate to Jakarta EE namespace HOT 3
- Add an OIDC default group HOT 1
- Add description field to ApiKey
- Save and load `SecretKey` using encoded byte array instead of Java Object Serialization
- Add getTeams() to Principal contract
- Add support for multiple OIDC providers
- Use new class ProxyConfig for proxy selection in OIDC configuration
- Update JUnit 4 to 5 using OpenRewrite
- Log IP / User Agent for invalid ApiKeys and JWTs
- Provide a means to disable or otherwise configure the DataNucleus L2 cache
- Use USERS_SEARCH_FILTER to search for LDAP User
- Add ability to customize the Micrometer `MeterRegistry`
- Add support for logging in JSON format
- Treat API key as secret and store them securely HOT 7
- Add dynamic JWT Token expiry time
- Add 'comment' field for API keys HOT 2
- Upgrade Surefire Plugin from 2.22.2 to Latest 3.x HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alpine.