Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Class.getPackage() return null for array and primitve classes
Per the javadoc: public Package getPackage() If this class represents an array type, a primitive type or void, this method returns null. Note that the reference implementation has this behaviour in Java 8, but it was not a requirement until Java 9. Also clean up javadoc format and comments. Signed-off-by: Peter Bain <[email protected]>
- Loading branch information