scottmarlow/jboss-as — comment on commit 9ee3e701ac91ae2c639a002feafce094690c512a
File: jpa/core/src/main/java/org/jboss/as/jpa/processor/PersistenceUnitDeploymentProcessor.java line 278
By n1hility:

You shouldn't need this check. That method already behaves like bindInfoFor when the entry isn't comp