Skip to content

Commit

Permalink
Merge pull request #42474 from yrodiere/constantstest
Browse files Browse the repository at this point in the history
Update obsolete Forbiddenapis error message
yrodiere authored Aug 12, 2024
2 parents bcc2ca9 + 61f52e4 commit b859d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/hibernate-orm/deployment/banned-signatures.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@defaultMessage Don't use the pattern MyClass.class.getName() or DotName.createSimple("org.mycompany.MyClass"). Instead, create constants using createConstant("org.mycompany.MyClass") in io.quarkus.hibernate.orm.deployment.ClassNames. That way, all class names will get checked against the classpath in ConstantsTest.
@defaultMessage Don't use the pattern MyClass.class.getName() or DotName.createSimple("org.mycompany.MyClass"). Instead, create constants using createConstant("org.mycompany.MyClass") in io.quarkus.hibernate.orm.deployment.ClassNames. That way, all class names will get checked against the classpath in ClassNamesTest.
java.lang.Class#getName()

0 comments on commit b859d7f

Please sign in to comment.