jdk-24/test/langtools/tools/javac/importChecks/ImportsObservable.java
2022-07-29 17:35:22 +00:00

13 lines
360 B
Java

/*
* @test /nodynamiccopyright/
* @bug 4869999 8193302
* @summary Verify that the compiler does not prematurely decide a package is not observable.
* @compile --release 8 ImportsObservable.java
* @compile/fail/ref=ImportsObservable.out -XDrawDiagnostics ImportsObservable.java
*/
import javax.*;
import javax.swing.*;
public class ImportsObservable {
}