[8.x] WFLY-3779 IllegalAccessException when a built-in normal-scoped bean defines a package-private no-arg constructor

PR for master https://github.com/wildfly/wildfly/pull/6644