newrelic-java-agent icon indicating copy to clipboard operation
newrelic-java-agent copied to clipboard

WebSphere Liberty does not only run on IBM JDKs

Open mstoodle opened this issue 2 years ago • 2 comments

Description

While researching #841 I came across code in the BootstrapAgent that appears to assume that WebSphere Liberty only runs on IBM JVMs, which is not the case: Liberty can run on e.g. Eclipse Temurin just fine, if slower and using more memory ;) .

I'm not sure if there would be a performance impact but basically all that's required to correct this problem is to remove this if statement; https://github.com/newrelic/newrelic-java-agent/blob/478ccc34989b05f7dce0333c7dc762d574cfa4cf/newrelic-agent/src/main/java/com/newrelic/bootstrap/BootstrapAgent.java#L134

Expected Behavior

Troubleshooting or NR Diag results

Steps to Reproduce

Your Environment

Additional context

(Migrate to Jira)

mstoodle avatar May 06 '22 18:05 mstoodle