agent/src/share/classes/sun/jvm/hotspot/jdi/ReferenceTypeImpl.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2002, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2002, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 686,697 **** SDE sde = null; sde = (sdeRef == null) ? null : (SDE)sdeRef.get(); if (sde == null) { String extension = null; if (saKlass instanceof InstanceKlass) { ! Symbol sdeSym = ((InstanceKlass)saKlass).getSourceDebugExtension(); ! extension = (sdeSym != null)? sdeSym.asString() : null; } if (extension == null) { sde = NO_SDE_INFO_MARK; } else { sde = new SDE(extension); --- 686,696 ---- SDE sde = null; sde = (sdeRef == null) ? null : (SDE)sdeRef.get(); if (sde == null) { String extension = null; if (saKlass instanceof InstanceKlass) { ! extension = ((InstanceKlass)saKlass).getSourceDebugExtension(); } if (extension == null) { sde = NO_SDE_INFO_MARK; } else { sde = new SDE(extension);