package foo;

<warning descr="Redundant semicolons between import statements are prohibited starting from Java 21">;</warning>
import java.util.List;
<warning descr="Redundant semicolons between import statements are prohibited starting from Java 21">;</warning>
import java.util.Date;
;

class Foo {}