jmh run exception in sample

Aleksey Shipilev aleksey.shipilev at oracle.com
Tue Feb 3 09:23:41 UTC 2015


On 02/03/2015 08:43 AM, 张博文 wrote:
> Exception in thread "main" java.lang.IllegalStateException: java.io.UnsupportedEncodingException: cp0
> at org.openjdk.jmh.runner.Runner.createOutputFormat(Runner.java:133)
> at org.openjdk.jmh.runner.Runner.<init>(Runner.java:112)
> at com.jmh.test.JMHSample_01_HelloWorld.main(JMHSample_01_HelloWorld.java:100)
> Caused by: java.io.UnsupportedEncodingException: cp0
> at java.io.PrintStream.toCharset(PrintStream.java:96)
> at java.io.PrintStream.<init>(PrintStream.java:175)
> at org.openjdk.jmh.util.UnCloseablePrintStream.<init>(UnCloseablePrintStream.java:34)
> at org.openjdk.jmh.runner.Runner.createOutputFormat(Runner.java:131)
> ... 2 more

I would guess this is the same as in:
 http://mail.openjdk.java.net/pipermail/jmh-dev/2015-February/001667.html

-Aleksey.




More information about the jmh-dev mailing list