diff --git a/core/runtime/src/main/java/io/quarkus/runtime/graal/ConfigurationSubstitutions.java b/core/runtime/src/main/java/io/quarkus/runtime/graal/ConfigurationSubstitutions.java index c65c8bbad718c..deda93e99ee77 100644 --- a/core/runtime/src/main/java/io/quarkus/runtime/graal/ConfigurationSubstitutions.java +++ b/core/runtime/src/main/java/io/quarkus/runtime/graal/ConfigurationSubstitutions.java @@ -2,7 +2,6 @@ import org.eclipse.microprofile.config.Config; -import com.oracle.svm.core.AlwaysInline; import com.oracle.svm.core.annotate.Alias; import com.oracle.svm.core.annotate.Substitute; import com.oracle.svm.core.annotate.TargetClass; @@ -23,7 +22,6 @@ public Config getConfig() { } @Substitute - @AlwaysInline("trivial") public Config getConfig(ClassLoader classLoader) { return getConfig(); } diff --git a/extensions/jdbc/jdbc-mssql/runtime/src/main/java/io/quarkus/jdbc/mssql/runtime/graal/com/microsoft/sqlserver/jdbc/SQLServerJDBCSubstitutions.java b/extensions/jdbc/jdbc-mssql/runtime/src/main/java/io/quarkus/jdbc/mssql/runtime/graal/com/microsoft/sqlserver/jdbc/SQLServerJDBCSubstitutions.java index b5e861f1b2c83..02fbe8d1fa497 100644 --- a/extensions/jdbc/jdbc-mssql/runtime/src/main/java/io/quarkus/jdbc/mssql/runtime/graal/com/microsoft/sqlserver/jdbc/SQLServerJDBCSubstitutions.java +++ b/extensions/jdbc/jdbc-mssql/runtime/src/main/java/io/quarkus/jdbc/mssql/runtime/graal/com/microsoft/sqlserver/jdbc/SQLServerJDBCSubstitutions.java @@ -9,7 +9,6 @@ import com.microsoft.sqlserver.jdbc.SQLServerException; import com.microsoft.sqlserver.jdbc.SQLServerStatement; import com.microsoft.sqlserver.jdbc.SqlAuthenticationToken; -import com.oracle.svm.core.AlwaysInline; import com.oracle.svm.core.annotate.Delete; import com.oracle.svm.core.annotate.Substitute; import com.oracle.svm.core.annotate.TargetClass; @@ -87,7 +86,6 @@ final class SQLServerFMTQuery { final class DisableFMTRemove { @Substitute - @AlwaysInline("We need this to be constant folded") public final boolean getUseFmtOnly() throws SQLServerException { return false;//Important for this to be disabled via a constant }