[ 
https://issues.apache.org/jira/browse/FELIX-6124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashok Kumar updated FELIX-6124:
-------------------------------
    Description: 
*Issue Summary :* Memory Usage details aren't available in System console [1]. 
It happens with Java 11. With Java 8, it loads fine. Pool Name contains single 
quotes e.g. 'name':'CodeHeap 'non-nmethods'' breaks the json format and UI 
rendering. 

[1] [http://localhost:4502/system/console/memoryusage]

 

Proposed patch - replace single quote with double quote. Patch Attached

 

CC: [~karlpauls]

  was:
*Issue Summary :* Memory Usage details aren't available in System console [1]. 
It happens with Java 11. With Java 8, it loads fine. Pool Name contains single 
quotes e.g. 'name':'CodeHeap 'non-nmethods'' breaks the json format and UI 
rendering. 

[1] [http://localhost:4502/system/console/memoryusage]

 

Proposed patch - replace single quote with double quote. Patch Attached


> Memoryusage Plugin : single quote in pool name malformed the json 
> ------------------------------------------------------------------
>
>                 Key: FELIX-6124
>                 URL: https://issues.apache.org/jira/browse/FELIX-6124
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>            Reporter: Ashok Kumar
>            Priority: Major
>         Attachments: malformed_json_with_single_quotes.patch
>
>
> *Issue Summary :* Memory Usage details aren't available in System console 
> [1]. It happens with Java 11. With Java 8, it loads fine. Pool Name contains 
> single quotes e.g. 'name':'CodeHeap 'non-nmethods'' breaks the json format 
> and UI rendering. 
> [1] [http://localhost:4502/system/console/memoryusage]
>  
> Proposed patch - replace single quote with double quote. Patch Attached
>  
> CC: [~karlpauls]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to