Skip to content

Commit

Permalink
Merge pull request #42 from xingguang2013/master
Browse files Browse the repository at this point in the history
修复JVM dump文件名在windows系统下不能有【:】
  • Loading branch information
fengjiachun authored Dec 20, 2017
2 parents ce0c5c8 + 8e2b5e3 commit d859f24
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public void dumpJvmInfo() {

@Override
public void run() {
String now = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date());
String now = new SimpleDateFormat("yyyy-MM-dd_HH-mm-ss").format(new Date());
String name = threadPoolName + "_" + now;
FileOutputStream fileOutput = null;
try {
Expand Down

0 comments on commit d859f24

Please sign in to comment.