Commit Graph

8 Commits

Author SHA1 Message Date
md_5
8d4cabb8d0 Update to use asm-debug-all so we can get line numbers and generic sigs. 2013-07-15 09:45:16 +10:00
md_5
76d73e3c84 Update license headers 2013-06-11 10:49:15 +10:00
md-5
f943b5a6c5 Catch exception not throwable 2013-05-10 14:37:42 +10:00
Agaricus
710ccc6439 Catch all errors in getParents(), improves Java 8 compatibility
If the superclasses cannot be read in ClassLoaderProvider for any reason,
we ignore it and move on. This was the case before but the exception catch
was changed to only include IOError during the 1.5 refactor. This uncovered
an issue where on Java 8 inheritance traversal was hitting the Java 8 classes
in the JRE and throwing IllegalArgumentExceptions from ASM 4.1 since it does
not yet support the 52.0 classfile format.

To restore the previous behavior we change from catching IOException to Throwable,
including IllegalArgumentException. This will prevent correct inheritance trees
to be built on Java 8 classes however this is no worse than before and could be
fixed separately by an ASM 5 or 4.1.1 update once/if it is available.

For background see:
https://github.com/MinecraftPortCentral/MCPC-Plus/issues/841
2013-05-09 19:56:07 -07:00
Agaricus
29104f24d2 Fix null superclass in inheritance map
Object has no superclass, so don't add it to the list.
Also allow InheritanceMap setParents null as a shorthand for none.
2013-04-26 18:46:28 -07:00
md_5
6ea97c26c8 Remove obsolete inheritance providers and globalise verbose setting 2013-04-20 13:33:50 +10:00
md_5
132584eda4 Refactor some of the inheritance providers. 2013-04-20 13:31:42 +10:00
md_5
73b1cfd81c Refactor a few classes into packages. 2013-04-20 12:19:18 +10:00