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

some more defaults changed to java 17 #3255

Merged
merged 1 commit into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class JREContainerProvider {
/**
* @since 2.7
*/
public static final String PREFERRED_BREE = "JavaSE-11";
public static final String PREFERRED_BREE = "JavaSE-17";
private static IVMInstall defaultVMInstall = null;
private static boolean defaultVMinitialized = false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ static int determineJavaVersion(String javaVersion) {
// ok
}
// fallback
return 11;
return 17;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class ManifestAccess extends TextFileAccess implements IGuiceAwareGeneratorCompo
«IF !version.nullOrEmpty»
Bundle-Version: «version»
«ENDIF»
Bundle-RequiredExecutionEnvironment: JavaSE-11
Bundle-RequiredExecutionEnvironment: JavaSE-17
Bundle-ActivationPolicy: lazy
«IF !exportedPackages.empty»
Export-Package: «FOR pack : exportedPackages.sort SEPARATOR ',\n '»«pack»«ENDFOR»
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public CharSequence getContent() {
_builder.newLineIfNotEmpty();
}
}
_builder.append("Bundle-RequiredExecutionEnvironment: JavaSE-11");
_builder.append("Bundle-RequiredExecutionEnvironment: JavaSE-17");
_builder.newLine();
_builder.append("Bundle-ActivationPolicy: lazy");
_builder.newLine();
Expand Down
Loading