RFR: 7167: Agent Plugin [v6]

Joshua Matsuoka jmatsuoka at openjdk.java.net
Tue Jun 15 17:04:53 UTC 2021


On Thu, 27 May 2021 09:31:41 GMT, Brice Dutheil <github.com+803621+bric3 at openjdk.org> wrote:

>> Joshua Matsuoka has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix rcp feature to use new agent plugin name
>
> application/org.openjdk.jmc.console.agent/src/main/java/org/openjdk/jmc/console/agent/raweditor/internal/XmlDocumentProvider.java line 82:
> 
>> 80: 
>> 81: 		try (FileOutputStream fos = new FileOutputStream(out)) {
>> 82: 			fos.write(document.get().getBytes()); // TODO: encoding?
> 
> Yes I think the code should impose UTF-8, this is better for XML.

Fixed, it now enforces UTF-8, thanks

-------------

PR: https://git.openjdk.java.net/jmc/pull/226


More information about the jmc-dev mailing list