Bug 265037

Summary: deskutils/freeplane: does not run with openjdk18
Product: Ports & Packages Reporter: Dmitry Marakasov <amdmi3>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: nivit, ronald
Priority: --- Flags: bugzilla: maintainer-feedback? (nivit)
Version: Latest   
Hardware: Any   
OS: Any   

Description Dmitry Marakasov freebsd_committer freebsd_triage 2022-07-04 21:07:18 UTC
freeplane-1.10.3
openjdk18-18.0.1+10.1

```shell
% freeplane
openjdk version "18.0.1" 2022-04-19
OpenJDK Runtime Environment (build 18.0.1+10-1)
OpenJDK 64-Bit Server VM (build 18.0.1+10-1, mixed mode, sharing)
[: -lt: unexpected operator
[: -gt: unexpected operator
[: -eq: unexpected operator
[: -ge: unexpected operator
[: -ge: unexpected operator
Exception in thread "main" java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
	at java.base/java.lang.System.setSecurityManager(System.java:416)
	at org.freeplane.launcher.Launcher.launchWithoutUICheck(Launcher.java:291)
	at org.freeplane.launcher.Launcher.main(Launcher.java:88)
```
Comment 1 Ronald Klop freebsd_committer freebsd_triage 2024-09-25 09:43:57 UTC
The port is currently on version 1.12.6.
https://www.freshports.org/deskutils/freeplane

And the changelog of 1.11.9 says: "Allows all launchers to use Java up to version 21".
https://www.freeplane.org/info/history/history_en.txt

It looks like upstream solved the issue.

Is this PR still relevant?

NB: changed the maintainer-feedback flag to link to the current maintainer of the port.
Comment 2 Ronald Klop freebsd_committer freebsd_triage 2024-10-14 14:39:01 UTC
older issue
all mentioned software has had releases mentioning solutions to this problem. (see previous comment)
no feedback on previous comment

Sorry, the issue got no traction when it was reported. If the problem still happens please re-open this issue.