Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Sep 2023 11:01:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 263881] java/openjdk17-jre Exception: Thread CPU time measurement is not supported
Message-ID:  <bug-263881-8522-L7SBRhMy7v@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-263881-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-263881-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263881

Borja Marcos <borjam@sarenet.es> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |borjam@sarenet.es

--- Comment #4 from Borja Marcos <borjam@sarenet.es> ---
FYI:=20

Confirmed for example with the 7.5 versions of UniFi Controller
(net-mgmt/unifi7).

They have switched to Java 17 as a minimum requirement and it doesn=C2=B4t =
work with
the current OpenJDK 17 for FreeBSD.

----
[2023-07-18 11:17:42,903] <webapi-8> ERROR [dispatcher] - Servlet.service()=
 for
servlet [dispatcher] in context with path [] threw exception [Request
processing failed; nested exception is
com.google.common.util.concurrent.UncheckedExecutionException:
java.lang.UnsupportedOperationException: Current thread CPU time measuremen=
t is
not supported.] with root cause
java.lang.UnsupportedOperationException: Current thread CPU time measuremen=
t is
not supported.
----

I reported it to Ubiquiti as those functions are optional and they should c=
heck
for availability before trying to use them, but I guess many other programs=
 can
fail in a similar way.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263881-8522-L7SBRhMy7v>