From acfebc240661057c438bb70457999d75f304fbeb Mon Sep 17 00:00:00 2001 From: Sinri Edogawa Date: Wed, 10 Apr 2024 14:34:10 +0800 Subject: [PATCH] An IDEA 2024.1 issue Signed-off-by: Sinri Edogawa --- .../keel/test/lab/idea/ChildWithoutMainButSuperHas.java | 4 ++++ .../io/github/sinri/keel/test/lab/idea/SuperWithMain.java | 7 +++++++ .../io/github/sinri/keel/test/lab/idea/package-info.java | 1 + 3 files changed, 12 insertions(+) create mode 100644 src/test/java/io/github/sinri/keel/test/lab/idea/ChildWithoutMainButSuperHas.java create mode 100644 src/test/java/io/github/sinri/keel/test/lab/idea/SuperWithMain.java create mode 100644 src/test/java/io/github/sinri/keel/test/lab/idea/package-info.java diff --git a/src/test/java/io/github/sinri/keel/test/lab/idea/ChildWithoutMainButSuperHas.java b/src/test/java/io/github/sinri/keel/test/lab/idea/ChildWithoutMainButSuperHas.java new file mode 100644 index 0000000..254f0e9 --- /dev/null +++ b/src/test/java/io/github/sinri/keel/test/lab/idea/ChildWithoutMainButSuperHas.java @@ -0,0 +1,4 @@ +package io.github.sinri.keel.test.lab.idea; + +public class ChildWithoutMainButSuperHas extends SuperWithMain { +} diff --git a/src/test/java/io/github/sinri/keel/test/lab/idea/SuperWithMain.java b/src/test/java/io/github/sinri/keel/test/lab/idea/SuperWithMain.java new file mode 100644 index 0000000..377b33b --- /dev/null +++ b/src/test/java/io/github/sinri/keel/test/lab/idea/SuperWithMain.java @@ -0,0 +1,7 @@ +package io.github.sinri.keel.test.lab.idea; + +public class SuperWithMain { + public static void main(String[] args) { + System.out.println("Super!"); + } +} diff --git a/src/test/java/io/github/sinri/keel/test/lab/idea/package-info.java b/src/test/java/io/github/sinri/keel/test/lab/idea/package-info.java new file mode 100644 index 0000000..d91c756 --- /dev/null +++ b/src/test/java/io/github/sinri/keel/test/lab/idea/package-info.java @@ -0,0 +1 @@ +package io.github.sinri.keel.test.lab.idea; \ No newline at end of file