diff --git a/wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/WasmInstance.java b/wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/WasmInstance.java index 6566eff342d5e..60eece93a7f3e 100644 --- a/wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/WasmInstance.java +++ b/wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/WasmInstance.java @@ -59,7 +59,7 @@ * Represents an instantiated WebAssembly module. */ @ExportLibrary(InteropLibrary.class) -@SuppressWarnings("static-method") +@SuppressWarnings({"static-method", "truffle-abstract-export", "deprecation"}) public final class WasmInstance extends RuntimeState implements TruffleObject { private List linkActions; diff --git a/wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/WasmScope.java b/wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/WasmScope.java index f77f5253b2d17..8eb13e9519c35 100644 --- a/wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/WasmScope.java +++ b/wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/WasmScope.java @@ -56,7 +56,7 @@ import com.oracle.truffle.api.profiles.InlinedBranchProfile; @ExportLibrary(InteropLibrary.class) -@SuppressWarnings({"static-method"}) +@SuppressWarnings({"static-method", "truffle-abstract-export", "deprecation"}) public final class WasmScope implements TruffleObject { private final WasmContext context; diff --git a/wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/api/Dictionary.java b/wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/api/Dictionary.java index 327a6efd17cb3..76bf171f08f23 100644 --- a/wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/api/Dictionary.java +++ b/wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/api/Dictionary.java @@ -52,6 +52,7 @@ import com.oracle.truffle.api.library.ExportMessage; @ExportLibrary(InteropLibrary.class) +@SuppressWarnings({"truffle-abstract-export", "deprecation"}) public class Dictionary implements TruffleObject { private final EconomicMap members; diff --git a/wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/api/WebAssembly.java b/wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/api/WebAssembly.java index 8ea8fd84fe20b..63fed210f4975 100644 --- a/wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/api/WebAssembly.java +++ b/wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/api/WebAssembly.java @@ -192,6 +192,7 @@ private static Object requireImportObject(Object importObject) { return importObject; } + @SuppressWarnings("deprecation") private static Object getImportObjectMemberInParentContext(Object importObject, ImportDescriptor descriptor, WasmContext context) { TruffleContext parentContext = context.environment().getContext().getParent(); Object prev = parentContext.enter(null); diff --git a/wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/debugging/representation/DebugObjectDisplayValue.java b/wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/debugging/representation/DebugObjectDisplayValue.java index c0afa49bd573f..f31a6da3adf9e 100644 --- a/wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/debugging/representation/DebugObjectDisplayValue.java +++ b/wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/debugging/representation/DebugObjectDisplayValue.java @@ -67,7 +67,7 @@ * Represents an object scope in the debug environment. */ @ExportLibrary(InteropLibrary.class) -@SuppressWarnings("static-method") +@SuppressWarnings({"static-method", "truffle-abstract-export", "deprecation"}) public final class DebugObjectDisplayValue extends DebugDisplayValue implements TruffleObject { private final DebugContext context; private final DebugLocation location; diff --git a/wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/exception/WasmException.java b/wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/exception/WasmException.java index 0d1b37e34dfc3..a7a05226ec378 100644 --- a/wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/exception/WasmException.java +++ b/wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/exception/WasmException.java @@ -51,7 +51,7 @@ import com.oracle.truffle.api.nodes.Node; @ExportLibrary(InteropLibrary.class) -@SuppressWarnings("static-method") +@SuppressWarnings({"static-method", "truffle-abstract-export", "deprecation"}) public final class WasmException extends AbstractTruffleException { private static final long serialVersionUID = -84137683950579647L;