maintainer-feedback requested: [Bug 263881] java/openjdk17-jre Exception: Thread CPU time measurement is not supported
Date: Mon, 09 May 2022 14:48:42 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-java (Nobody) <java@FreeBSD.org> for maintainer-feedback: Bug 263881: java/openjdk17-jre Exception: Thread CPU time measurement is not supported https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263881 --- Description --- Using OpenJDK17-JRE with GoCD Server (Zip version) from here: https://download.gocd.org/binaries/22.1.0-13913/generic/go-server-22.1.0-13913. zip GoCD is a CI/CD server. GoCD Server fails to run correctly when running a job in a Pipeline. Downgrading to OpenJDK11-JRE fixes the issue, the above error no longer appears. The following error seems to be the culprit. java.lang.UnsupportedOperationException: Thread CPU time measurement is not supported. at java.management/sun.management.ThreadImpl.verifyThreadCpuTime(Unknown Source) at java.management/sun.management.ThreadImpl.getThreadCpuTime(Unknown Source) at jdk.management/com.sun.management.internal.HotSpotThreadImpl.getThreadCpuTime(U nknown Source) at java.management/sun.management.ThreadImpl.getThreadCpuTime(Unknown Source) at com.thoughtworks.go.server.service.support.DaemonThreadStatsCollector.captureSt ats(DaemonThreadStatsCollector.java:33) at com.thoughtworks.go.server.messaging.activemq.JMSMessageListenerAdapter.runImpl (JMSMessageListenerAdapter.java:82) at com.thoughtworks.go.server.messaging.activemq.JMSMessageListenerAdapter.run(JMS MessageListenerAdapter.java:63) at java.base/java.lang.Thread.run(Unknown Source) Please drop me an email if you want me to setup an reproducable example. Thank you