diff --git a/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/jarexport/FatJarExportTests.java b/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/jarexport/FatJarExportTests.java index 2d76ccff3ab..b5d2b10b149 100644 --- a/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/jarexport/FatJarExportTests.java +++ b/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/jarexport/FatJarExportTests.java @@ -29,7 +29,6 @@ import java.io.File; import java.io.FileInputStream; import java.io.InputStream; -import java.util.Map; import java.util.zip.ZipEntry; import java.util.zip.ZipFile; @@ -79,7 +78,6 @@ import org.eclipse.jdt.core.IPackageFragmentRoot; import org.eclipse.jdt.core.JavaCore; -import org.eclipse.jdt.internal.corext.util.JavaModelUtil; import org.eclipse.jdt.internal.junit.util.XmlProcessorFactoryJdtJunit; import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants; @@ -126,12 +124,6 @@ public static void setUpTest() { public void setUp() throws Exception { fProject= pts.getProject(); - Map options= fProject.getOptions(false); - String compliance= JavaCore.VERSION_1_8; - JavaModelUtil.setComplianceOptions(options, compliance); - JavaModelUtil.setDefaultClassfileOptions(options, compliance); // complete compliance options - fProject.setOptions(options); - fMainRoot= JavaProjectHelper.addSourceContainer(fProject, "src"); //$NON-NLS-1$ IPackageFragment fragment= fMainRoot.createPackageFragment("org.eclipse.jdt.ui.test", true, null); //$NON-NLS-1$ String str = """