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
try {
				IJavaProject[] jprojects= JavaCore.create(fRoot).getJavaProjects();
				for (int i= 0; i < jprojects.length; i++) {
					IJavaProject iJavaProject= jprojects[i];
					if (getValidProject(iJavaProject)) {
						fProjects.add(iJavaProject);
						break;
					}
				}				
			} catch (JavaModelException e) {
				JavaPlugin.log(e);
			}
		}
	}
	private IJavaElement getSelectableJavaElement(Object obj) {
		IJavaElement je= null;
		try {
			if (obj instanceof IAdaptable) {
				je= (IJavaElement) ((IAdaptable) obj).getAdapter(IJavaElement.class);
			}
			if (je == null) {
				return null;
			}
			switch (je.getElementType()) {
				case IJavaElement.JAVA_MODEL :
				case IJavaElement.JAVA_PROJECT :
				case IJavaElement.CLASS_FILE :
					break;
				case IJavaElement.PACKAGE_FRAGMENT_ROOT :
					if (containsCompilationUnits((IPackageFragmentRoot) je)) {