Re: typo in JConsole's MemoryPoolStat.getAfterGcUsage()

2012-05-05 Thread 曹旭东
d in the code > in yet > > > - Erik > > > Hi all, > > I've found a typo in JConsole's MemoryPoolStat.getAfterGcUsage(), which is > returning the wrong field. Here's a patch to fix it: > > diff -r 9e82ac15ab80 > src/share/classes/sun/tools/jconsole/Mem

Sv: typo in JConsole's MemoryPoolStat.getAfterGcUsage()

2012-05-05 Thread Erik Gahlin
Hi, I noticed the same thing when I was going through the code yesterday, fixing localization issues. I changed it to afterGcUsage, but I haven't tested or checked in the code in yet - Erik Hi all, I've found a typo in JConsole's MemoryPoolStat.getAfterGcUs

typo in JConsole's MemoryPoolStat.getAfterGcUsage()

2012-05-05 Thread 曹旭东
Hi all, I've found a typo in JConsole's MemoryPoolStat.getAfterGcUsage(), which is returning the wrong field. Here's a patch to fix it: diff -r 9e82ac15ab80 src/share/classes/sun/tools/jconsole/MemoryPoolStat.java --- a/src/share/classes/sun/tools/jconsole/MemoryPoolStat.java Thu