jdk-24/test/langtools/tools/javac/importChecks/ImportsObservable.java

13 lines
374 B
Java

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