diff options
author | Sravan Kumar Lakkimsetti | 2021-02-17 07:37:52 +0000 |
---|---|---|
committer | Sravan Kumar Lakkimsetti | 2021-02-17 07:37:52 +0000 |
commit | 96e9f521b7e23da75f7233bf47f80b8d9154df45 (patch) | |
tree | 4d23b9e6acd2004e870638c9e6652c93941ff95f | |
parent | 4ffde08df16264cfbff159024893e456a508cde8 (diff) | |
download | eclipse.jdt.core-96e9f521b7e23da75f7233bf47f80b8d9154df45.tar.gz eclipse.jdt.core-96e9f521b7e23da75f7233bf47f80b8d9154df45.tar.xz eclipse.jdt.core-96e9f521b7e23da75f7233bf47f80b8d9154df45.zip |
Bug 571239 - [Tests] 21 test failures in I20210216-1340 on windowsS4_19_0_M3I20210222-0600I20210221-1800I20210221-0600I20210220-1800I20210220-0600I20210219-1800I20210219-0300I20210217-1800I20210217-0600
- Compiler user / as file separator. but the test is using
File.separator for / this causes windows to use \. which is incorrect.
Change-Id: I4ce8590eb838681bb266808297339d80053ec225
Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
-rw-r--r-- | org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/NullAnnotationBatchCompilerTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/NullAnnotationBatchCompilerTest.java b/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/NullAnnotationBatchCompilerTest.java index 5ee587e13b..ff78e89143 100644 --- a/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/NullAnnotationBatchCompilerTest.java +++ b/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/NullAnnotationBatchCompilerTest.java @@ -1103,12 +1103,12 @@ public class NullAnnotationBatchCompilerTest extends AbstractBatchCompilerTest { // expect eea-motivated problems in Test1 but no in FooImpl: String expectedCompilerMessage = "----------\n" + - "1. ERROR in ---OUTPUT_DIR_PLACEHOLDER---" + File.separator + "test1" + File.separator + "Test1.java (at line 7)\n" + + "1. ERROR in ---OUTPUT_DIR_PLACEHOLDER---/test1/Test1.java (at line 7)\n" + " String result = api.m(null);\n" + " ^^^^\n" + "Null type mismatch: required '@NonNull String' but the provided value is null\n" + "----------\n" + - "2. WARNING in ---OUTPUT_DIR_PLACEHOLDER---" + File.separator + "test1" + File.separator + "Test1.java (at line 8)\n" + + "2. WARNING in ---OUTPUT_DIR_PLACEHOLDER---/test1/Test1.java (at line 8)\n" + " System.out.println(result.toUpperCase());\n" + " ^^^^^^\n" + "Potential null pointer access: The variable result may be null at this location\n" + |