Failed

org.eclipse.jdt.core.tests.compiler.regression.TypeAnnotationTest.testBug485386 - 1.8 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

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

Error Message

testBug485386 - Eclipse/Javac standard output mismatch.
----------- Expected ------------
@TestAnn1(value="1")
------------ but was ------------
@TestAnn1(value=1)
--------- Difference is ----------
 expected:<@TestAnn1(value=["1"])> but was:<@TestAnn1(value=[1])>

Stacktrace

junit.framework.ComparisonFailure: testBug485386 - Eclipse/Javac standard output mismatch.
----------- Expected ------------
@TestAnn1(value="1")
------------ but was ------------
@TestAnn1(value=1)
--------- Difference is ----------
 expected:<@TestAnn1(value=["1"])> but was:<@TestAnn1(value=[1])>
	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:2068)
	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:1396)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runConformTest(AbstractRegressionTest.java:1393)
	at org.eclipse.jdt.core.tests.compiler.regression.TypeAnnotationTest.testBug485386(TypeAnnotationTest.java:6589)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.TypeAnnotationTest#testBug485386 - 1.8
Test.java [
import java.lang.annotation.*;
import java.lang.reflect.*;

@Retention(value = RetentionPolicy.RUNTIME)
@java.lang.annotation.Target(ElementType.TYPE_USE)
@interface TestAnn1 {
  String value() default "1";
}

public class Test {

  class Inner {
    public @TestAnn1() Inner() {
      System.out.println("New");
    }
  }

  public void test() throws SecurityException, NoSuchMethodException {
    Executable f = Test.Inner.class.getDeclaredConstructor(Test.class);
    AnnotatedType ae = f.getAnnotatedReturnType();
    Object o = ae.getAnnotation(TestAnn1.class);
    System.out.println(o);
  }
  
  public static void main(String... args) throws Exception {
    new Test().test();
  }
}

]


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

Standard Error

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