Bug#1011184: jalview: FTBFS with OpenJDK 17 due to JSObject.getWindow() removal

Emmanuel Bourg ebourg at apache.org
Tue May 17 22:59:07 BST 2022


Source: jalview
Version: 2.11.1.4+dfsg-3
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17


jalview fails to build with OpenJDK 17 due to the removal of the JSObject.getWindow() method:

  Compiling with JDK Java compiler API.
  /<<PKGBUILDDIR>>/src/jalview/viewmodel/seqfeatures/FeatureRendererModel.java:296: warning: [synchronization] attempt to synchronize on an instance of a value-based class
      synchronized (firing)
      ^
  /<<PKGBUILDDIR>>/src/jalview/appletgui/Tooltip.java:188: warning: [removal] Applet in java.applet has been deprecated and marked for removal
        if ((parent instanceof Applet) || (parent instanceof Frame))
                               ^
  /<<PKGBUILDDIR>>/src/jalview/bin/JalviewLite.java:87: warning: [removal] Applet in java.applet has been deprecated and marked for removal
  public class JalviewLite extends Applet
                                   ^
  /<<PKGBUILDDIR>>/src/jalview/bin/JalviewLite.java:87: warning: [removal] Applet in java.applet has been deprecated and marked for removal
  public class JalviewLite extends Applet
                                   ^
  /<<PKGBUILDDIR>>/src/jalview/bin/JalviewLite.java:87: warning: [removal] Applet in java.applet has been deprecated and marked for removal
  public class JalviewLite extends Applet
                                   ^
  /<<PKGBUILDDIR>>/src/jalview/bin/JalviewLite.java:1418: error: cannot find symbol
        JSObject scriptObject = JSObject.getWindow(this);
                                        ^
    symbol:   method getWindow(JalviewLite)
    location: class JSObject
  /<<PKGBUILDDIR>>/src/jalview/bin/JalviewLite.java:1587: error: cannot find symbol
          JSObject scriptObject = JSObject.getWindow(this);
                                          ^
    symbol:   method getWindow(JalviewLite)
    location: class JSObject
  /<<PKGBUILDDIR>>/src/jalview/bin/JalviewLite.java:1613: error: cannot find symbol
          scriptObject = JSObject.getWindow(this);
                                 ^
    symbol:   method getWindow(JalviewLite)
    location: class JSObject
  /<<PKGBUILDDIR>>/src/jalview/javascript/JSFunctionExec.java:165: error: cannot find symbol
              scriptObject = JSObject.getWindow(jvlite);
                                     ^
    symbol:   method getWindow(JalviewLite)
    location: class JSObject


Applets are dead, the JalviewLite class should be scrapped.



More information about the pkg-java-maintainers mailing list