diff options
author | Srikanth | 2012-06-27 03:06:20 +0000 |
---|---|---|
committer | Srikanth | 2012-06-27 03:06:20 +0000 |
commit | b4ced2e821335552b6b6a0579c4f5657b890fb24 (patch) | |
tree | 3db5a9adb0901fa4d51d7444fa858cff13c4f255 /org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/NullAnnotationTest.java | |
parent | 2b9e0aab771e40f0fa01ab73162468993f28d806 (diff) | |
download | eclipse.jdt.core-b4ced2e821335552b6b6a0579c4f5657b890fb24.tar.gz eclipse.jdt.core-b4ced2e821335552b6b6a0579c4f5657b890fb24.tar.xz eclipse.jdt.core-b4ced2e821335552b6b6a0579c4f5657b890fb24.zip |
Raised follow up defect and eliminated forced failure.
Diffstat (limited to 'org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/NullAnnotationTest.java')
-rw-r--r-- | org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/NullAnnotationTest.java | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/NullAnnotationTest.java b/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/NullAnnotationTest.java index 253c543f5c..a4d681957f 100644 --- a/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/NullAnnotationTest.java +++ b/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/NullAnnotationTest.java @@ -19,7 +19,6 @@ import junit.framework.Test; import org.eclipse.core.runtime.FileLocator; import org.eclipse.core.runtime.Platform; import org.eclipse.jdt.core.JavaCore; -import org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants; // see bug 186342 - [compiler][null] Using annotations for null checking public class NullAnnotationTest extends AbstractComparableTest { @@ -553,10 +552,6 @@ public void test_nonnull_parameter_013() { } // non-null varargs (message send) public void test_nonnull_parameter_015() { - if (this.complianceLevel > ClassFileConstants.JDK1_7) { - fail("Reminder: should check if JSR 308 mandates a change in handling vararg elements (see bug 365983)."); - return; - } runNegativeTest( new String[] { "X.java", @@ -606,10 +601,6 @@ public void test_nonnull_parameter_015() { } // non-null varargs (allocation and explicit constructor calls) public void test_nonnull_parameter_016() { - if (this.complianceLevel > ClassFileConstants.JDK1_7) { - fail("Reminder: should check if JSR 308 mandates a change in handling vararg elements (see bug 365983)."); - return; - } runNegativeTest( new String[] { "X.java", |