Bug 118588 Java Debug -> Inspect and Display
steps to reproduce: - start Java Debug - insert some breakpoints in the Java class - switch to the runtime workbench, add a label, and map it to the Java class - preview in html expected behavior - selected variables can be evaluated. actual behavior - an error message is printed saying that the expression cannot be evaluated.
UI/org.eclipse.birt.report.debug.ui/src/org/eclipse/birt/report/debug/internal/ui/launcher/util/WorkspaceClassPathFinder.java
newClassPath.add( curr.getPath( ).toFile( ).toURL( ) );
				} catch ( MalformedURLException e )
				{
					
				}
			}
		}
		return newClassPath;
	}
	/**
	 * Returns true if the given project is accessible and it has a java nature,
	 * otherwise false.
	 * 
	 * @param project
	 *            IProject
	 * @return boolean
	 */
	private boolean hasJavaNature( IProject project )
	{
		try
		{
			return project.hasNature( JavaCore.NATURE_ID );
		} catch ( CoreException e )
		{
			
		}
		return false;
	}
}