public final void testForValidEmit(Object object, String location) throws BuildException {
public final void testForValidEmit(Object object, String location) throws BuildException, JNodeClassNotFoundException {
	public final void testForValidEmit(Object object, String location) throws BuildException {		if (object == null) {			return;		} else if (object instanceof BootableObject) {			return;		} else if (object.getClass().isArray()) {			return;		} else if (object instanceof Class) {		    return;		} else {			final String clsName = object.getClass().getName().replace('/', '.');			/*			 * if (clsName.startsWith("org.jnode.")) { return;			 */			if (legalInstanceClasses.contains(clsName)) {				return;			}			final FieldInfo fieldInfo;            try {                fieldInfo = getFieldInfo(object.getClass());            } catch (ClassNotFoundException ex) {                throw new BuildException(ex);            }            if (!fieldInfo.isExact()) {			    BootLog.warn("Use of in-exact matching class ("  + clsName + ") in bootimage at " + location);			}		    legalInstanceClasses.add(clsName);		    return;						/*			 * final Class javaClass = object.getClass(); try { final VmClassType vmClass =			 * (VmClassType)loaderContext.loadClass(javaClass.getName(), true);			 * testClassCompatibility(javaClass, vmClass); System.out.println("Found compatible			 * class " + clsName); legalInstanceClasses.add(clsName); } catch			 * (ClassNotFoundException ex) { throw new BuildException("VmClass not found for " +			 * clsName, ex);			 *///			throw new BuildException("Cannot emit object of type " + clsName);		}	}