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

DPS - 3 - Make DPS jar compatible with jre 8 #292

Closed
mageddo opened this issue Feb 20, 2023 · 3 comments
Closed

DPS - 3 - Make DPS jar compatible with jre 8 #292

mageddo opened this issue Feb 20, 2023 · 3 comments
Labels
enhancement A little behavior change which so small that can't be considered a feature

Comments

@mageddo
Copy link
Owner

mageddo commented Feb 20, 2023

What is expected

Make DPS jar run in jre 8

What is Happening

Actually compatible with jre 17

Changes (Optional)

Research

  • jabel make it possible compile java 17 code into jre 8 target but won't support jdk9+ new methods or classes like Set.of() and go on
  • UniJ has the proposal to implement jdk 9+ classes for jdk 8, the project is out of date and you need to use the prefix Uni for each class you use, like UniList.of()
  • refaster maybe can fix unij limitation by merging the new implementations to List and go on
  • here a discussion on jabel github about that but no proposal to merge all this stuff into a new tool
  • Another impeditive to use jre 8 is that DPS need java 16 support for unix sockets to be fully compatible with docker, need to find a lib replacement for that, docker-java library have a lot of incompatible stuff with native image, old jres and so on though, maybe think in a better replacement for docker java
@mageddo mageddo added feature Definition of a feature to be implemented enhancement A little behavior change which so small that can't be considered a feature and removed feature Definition of a feature to be implemented labels Feb 21, 2023
@mageddo
Copy link
Owner Author

mageddo commented Feb 22, 2023

we are considerably far to achieve this feature, better people try to use the binary releases or just download jre 17+ and use the jar

@mageddo
Copy link
Owner Author

mageddo commented Feb 25, 2023

I think it won't be possible, best choice is to tryout the native image binaries we have, and on the future also provide a Windows binary. As a fallback run the jar which requires jre 17+

@mageddo mageddo closed this as completed Feb 25, 2023
@mageddo
Copy link
Owner Author

mageddo commented Feb 25, 2023

See #306 for windows binary release support

@mageddo mageddo closed this as not planned Won't fix, can't repro, duplicate, stale Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A little behavior change which so small that can't be considered a feature
Projects
None yet
Development

No branches or pull requests

1 participant