Bug 20666 Export JavaDoc should examine jdk compliance
The Export Javadoc wizard should examine the jdk1.3/jdk1.4 compliance for a project and add the appropriate javadoc switch by default to the javadoc args viewer. Result of not fixing: Javadoc users will get errors in the console complaining about all their assert statements, and then have to figure out the switches to add to correct this problem.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocOptionsManager.java
}
			}
			String hrefs= (String) fDependencies;
			StringTokenizer tokenizer= new StringTokenizer(hrefs, ";"); 
			while (tokenizer.hasMoreElements()) {
				String href= (String) tokenizer.nextElement();
				args.add("-link"); 
				args.add(href);
			}
		} 
		if (!fOverview.equals("")) { 
			args.add("-overview"); 
			args.add(fOverview);
		}
		for (int i= 0; i < fSourceElements.size(); i++) {
			IJavaElement curr= (IJavaElement) fSourceElements.get(i);
			if (curr instanceof IPackageFragment) {
				args.add(curr.getElementName());
			} else if (curr instanceof ICompilationUnit) {
				IPath p= curr.getResource().getLocation();
				if (p != null)
					args.add(p.toOSString());
			}
		}
		String[] res= (String[]) args.toArray(new String[args.size()]);
		return res;
	}
	public void createXML() {
		FileOutputStream objectStreamOutput= null;