Failed

org.eclipse.jdt.core.tests.compiler.regression.NullTypeAnnotationTest.testBug415850_03 - 1.8 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 4 builds (Since #6 )
Took 0.73 sec.

Error Message

testBug415850_03 - Javac found warning(s) but Eclipse did not find any.
----------- Expected ------------

------------ but was ------------
warning: [deprecation] getDay() in Date has been deprecated\n
1 warning\n

--------- Difference is ----------
 expected:<[]> but was:<[warning: [deprecation] getDay() in Date has been deprecated\n
1 warning\n
]>

Stacktrace

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

------------ but was ------------
warning: [deprecation] getDay() in Date has been deprecated\n
1 warning\n

--------- Difference is ----------
 expected:<[]> but was:<[warning: [deprecation] getDay() in Date has been deprecated\n
1 warning\n
]>
	at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertStringEquals(TestCase.java:260)
	at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertEquals(TestCase.java:236)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runJavac(AbstractRegressionTest.java:2064)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runTest(AbstractRegressionTest.java:2814)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runTest(AbstractRegressionTest.java:2539)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runConformTest(AbstractRegressionTest.java:3028)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractNullAnnotationTest.runConformTestWithLibs(AbstractNullAnnotationTest.java:183)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractNullAnnotationTest.runConformTestWithLibs(AbstractNullAnnotationTest.java:165)
	at org.eclipse.jdt.core.tests.compiler.regression.NullTypeAnnotationTest.testBug415850_03(NullTypeAnnotationTest.java:2830)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.NullTypeAnnotationTest#testBug415850_03 - 1.8
X.java [
import java.lang.annotation.*;
import java.util.Date;
import static java.lang.annotation.ElementType.*; 
@Target(TYPE_USE)
@interface Vernal {}
interface I {
	int f(Date d);
}
class X {
	static void monitorTemperature(Object myObject) {
		I i = @Vernal Date::getDay;
	}
}

]


Full results sent to /tmp/comptest/run.1514610271420/1.8.0_131_20171230_000432.txt

Standard Error

--- javac err: ---
warning: [deprecation] getDay() in Date has been deprecated
1 warning

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