]
Ryan Emerson updated ISPN-11928:
--------------------------------
Status: Open (was: New)
Rest /v2/server/env should utilise System.getProperties()
---------------------------------------------------------
Key: ISPN-11928
URL:
https://issues.redhat.com/browse/ISPN-11928
Project: Infinispan
Issue Type: Enhancement
Components: REST
Affects Versions: 11.0.0.CR1
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Priority: Major
Fix For: 11.0.0.Final
Currently {{ServerResource#env}} utilises
{{ManagementFactory.getRuntimeMXBean().getSystemProperties()}} in order to return system
properties. The {{java.lang.management}} package is not supported with GraalVM native
compilation, therefore we should simply use {{System.getProperties}} instead.