diff options
author | Alexander Kurtakov | 2020-04-08 11:10:00 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2020-04-08 11:10:00 +0000 |
commit | ea6a74476298586b61d8172ddbd27aa04c5a6254 (patch) | |
tree | 38e81cf4980d839531172dcae9f9c0c95c36e3c3 | |
parent | 010ec318bdf1484d2e3967558eef188877f48fcb (diff) | |
download | rt.equinox.p2-ea6a74476298586b61d8172ddbd27aa04c5a6254.tar.gz rt.equinox.p2-ea6a74476298586b61d8172ddbd27aa04c5a6254.tar.xz rt.equinox.p2-ea6a74476298586b61d8172ddbd27aa04c5a6254.zip |
Bug 536106 - pack200 is being deprecated in java 11 and removed fromS4_16_0_M1I20200409-0200I20200408-1800
java 14
Ignore test relying on packed artifact when run on Java 14.
Change-Id: I6206d3ef3e39b84098fd0f0f7f3bd0e81914e289
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r-- | bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/ArtifactMirrorApplicationTest.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/ArtifactMirrorApplicationTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/ArtifactMirrorApplicationTest.java index f43cf4fbb..fbf40e45f 100644 --- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/ArtifactMirrorApplicationTest.java +++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/ArtifactMirrorApplicationTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2008, 2017 IBM Corporation and others. + * Copyright (c) 2008, 2017, 2020 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 @@ -882,6 +882,10 @@ public class ArtifactMirrorApplicationTest extends AbstractProvisioningTest { * Verifies that the mirror application executes processing steps correctly */ public void testArtifactProcessingSteps() { + if (System.getProperty("java.specification.version").compareTo("14") >= 0) { + // Test explicitly uses pack200 artifacts which are not supported on Java 14+ + return; + } //Setup: load the repository containing packed data File packedRepoLocation = getTestData("27.0", "/testData/mirror/mirrorPackedRepo"); IArtifactRepository packedRepo = null; |