Skip to content

Commit 6f2b7ad

Browse files
Reenable all checks regarding @Uninterruptible.
1 parent 9937697 commit 6f2b7ad

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/code/UninterruptibleAnnotationChecker.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,7 @@ private void checkOverrides(HostedMethod method, Uninterruptible methodAnnotatio
184184
Uninterruptible implAnnotation = Uninterruptible.Utils.getAnnotation(impl);
185185
if (implAnnotation != null) {
186186
if (methodAnnotation.callerMustBe() != implAnnotation.callerMustBe()) {
187-
// GR-45784: temporarily disabled so that we can remove legacy code
188-
// violations.add("callerMustBe: " + method.format("%H.%n(%p):%r") + " != " +
189-
// impl.format("%H.%n(%p):%r"));
187+
violations.add("callerMustBe: " + method.format("%H.%n(%p):%r") + " != " + impl.format("%H.%n(%p):%r"));
190188
}
191189
if (methodAnnotation.calleeMustBe() != implAnnotation.calleeMustBe()) {
192190
violations.add("calleeMustBe: " + method.format("%H.%n(%p):%r") + " != " + impl.format("%H.%n(%p):%r"));

0 commit comments

Comments
 (0)