Java 27 and 26: runnable demos and captured output for every JEP, plus version lanes
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// JEP 504 (Java 26) removed java.applet.*, javax.swing.JApplet and the AppletInitializer overload in java.beans.
|
||||
// On 25 this compiles with deprecation warnings. On 26 it does not compile.
|
||||
import java.applet.Applet;
|
||||
|
||||
public class AppletGone extends Applet {
|
||||
@Override public void init() { System.out.println("applet init"); }
|
||||
}
|
||||
Reference in New Issue
Block a user