Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

Introduce preliminary Java 17 support #773

Closed
sdeleuze opened this issue May 11, 2021 · 2 comments
Closed

Introduce preliminary Java 17 support #773

sdeleuze opened this issue May 11, 2021 · 2 comments
Assignees
Labels
type: task A general task
Milestone

Comments

@sdeleuze
Copy link
Contributor

No description provided.

@sdeleuze sdeleuze added the type: task A general task label May 11, 2021
@sdeleuze sdeleuze added this to the 0.11.0 milestone May 11, 2021
@sdeleuze sdeleuze self-assigned this May 11, 2021
@sdeleuze sdeleuze modified the milestones: 0.11.0, 0.12.0 Jun 8, 2021
@sdeleuze sdeleuze modified the milestones: 0.12.0, 0.11.0 Aug 25, 2021
@sdeleuze sdeleuze modified the milestones: 0.11.0-M1, 0.11.x Sep 24, 2021
@sdeleuze sdeleuze modified the milestones: 0.11.x, 0.11.0-M2 Oct 4, 2021
sdeleuze added a commit that referenced this issue Oct 17, 2021
To focus on stable with Java 11 and Java 17 variants.

See gh-773
sdeleuze added a commit that referenced this issue Oct 17, 2021
This commits refactors the CI configuration to add Java 17 builds:
 - No more stable qualifier
 - Add spring-native qualifier to ci-image to avoid side effects
   for other projects
 - Provide Java 17 CI, GraalVM and Spring Native images
 - Use parameters.yml for JDK URL

This commit also renames jdk-identifier to labsjdk-identifier
for clarity.

See gh-773
sdeleuze added a commit that referenced this issue Oct 18, 2021
@sdeleuze
Copy link
Contributor Author

Java 17 builds have been added to the CI, Gradle has been upgraded to 7.2, run-dev-container.sh has been upgraded.

Some samples like security-method or batch are broken due to oracle/graal#3870.

@shakuzen In actuator-webmvc I see Micrometer related errors, could you check if this is something to finetune on Spring/Micrometer side or if we should raise a dedicated GraalVM issue:

java.lang.NoClassDefFoundError: sun.management.Util
	at com.oracle.svm.core.jdk.management.SubstrateClassLoadingMXBean.getObjectName(SubstrateClassLoadingMXBean.java:47) ~[na:na]
	at com.oracle.svm.core.jdk.management.ManagementSupport.addMXBean(ManagementSupport.java:267) ~[na:na]
	at com.oracle.svm.core.jdk.management.ManagementSupport.getPlatformMBeanServer(ManagementSupport.java:259) ~[na:na]
	at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:45) ~[na:na]
	at io.micrometer.core.instrument.binder.tomcat.TomcatMetrics.getMBeanServer(TomcatMetrics.java:92) ~[na:na]

@sdeleuze sdeleuze changed the title Introduce Java 17 support Introduce preliminary Java 17 support Oct 18, 2021
@sdeleuze
Copy link
Contributor Author

@shakuzen The java.lang.NoClassDefFoundError: sun.management.Util has been raised as oracle/graal#3875.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: task A general task
Development

No branches or pull requests

1 participant