Skip to content

Commit

Permalink
Add a helpful message to the forbiddenapis configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
yrodiere committed Apr 1, 2021
1 parent d142180 commit 300e9b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extensions/hibernate-orm/deployment/banned-signatures.txt
Original file line number Diff line number Diff line change
@@ -1 +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.
java.lang.Class#getName()

0 comments on commit 300e9b8

Please sign in to comment.