If you read the JVM and Java language specifications where they describe class loading and linking, you will see that in general, a JVM is not allowed to complain about a nonexistent method or class ...
The Javadoc documentation for the Package class states: Package objects contain version information about the implementation and specification of a Java package. This versioning information is ...