--- old/agent/src/share/classes/sun/jvm/hotspot/debugger/AddressException.java Fri Sep 9 14:15:49 2011 +++ new/agent/src/share/classes/sun/jvm/hotspot/debugger/AddressException.java Fri Sep 9 14:15:49 2011 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -39,4 +39,8 @@ public long getAddress() { return addr; } + + public String getMessage() { + return Long.toHexString(addr); + } }