Skip to content

avoid crash of stub generation if an inner class throws on java class loading

Michi Hostettler requested to merge avoid-crash-on-class-loading into master

This fixes (or rather, works around) yet another case where an inner class throws a Java exception on class loading. Also, it keeps track of classes that once have failed loading not to attempt to load them again.

This goes in line with the opportunistic approach of stub generation - if certain java classes can not be imported, we should not break the entire generation process.

Merge request reports