Again, using FindBugs, realized that in EjbEntityDescriptor.java:
In the methods setIdentifierAttribute and setVersionAttribute strings are being compared using ==, but .equals is what should be used.
Should I submit a JIRA and a patch?