Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Daniel2013-11-15 07:34:25 +0000
committerGerrit Code Review @ Eclipse.org2013-11-18 07:21:46 +0000
commite193ccd994def3fd574aee5335e8cf8a1c610ae4 (patch)
treedae9fa12ddc2f3e823c7cc4621fe6302d4f25af6
parent8416a6a1ddda58fb41169429fa85abf6c7275cfb (diff)
downloadrt.equinox.p2-e193ccd994def3fd574aee5335e8cf8a1c610ae4.tar.gz
rt.equinox.p2-e193ccd994def3fd574aee5335e8cf8a1c610ae4.tar.xz
rt.equinox.p2-e193ccd994def3fd574aee5335e8cf8a1c610ae4.zip
bug 421704 - equinox.p2.tests and equinox.p2.tests.ui failed on Linux
Don't skip some tests when run on java 1.6. 1.7 is a required BREE. Change-Id: I966275f840f76b4979bdcb38e4c567e4f5c8e6dd Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sharedinstall/InitialSharedInstall.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sharedinstall/InitialSharedInstall.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sharedinstall/InitialSharedInstall.java
index 2227a70e0..60e217ada 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sharedinstall/InitialSharedInstall.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sharedinstall/InitialSharedInstall.java
@@ -25,8 +25,6 @@ public class InitialSharedInstall extends AbstractSharedInstallTest {
public static Test suite() {
TestSuite suite = new ReconcilerTestSuite();
- if (isRunningJava16orPrevious())
- return suite;
suite.setName(InitialSharedInstall.class.getName());
suite.addTest(new InitialSharedInstall("setupRun"));
@@ -38,15 +36,6 @@ public class InitialSharedInstall extends AbstractSharedInstallTest {
return suite;
}
- public static boolean isRunningJava16orPrevious() {
- try {
- Class.forName("java.nio.file.attribute.AclEntry");
- } catch (ClassNotFoundException e) {
- return true;
- }
- return false;
- }
-
public InitialSharedInstall(String name) {
super(name);
}

Back to the top