Bug 261002 - science/jmol: doesn't build with java14+ due to removed JSObject::getWindow
Summary: science/jmol: doesn't build with java14+ due to removed JSObject::getWindow
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL: https://sourceforge.net/p/jmol/bugs/623/
Keywords: honeypot
Depends on:
Blocks:
 
Reported: 2022-01-07 14:11 UTC by Benjamin Takacs
Modified: 2024-04-26 03:17 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (yuri)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Takacs 2022-01-07 14:11:52 UTC
As netscape.javascript.JSObject::getWindow got removed in openjdk14 the applet component of jmol doesn't build when using DEFAULT_VERSIONS += java=14.

Seems like debian fixed that issue by not building the applet anymore[0].

[0]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981989
[1]: https://bugs.openjdk.java.net/browse/JDK-8214832
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2022-01-07 16:38:22 UTC
Benjamin,

Thank you for this report. Hopefully the upstream would address this soon.


Yuri
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2022-01-09 06:07:06 UTC
Benjamin,

14.32.10 should be Java 14 compatible.

Thanks for reporting this issue.

Yuri
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-01-09 06:07:26 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=afc79020abd4993028512abe39074222bac83ffc

commit afc79020abd4993028512abe39074222bac83ffc
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-01-09 06:04:31 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-01-09 06:04:31 +0000

    science/jmol: Update 14.32.8 -> 14.32.10

    14.32.10 should be Java 14 compatible.

    PR:             261002
    Reported by:    Benjamin Takacs <nimaje+fbz@bureaucracy.de> (Java 14 incompatibility)

 science/jmol/Makefile | 2 +-
 science/jmol/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
Comment 4 amongmst 2022-03-07 04:32:07 UTC
MARKED AS SPAM
Comment 5 Justinmachany 2022-10-03 03:52:13 UTC
MARKED AS SPAM
Comment 6 Maria Linalis 2022-10-07 03:57:08 UTC
MARKED AS SPAM
Comment 7 lukcy 2022-11-14 06:50:03 UTC
MARKED AS SPAM
Comment 8 candyyy 2022-12-06 03:47:41 UTC
MARKED AS SPAM
Comment 9 achecustomer 2022-12-27 01:52:34 UTC
MARKED AS SPAM