Skip to content

Commit 8049d2c

Browse files
committed
Using neverPartOfCompilation() is fine nowadays, but it should be passed a reason
* neverPartOfCompilation() is much safer to use now that it is checked statically when building a Native Image.
1 parent 7d1ec13 commit 8049d2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/.checkstyle_checks.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
</module>
145145
<module name="RegexpSinglelineJava">
146146
<property name="format" value="CompilerAsserts.neverPartOfCompilation\(\)"/>
147-
<property name="message" value="Use a @TruffleBoundary instead, which does not fail compilation if called in PE code."/>
147+
<property name="message" value="Pass a String argument explaining what to use instead in PE code."/>
148148
</module>
149149
<module name="RegexpSinglelineJava">
150150
<property name="format" value=",\s*@Cached"/>

0 commit comments

Comments
 (0)