Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 754990 | Differences between
and this patch

Collapse All | Expand All

(-)./a/fred-build01488/src/freenet/support/JVMVersion.java (-3 / +1 lines)
Lines 1-6 Link Here
1
package freenet.support;
1
package freenet.support;
2
2
3
import static com.sun.jna.Platform.isAndroid;
4
3
5
import java.util.regex.Matcher;
4
import java.util.regex.Matcher;
6
import java.util.regex.Pattern;
5
import java.util.regex.Pattern;
Lines 36-43 Link Here
36
	    Pattern.compile("^0*(\\d+)(?:\\.0*(\\d+)(?:\\.0*(\\d+)(?:[_.]0*(\\d+))?)?)?.*$");
35
	    Pattern.compile("^0*(\\d+)(?:\\.0*(\\d+)(?:\\.0*(\\d+)(?:[_.]0*(\\d+))?)?)?.*$");
37
36
38
	public static boolean isEOL() {
37
	public static boolean isEOL() {
39
		return !isAndroid() // on android the version checks are done on the App level, so we do not check here.
38
		return isEOL(getCurrent());
40
			&& isEOL(getCurrent());
41
	}
39
	}
42
40
43
	public static boolean needsLegacyUpdater() {
41
	public static boolean needsLegacyUpdater() {

Return to bug 754990