Why doesn't the Java runtime complain if the main() method isn't declared public?

John Zukowski

With Sun's reference implementation, they introduced this bug into the 1.2 implementation and haven't fixed it through the 1.3 release. The main() method is supposed to be public static void but it seems any access modifier works fine.