Bug 15544 JavaDoc wizard includes non-selected packages
If you have two source folders: src and test, and tell the JavaDoc wizard to use only the packages in src, it will include any matching packages from the test source folder. Eg. If I have select the package 'ca.beq.tundra' in the 'src' folder, the generated JavaDocs will also include classes from the 'ca.beq.tundra' package in the 'test' folder. Using integration build 0502.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocTreeWizardPage.java
fInputGroup=
			new CheckboxTreeAndListGroup(
				c,
				fStore.getRoot(),
				treeContentProvider,
				new JavaElementLabelProvider(JavaElementLabelProvider.SHOW_DEFAULT),
				listContentProvider,
				new JavaElementLabelProvider(JavaElementLabelProvider.SHOW_DEFAULT),
				SWT.NONE,
				convertWidthInCharsToPixels(60),
				convertHeightInCharsToPixels(10));
		fInputGroup.addCheckStateListener(new ICheckStateListener() {
			public void checkStateChanged(CheckStateChangedEvent e) {
				doValidation(TREESTATUS);
				
				IJavaElement el= null;
				Object[] set= fInputGroup.getAllCheckedTreeItems().toArray();	
				for (int i = 0; i < set.length; i++) {
					IJavaElement javaElement = (IJavaElement)set[i];
					if(javaElement instanceof IJavaModel)
						continue;
					else {
						el=(IJavaElement) set[i];
						break;
					}	
				}
				if(el != null)	
					fWizard.setProject(el.getJavaProject());
			}
		});