8 lines
259 B
Plaintext
8 lines
259 B
Plaintext
![]() |
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.
|