Package com.sun.jdi

Examples of com.sun.jdi.ClassLoaderReference


          //showJarsUsed();
        }
    }
   
    void loadClassDebug(ReferenceType rt, ThreadReference thr) {
      ClassLoaderReference clr = rt.classLoader();
      if(clr==null) return; //don't deal with bootstrap classloader
     
      try {
      String classLoaderClassName = clr.referenceType().name();
      IntegerValue vHashCode = (IntegerValue) simpleInvokeVMMethod(thr, clr, "hashCode");
      String iHashCode = Integer.toHexString(vHashCode.value());

      classJarsDebug(rt, thr, clr, classLoaderClassName, iHashCode);
      classloaderGetParentDebug(thr, clr, classLoaderClassName, iHashCode);
View Full Code Here


   * @see org.eclipse.jdt.debug.core.IJavaReferenceType#getClassLoaderObject()
   */
  public IJavaObject getClassLoaderObject() throws DebugException {
    try {
      ReferenceType type = (ReferenceType) getUnderlyingType();
      ClassLoaderReference classLoader = type.classLoader();
      if (classLoader != null) {
        return (IJavaObject) JDIValue.createValue(getJavaDebugTarget(),
            classLoader);
      }
    } catch (RuntimeException e) {
View Full Code Here

    if (fArgumentTypes != null) {
      return fArgumentTypes;
    }
    List<Type> result = new ArrayList<Type>();
    Iterator<String> iter = argumentTypeSignatures().iterator();
    ClassLoaderReference classLoaderRef = declaringType().classLoader();
    VirtualMachineImpl vm = virtualMachineImpl();
    while (iter.hasNext()) {
      String argumentTypeSignature = iter.next();
      result.add(TypeImpl.create(vm, argumentTypeSignature, classLoaderRef));
    }
View Full Code Here

TOP

Related Classes of com.sun.jdi.ClassLoaderReference

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.