[Bug 295543] devel/arduino18 not work with openjdk25 but work on openjdk8

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 24 May 2026 08:06:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295543

            Bug ID: 295543
           Summary: devel/arduino18 not work with openjdk25 but work on
                    openjdk8
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kevans@freebsd.org
          Reporter: yklaxds@gmail.com
          Assignee: kevans@freebsd.org
             Flags: maintainer-feedback?(kevans@freebsd.org)

devel/arduino18 not work with openjdk25 but work on openjdk8

On openjdk25:

--------------
ykla@ykla:~ arduino
Picked up JAVA_TOOL_OPTIONS: 
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by processing.app.Platform in
an unnamed module (file:/usr/local/arduino/lib/arduino-core.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers
in this module
WARNING: Restricted methods will be blocked in a future release unless native
access is enabled

[main] WARN javax.jmdns.impl.JmmDNSImpl - Unexpected unhandled exception:
java.net.SocketException: joinGroup failed
java.lang.NullPointerException: Cannot invoke "java.io.File.getName()" because
the return value of "java.io.File.getParentFile()" is null
        at processing.app.Base.rebuildRecentSketchesMenuItems(Base.java:886)
        at processing.app.Editor.buildFileMenu(Editor.java:555)
        at processing.app.Editor.buildMenuBar(Editor.java:465)
        at processing.app.Editor.<init>(Editor.java:252)
        at processing.app.Base.handleOpen(Base.java:838)
        at processing.app.Base.handleOpen(Base.java:824)
        at processing.app.Base.handleOpen(Base.java:820)
        at processing.app.Base.handleNew(Base.java:759)
        at processing.app.Base.<init>(Base.java:465)
        at processing.app.Base.main(Base.java:144)
----------------------

-- 
You are receiving this mail because:
You are the assignee for the bug.