blob: 3f30c1bcd96d2f2617927f3ade6dd689b7e1e928 [file] [log] [blame]
Tests that new-instance throws:
- InstantiationError on interfaces and abstract classes
- IllegalAccessError on inaccessible classes
- NoClassDefFoundError on unknown classes
This also verifies that we don't remove dead (code) new-instances which may
throw.