Draft JEP: Launch Single-File Source-Code Programs
john.r.rose at oracle.com
Tue Feb 13 22:40:22 UTC 2018
On Feb 13, 2018, at 1:04 AM, Andrew Haley <aph at redhat.com> wrote:
>> Even if this is outside the scope
>> of JLS, any tools in OpenJDK that can process "Java source files" should
>> be specified to skip the shebang line.
> There is, I admit, some sense to that.
+1 It's a packaging feature, like "javac -encoding", outside the JLS,
but inside the Java ecosystem.
Perhaps it makes sense for any tool that knows about Java source
*and* encodings to *also* know about shebang.
More information about the jdk-dev