RFR(S) 8199924: Solaris: Correctly enqueue null arguments of attach operations

Langer, Christoph christoph.langer at sap.com
Wed Mar 21 08:10:42 UTC 2018


Hi,

may I please ask for reviews of the following small fix.

Webrev: http://cr.openjdk.java.net/~clanger/webrevs/8199924.0/
Bug: https://bugs.openjdk.java.net/browse/JDK-8199924

If one passes null arguments to the varargs of attach operations, they get swallowed on Solaris and following arguments will shift to lower positions.

Other platform implementations handle this correctly, for instance linux:  http://hg.openjdk.java.net/jdk/jdk/file/f6ad4d73c834/src/jdk.attach/linux/classes/sun/tools/attach/VirtualMachineImpl.java#l178

Thanks
Christoph

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20180321/a31e5e42/attachment-0001.html>


More information about the serviceability-dev mailing list