Skip to content

Commit b506ade

Browse files
committed
SuppressWarnings("truffle-abstract-export") for not implemented abstract messages
1 parent 82c7cb4 commit b506ade

File tree

8 files changed

+16
-8
lines changed

8 files changed

+16
-8
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/bytes/PByteArray.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2022, Oracle and/or its affiliates.
2+
* Copyright (c) 2017, 2023, Oracle and/or its affiliates.
33
* Copyright (c) 2014, Regents of the University of California
44
*
55
* All rights reserved.
@@ -50,6 +50,7 @@
5050
import com.oracle.truffle.api.library.ExportMessage;
5151
import com.oracle.truffle.api.object.Shape;
5252

53+
@SuppressWarnings("truffle-abstract-export")
5354
@ExportLibrary(InteropLibrary.class)
5455
@ExportLibrary(PythonBufferAccessLibrary.class)
5556
public final class PByteArray extends PBytesLike {

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/bytes/PBytes.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2021, Oracle and/or its affiliates.
2+
* Copyright (c) 2017, 2023, Oracle and/or its affiliates.
33
* Copyright (c) 2014, Regents of the University of California
44
*
55
* All rights reserved.
@@ -40,6 +40,7 @@
4040
import com.oracle.truffle.api.library.ExportMessage;
4141
import com.oracle.truffle.api.object.Shape;
4242

43+
@SuppressWarnings("truffle-abstract-export")
4344
@ExportLibrary(InteropLibrary.class)
4445
@ExportLibrary(PythonBufferAcquireLibrary.class)
4546
public final class PBytes extends PBytesLike {

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/floats/PFloat.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2022, Oracle and/or its affiliates.
2+
* Copyright (c) 2017, 2023, Oracle and/or its affiliates.
33
* Copyright (c) 2014, Regents of the University of California
44
*
55
* All rights reserved.
@@ -43,6 +43,7 @@
4343

4444
import static com.oracle.graal.python.util.PythonUtils.toTruffleStringUncached;
4545

46+
@SuppressWarnings("truffle-abstract-export")
4647
@ExportLibrary(InteropLibrary.class)
4748
public class PFloat extends PythonBuiltinObject {
4849

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/ints/PInt.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2022, Oracle and/or its affiliates.
2+
* Copyright (c) 2017, 2023, Oracle and/or its affiliates.
33
* Copyright (c) 2013, Regents of the University of California
44
*
55
* All rights reserved.
@@ -51,6 +51,7 @@
5151
import com.oracle.truffle.api.object.Shape;
5252
import com.oracle.truffle.api.profiles.ConditionProfile;
5353

54+
@SuppressWarnings("truffle-abstract-export")
5455
@ExportLibrary(InteropLibrary.class)
5556
public final class PInt extends PythonBuiltinObject {
5657

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/list/PList.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2022, Oracle and/or its affiliates.
2+
* Copyright (c) 2017, 2023, Oracle and/or its affiliates.
33
* Copyright (c) 2013, Regents of the University of California
44
*
55
* All rights reserved.
@@ -49,6 +49,7 @@
4949
import com.oracle.truffle.api.object.Shape;
5050
import com.oracle.truffle.api.source.SourceSection;
5151

52+
@SuppressWarnings("truffle-abstract-export")
5253
@ExportLibrary(InteropLibrary.class)
5354
public final class PList extends PSequence {
5455
private final ListOrigin origin;

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/str/PString.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2022, Oracle and/or its affiliates.
2+
* Copyright (c) 2017, 2023, Oracle and/or its affiliates.
33
* Copyright (c) 2013, Regents of the University of California
44
*
55
* All rights reserved.
@@ -47,6 +47,7 @@
4747
import com.oracle.truffle.api.object.Shape;
4848
import com.oracle.truffle.api.strings.TruffleString;
4949

50+
@SuppressWarnings("truffle-abstract-export")
5051
@ExportLibrary(InteropLibrary.class)
5152
public final class PString extends PSequence {
5253
public static final HiddenKey INTERNED = new HiddenKey("_interned");

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/tuple/PTuple.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2021, Oracle and/or its affiliates.
2+
* Copyright (c) 2017, 2023, Oracle and/or its affiliates.
33
* Copyright (c) 2013, Regents of the University of California
44
*
55
* All rights reserved.
@@ -38,6 +38,7 @@
3838
import com.oracle.truffle.api.library.ExportMessage;
3939
import com.oracle.truffle.api.object.Shape;
4040

41+
@SuppressWarnings("truffle-abstract-export")
4142
@ExportLibrary(InteropLibrary.class)
4243
public final class PTuple extends PSequence {
4344

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/runtime/sequence/PSequence.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2022, Oracle and/or its affiliates.
2+
* Copyright (c) 2017, 2023, Oracle and/or its affiliates.
33
* Copyright (c) 2013, Regents of the University of California
44
*
55
* All rights reserved.
@@ -42,6 +42,7 @@
4242
import com.oracle.truffle.api.library.ExportMessage;
4343
import com.oracle.truffle.api.object.Shape;
4444

45+
@SuppressWarnings("truffle-abstract-export")
4546
@ExportLibrary(InteropLibrary.class)
4647
public abstract class PSequence extends PythonBuiltinObject {
4748

0 commit comments

Comments
 (0)