Hi!

Please review my fix for the following bug :

[ Bug ID: 7154822 forward port fix for Bug 13645891 to JDK8 jcmd (1024 byte file size limit issue) ]
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7154822

The issue is there is an arbitrary limit in the size of a script file you pass to the jcmd command (via the -f option) of 1024 bytes. The solution is for jcmd to break up the input file into individual lines and send them one at a time to the jvm.

A similar fix has already been done for JRockit's jrcmd command and will be released in R28.2.3.

[ jdk ]
http://cr.openjdk.java.net/~dbuck/7154822/webrev.00/

All the default jprt tests and the jdk_tools tests were run and passed.

Cheers,
-Buck

Reply via email to