-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added java 9+ compatibility (bugfix & addition) (#139)
* Enabled java9+ compatibility - SignatureChecker: upgraded from ASM5 to ASM7 - ClassFileVisitor: added ability to process Paths (nedded for "jrt:/modules") - SignatureBuilder: added java version switch (<=8 / >=9) and implemented signature creation for java 9+ * added support for java7+ and URIs like "jrt:/modules" * fixed bug: processing failed sometimes when inner classes existed Inner classes need to be processed first. By using a TreeSet, the files are automatically sorted with inner classes first. eg. like "Outer$Inner.class" before "Outer.class" * fixed issue: InputStream was not closed * fixed issue: FileSystemNotFoundException was thrown for paths like "C:/..." (with forward slash) * removed obsolete method - the inherited method did the same * changed process(Path path) to process each directory separately * fixed bug with paths like: "C:\..." (backslash) and others * implemented suggested changes #139 (comment) * improved exception handling https://github.com/mojohaus/animal-sniffer/pull/139/files * removed obsolete "throws IOException"
- Loading branch information
Showing
2 changed files
with
56 additions
and
18 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