Regression

org.eclipse.jdt.core.tests.compiler.regression.ExternalizeStringLiterals15Test.test007 - 1.8 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 1 build (Since Failed#108 )
Took 0.62 sec.

Error Message

test007 - Eclipse found error(s) but Javac did not find any.
----------- Expected ------------

------------ but was ------------
----------\n
1. ERROR in X.java (at line 3)\n
 @A(name = "name", //$NON-NLS-1$\n
                   ^^^^^^^^^^^^^\n
Unnecessary $NON-NLS$ tag\n
----------\n
2. ERROR in X.java (at line 4)\n
 value = "Test") //$NON-NLS-1$\n
                 ^^^^^^^^^^^^^\n
Unnecessary $NON-NLS$ tag\n
----------\n
3. ERROR in X.java (at line 6)\n
 @X2("") //$NON-NLS-1$\n
         ^^^^^^^^^^^^^\n
Unnecessary $NON-NLS$ tag\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in X.java (at line 3)\n
 @A(name = "name", //$NON-NLS-1$\n
                   ^^^^^^^^^^^^^\n
Unnecessary $NON-NLS$ tag\n
----------\n
2. ERROR in X.java (at line 4)\n
 value = "Test") //$NON-NLS-1$\n
                 ^^^^^^^^^^^^^\n
Unnecessary $NON-NLS$ tag\n
----------\n
3. ERROR in X.java (at line 6)\n
 @X2("") //$NON-NLS-1$\n
         ^^^^^^^^^^^^^\n
Unnecessary $NON-NLS$ tag\n
----------\n
]>

Stacktrace

junit.framework.ComparisonFailure: 
test007 - Eclipse found error(s) but Javac did not find any.
----------- Expected ------------

------------ but was ------------
----------\n
1. ERROR in X.java (at line 3)\n
	@A(name = "name", //$NON-NLS-1$\n
	                  ^^^^^^^^^^^^^\n
Unnecessary $NON-NLS$ tag\n
----------\n
2. ERROR in X.java (at line 4)\n
	value = "Test") //$NON-NLS-1$\n
	                ^^^^^^^^^^^^^\n
Unnecessary $NON-NLS$ tag\n
----------\n
3. ERROR in X.java (at line 6)\n
	@X2("") //$NON-NLS-1$\n
	        ^^^^^^^^^^^^^\n
Unnecessary $NON-NLS$ tag\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in X.java (at line 3)\n
	@A(name = "name", //$NON-NLS-1$\n
	                  ^^^^^^^^^^^^^\n
Unnecessary $NON-NLS$ tag\n
----------\n
2. ERROR in X.java (at line 4)\n
	value = "Test") //$NON-NLS-1$\n
	                ^^^^^^^^^^^^^\n
Unnecessary $NON-NLS$ tag\n
----------\n
3. ERROR in X.java (at line 6)\n
	@X2("") //$NON-NLS-1$\n
	        ^^^^^^^^^^^^^\n
Unnecessary $NON-NLS$ tag\n
----------\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.ExternalizeStringLiterals15Test.test007(ExternalizeStringLiterals15Test.java:233)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.ExternalizeStringLiterals15Test#test007 - 1.8
X.java [
public class X {
	@Annot({
		@A(name = "name", //$NON-NLS-1$
 		value = "Test") //$NON-NLS-1$
	})
	@X2("") //$NON-NLS-1$
	void foo() {
	}
}
@interface Annot {
	A[] value();
}
@interface A {
	String name();
	String value();
}
@interface X2 {
	String value();
}
]


Full results sent to /tmp/genie.jdt/comptest/run.1562990652563/1.8.0_162_20190713_000421.txt

Standard Error

----------------------------------------