--- old/src/os/solaris/dtrace/libjvm_db.c 2012-05-30 16:04:37.951875967 -0700 +++ new/src/os/solaris/dtrace/libjvm_db.c 2012-05-30 16:04:37.875874456 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2012, 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 @@ -514,10 +514,10 @@ char * signatureString = NULL; int err; - err = read_pointer(J, methodOopPtr + OFFSET_methodOopDesc_constants, &constantPool); - CHECK_FAIL(err); err = read_pointer(J, methodOopPtr + OFFSET_methodOopDesc_constMethod, &constMethod); CHECK_FAIL(err); + err = read_pointer(J->P, constMethod + OFFSET_constMethodOopDesc_constants, &constantPool); + CHECK_FAIL(err); /* To get name string */ err = ps_pread(J->P, constMethod + OFFSET_constMethodOopDesc_name_index, &nameIndex, 2);