In JDK 11 we added nestmates (JEP 181), the JVMS was changed to allow invoking private methods via invokeinterface and invokevirtual. As part of that support, some of the restrictions for invokeinterface that used to throw an IllegalAccessException now succeed or throw AbstractMethodError.
The tests need to be modified so that if you are running a jdk >= 11,
that the invokeinterface expected behaviors are different - including for older class file versions.
It is ok to fix the tests before or after colocating them, that should not be a blocker.