Source: jmol
Severity: important
Tags: ftbfs sid bookworm
User: debian-j...@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

Reply via email to