Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intelligently pick Java 8 vs Java 11 distroless base image #1279

Closed
chanseokoh opened this issue Nov 26, 2018 · 1 comment
Closed

Intelligently pick Java 8 vs Java 11 distroless base image #1279

chanseokoh opened this issue Nov 26, 2018 · 1 comment
Assignees

Comments

@chanseokoh
Copy link
Member

From various sources and accounts, it seems that running applications compiled into Java 8 bytecode may fail to run on JVM 11.

Once we have the distroless Java 11, it may be desirable to intelligently match distroless 8 vs 11 based on the binary target version, instead of trying to use the latest JVM all the time.

@coollog coollog added this to the v1.1.0 milestone Nov 26, 2018
@briandealwis
Copy link
Member

Just to clarify, libraries/applications may fail for a number of reasons:

  • they make assumptions of the java.* system properties,
  • they do bytecode processing and cannot handle new class file versions or new bytecodes,
  • they carry JPMS information and so are added to the module path,
  • they require APIs that were deprecated and/or removed in Java 11 like JavaEE, or javax.annotations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants