Mercurial > hg > truffle
changeset 3589:faa4e0c20d6a
Merge
author | Gilles Duboscq <gilles.m.duboscq@gmail.com> |
---|---|
date | Mon, 17 Oct 2011 14:08:47 +0200 |
parents | fac58f1753a4 (diff) 1692a2f9bfc5 (current diff) |
children | b2015b970785 |
files | |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/tools/IdealGraphVisualizer/Data/src/com/sun/hotspot/igv/data/serialization/Parser.java Fri Oct 14 15:39:40 2011 +0200 +++ b/src/share/tools/IdealGraphVisualizer/Data/src/com/sun/hotspot/igv/data/serialization/Parser.java Mon Oct 17 14:08:47 2011 +0200 @@ -99,6 +99,11 @@ private int maxId = 0; private int lookupID(String i) { + try { + return Integer.parseInt(i); + } catch (NumberFormatException nfe) { + // ignore + } Integer id = idCache.get(i); if (id == null) { id = maxId++;