Problemunvalidated
it is possible for the signature of the anonymous constructor to refer to an inaccessible type — JLS 8: § 15.9.5.1. Anonymous Constructors. Tension: This does not, in itself, cause any errors at either compile-time or run-time. Outcome: This code compiles and runs as expected.
a1318bc4-dcbe-45b1-8ee1-04a84eb97f19
it is possible for the signature of the anonymous constructor to refer to an inaccessible type — JLS 8: § 15.9.5.1. Anonymous Constructors. Tension: This does not, in itself, cause any errors at either compile-time or run-time. Outcome: This code compiles and runs as expected.