Add explicit discussion of array types to Class.getCanonicalName, no change in behavior.
I didn't see any existing regression tests for the various "getFooName" methods of Class so I created a new test file for a handful of test cases. Please also review the corresponding CSR: https://bugs.openjdk.java.net/browse/JDK-8281922 ------------- Commit messages: - JDK-8281671: Class.getCanonicalName should explicitly over array classes Changes: https://git.openjdk.java.net/jdk/pull/7483/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7483&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8281671 Stats: 80 lines in 2 files changed: 80 ins; 0 del; 0 mod Patch: https://git.openjdk.java.net/jdk/pull/7483.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/7483/head:pull/7483 PR: https://git.openjdk.java.net/jdk/pull/7483