Add jbang: single-file Java with JBang 0.132.1 on JDK 25 (deps, compact source files, Spring Boot, templates, native)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b6ZEVHGaYy15HAxRzy
This commit is contained in:
Ankur Mhatre
2026-12-01 08:20:46 +05:30
co-authored by Claude Sonnet 5.5
parent 7c677a39d2
commit ddc3ec9d90
34 changed files with 639 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
//JAVA 25+
// A compact source file (JEP 512, final in Java 25): no class, no "public static",
// no String[] args. The compiler wraps this in an implicit class named after the file.
String greeting = "Hello from a compact source file";
void main() {
IO.println(greeting);
IO.println("Implicit class: " + getClass().getName());
}