Maurizio Cimadamore f89b798523 8161985: Spurious override of Object.getClass leads to NPE
Attr.adjustMethodReturnType() tweaks return types w/o checking what method is being patched

Reviewed-by: vromero
2016-07-22 12:38:06 +01:00

4 lines
312 B
Plaintext

T8161985b.java:9:18: compiler.err.override.meth: (compiler.misc.cant.override: getClass(), T8161985b, getClass(), java.lang.Object), final
T8161985b.java:12:22: compiler.err.cant.resolve.location.args: kindname.method, getSimpleName, , , (compiler.misc.location: kindname.class, java.lang.String, null)
2 errors