Skip to content

Conversation

@jamesfredley
Copy link
Contributor

@jamesfredley jamesfredley commented Aug 18, 2025

public void processSelectedFeatures(FeatureContext featureContext) {
int jdkVersion = featureContext.getJavaVersion().majorVersion();
if (jdkVersion >= 9) {
Springloaded springloaded = this;
featureContext.exclude(new FeaturePredicate() {
@Override
public boolean test(Feature feature) {
return feature == springloaded;
}
@Override
public Optional<String> getWarning() {
return Optional.of("Springloaded was excluded because it does not support JDK " + jdkVersion);
}
});
}
}

@jamesfredley jamesfredley self-assigned this Aug 18, 2025
@jamesfredley jamesfredley moved this to In Progress in Apache Grails Aug 18, 2025
@jamesfredley jamesfredley added this to the grails:7.0.0-RC2 milestone Aug 18, 2025
@jamesfredley jamesfredley linked an issue Aug 18, 2025 that may be closed by this pull request
@jamesfredley jamesfredley merged commit 3a8f7fa into 7.0.x Aug 18, 2025
33 checks passed
@jamesfredley jamesfredley deleted the remove-springloaded-feature branch August 18, 2025 23:46
@github-project-automation github-project-automation bot moved this from In Progress to Done in Apache Grails Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Grails Forge - remove spring loaded feature

2 participants