Giter Club home page Giter Club logo

Comments (5)

stevespringett avatar stevespringett commented on July 21, 2024

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.

stevespringett avatar stevespringett commented on July 21, 2024

Although I'm unable to reproduce, a6e808d should fix the issue based on the provided description of the problem.

from alpine.

sephiroth-j avatar sephiroth-j commented on July 21, 2024

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.

stevespringett avatar stevespringett commented on July 21, 2024

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.

stevespringett avatar stevespringett commented on July 21, 2024

Closing as this issue is resolved

from alpine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.