Apache NetBeans is an open source development environment, tooling platform, and application framework. NetBeans license violation checks are managed via the rat-exclusions.txt file. Set JAVA_HOME and ...
Indeed for NetBeans this codepath should not be hit. If permissions were somehow messed with though, the file might indeed be unreadable and thus explain why the "load from classpath" route is taken.