[Debichem-devel] Bug#981989: jmol: FTBFS with OpenJDK 17 due to JSObject.getWindow() removal

Emmanuel Bourg ebourg at apache.org
Fri Feb 5 14:42:35 GMT 2021


Source: jmol
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17

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


  build:
       [echo] copying files from ../Jmol/src/org/jmol
       [copy] Copying 5 files to /<<PKGBUILDDIR>>/JSpecView/src/org/jmol
       [echo] getting application icons and resources
      [mkdir] Created dir: /<<PKGBUILDDIR>>/JSpecView/bin
      [javac] Compiling 86 source files to /<<PKGBUILDDIR>>/JSpecView/bin
      [javac] /<<PKGBUILDDIR>>/JSpecView/src/jspecview/applet/JSVApplet.java:483: error: cannot find symbol
      [javac]                     JSObject jso = JSObject.getWindow(this);
      [javac]                                            ^
      [javac]   symbol:   method getWindow(JSVApplet)
      [javac]   location: class JSObject
      [javac] Note: Some input files use or override a deprecated API.
      [javac] Note: Recompile with -Xlint:deprecation for details.
      [javac] 1 error



More information about the Debichem-devel mailing list