Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Corrected class name validation to no longer fail for Kotlin classes …
…on class path containing special characters (#1884) * Added test cases to demonstrate incorrect name validation. * Improved class name verification to match JVM specification. Also added logic to allow existing cases where a field descriptor or dotted class name is provided instead of a slashed (binary) class name. * Updated CHANGELOG.md. * Implemented code review feedback. * Documented private methods in class name validity checker with links to JVM spec. * Cleaned up array type checking code. * Added test to ensure that empty class names are rejected. * Fixing incorrect exception documentation in ClassName#isValidArrayFieldDescriptor.
- Loading branch information
Showing
3 changed files
with
156 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters