Skip to content

Commit

Permalink
Remove usages of @AlwaysInline
Browse files Browse the repository at this point in the history
Usages of those annotations are discouraged upstream and prevents
us from changing the GraalVM dependency to graal-sdk only.
  • Loading branch information
jerboaa committed Jun 19, 2023
1 parent d777bbb commit d037433
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -23,7 +22,6 @@ public Config getConfig() {
}

@Substitute
@AlwaysInline("trivial")
public Config getConfig(ClassLoader classLoader) {
return getConfig();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit d037433

Please sign in to comment.