Bug 5093 Lost exported classpath entries
Build 205 1. Create new java project 2. Open build path properties 3. Check JRE_LIB so it is exported 4. Press OK 5. Open build path properties again Observe: JRE_LIB is not exported (but it is according to the .classpath) If you press OK without paying attention, you will loose the fact that JRE_LIB was exported.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementSorter.java
private static final int INNER_TYPES=	1;
	private static final int CONSTRUCTORS=	2;
	private static final int STATIC_INIT= 3;
	private static final int STATIC_METHODS= 4;
	private static final int INIT= 5;
	private static final int METHODS= 6;
	private static final int STATIC_FIELDS= 7;
	private static final int FIELDS= 8;
	private static final int JAVAELEMENTS= 9;
	private static final int PACKAGEFRAGMENTROOT= 10;
	private static final int RESOURCEPACKAGES= 11;
	private static final int RESOURCEFOLDERS= 12;
	private static final int RESOURCES= 13;
	private static final int STORAGE= 14;
	
	private static final int OTHERS= 20;	
	private IClasspathEntry[] fClassPath;
	/*
	 * @see ViewerSorter#sort
	 */
	public void sort(Viewer v, Object[] property) {
		fClassPath= null;
		try {
			super.sort(v, property);
		} finally {
			fClassPath= null;
		}
	}
	
	/*