/** * Example according to JEP 445 *
* This actually does not require any compiler changes and should be compilable without {@code --enable-preview}. * It merely serves as a test case for the JVM launcher protocol. */ public aspect NamedAspectWithSimpleMainMethodPreview1 { void main() { System.out.println("Hello world!"); } }