> I think we should change this and leave the path handling to a service.
For example a (don't quote me on the name) WriteableDynamicClassLoaderProvider could offer methods for getting the output stream to write a class file. The argument would only be the filename.
This seems to get pretty close to https://issues.apache.org/jira/browse/SLING-945Since script engines might also need to read class files, I suggest to also add a method for getting a stream for reading from a class file.
Michael
