Bug 5120 Empty popup doc in java editor
1. Go to Java Perspective. 2. Double click on a java file. 3. Move the i-beam over the beginning prefixes of an import statement. For example, the "org" of "import org.eclipse.swt.SWT". An empty hover help box is displayed.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/HTMLPrinter.java
char[] readBuffer= new char[2048];
		
		try {
			int n= rd.read(readBuffer);
			while (n > 0) {
				buffer.append(readBuffer, 0, n);
				n= rd.read(readBuffer);
			}
			return buffer.toString();
		} catch (IOException x) {
		}
		
		return null;
	}	
	
	public static void addPageProlog(StringBuffer buffer) {
		buffer.append("<html><body text=\"#000000\" bgcolor=\"#FFFF88\"><font size=-1>");
	}
	
	public static void addPageEpilog(StringBuffer buffer) {
		buffer.append("</font></body></html>");
	}
	
	public static void startBulletList(StringBuffer buffer) {
		buffer.append("<ul>");
	}
	
	public static void endBulletList(StringBuffer buffer) {
		buffer.append("</ul>");
	}