3 ms·
> Class files don't actually care about file names But URLClassLoader does, which definitely has something to do with this. True, before you get there, you'd
by brazzy 4y ago
> Class files don't actually care about file names
But URLClassLoader does, which definitely has something to do with this.
True, before you get there, you'd first need it to compile - but modern JDKs have a compiler API that allows customization via the StandardJavaFileManager interface, and that looks like it should be able to do the job to make source file names follow a different convention.