Skip to content

Commit 763a40d

Browse files
author
Michal Medvecky
committed
rm incorrect compilation final usage
1 parent e20d0ec commit 763a40d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/exception/PBaseExceptionGroup.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,25 +49,25 @@
4949
public class PBaseExceptionGroup extends PBaseException {
5050
private final TruffleString message;
5151
private final Object[] exceptions;
52-
@CompilationFinal private PException parent; // effectively final
52+
private PException parent;
5353

5454
/**
5555
* Flag to denote if the `exceptions` field contains only reraised and/or unmatched exceptions.
5656
*/
57-
@CompilationFinal private boolean containsReraises; // effectively final
57+
private boolean containsReraises;
5858

5959
/**
6060
* This flag marks the outer/final exception group that encompasses all other exception groups
6161
* that are thrown at the end of the try-except* block. This is needed, since we can nest other
6262
* exception groups into exception groups themselves.
6363
*/
64-
@CompilationFinal private boolean isOuter; // effectively final
64+
private boolean isOuter;
6565

6666
/**
6767
* Context setting behaves somewhat differently when handling exception groups. This flag
6868
* assures, that context, after being once set, won't be set again/overwritten.
6969
*/
70-
@CompilationFinal private boolean contextWasExplicitlySet; // effectively final
70+
private boolean contextWasExplicitlySet;
7171

7272
public PBaseExceptionGroup(Object cls, Shape instanceShape, TruffleString message, Object[] exceptions, PTuple args) {
7373
super(cls, instanceShape, null, args);

0 commit comments

Comments
 (0)