RFR: 8283093: JMX connections should default to using an ObjectInputFilter [v3]

Kevin Walls kevinw at openjdk.org
Wed Oct 26 10:18:30 UTC 2022


On Tue, 25 Oct 2022 18:16:17 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:

>> Kevin Walls has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Additional test with command-line filter setting.
>
> test/jdk/javax/management/remote/mandatory/connection/DefaultAgentFilterTest.java line 309:
> 
>> 307:         try {
>> 308:             // Add custom filter on command-line.
>> 309:             testDefaultAgent(null, "-Dcom.sun.management.jmxremote.serial.filter.pattern=\"java.lang.*;java.math.BigInteger;java.math.BigDecimal;java.util.*;javax.management.openmbean.*;javax.management.ObjectName;java.rmi.MarshalledObject;javax.security.auth.Subject;DefaultAgentFilterTest$MyTestObject;!*\"");
> 
> Long line. Can we use string concatenation to break it?

Yes, done!

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

PR: https://git.openjdk.org/jdk/pull/10507


More information about the serviceability-dev mailing list