Duplicate :
|
The following test is failing: langtools/tools/javac/annotations/repeatingAnnotations/combo/TargetAnnoCombo.java Test log: TEST: tools/javac/annotations/repeatingAnnotations/combo/TargetAnnoCombo.java JDK under test: (/opt/jprt/T/P1/195318.emccorkl/testproduct/linux_i586_2.6-product) java version "1.8.0-internal" Java(TM) SE Runtime Environment (build 1.8.0-internal-jprtadm_2013_02_12_14_59-b00) Java HotSpot(TM) Client VM (build 25.0-b17, mixed mode) ACTION: build -- Passed. All files up to date REASON: User specified action: run build Helper TIME: 0.0 seconds messages: command: build Helper reason: User specified action: run build Helper elapsed time (seconds): 0.0 ACTION: compile -- Passed. Compilation successful REASON: User specified action: run compile TargetAnnoCombo.java TestCaseGenerator.java TIME: 0.042 seconds messages: command: compile /opt/jprt/T/P1/195318.emccorkl/s/langtools/test/tools/javac/annotations/repeatingAnnotations/combo/TargetAnnoCombo.java /opt/jprt/T/P1/195318.emccorkl/s/langtools/test/tools/javac/annotations/repeatingAnnotations/combo/TestCaseGenerator.java reason: User specified action: run compile TargetAnnoCombo.java TestCaseGenerator.java elapsed time (seconds): 0.042 ACTION: build -- Passed. All files up to date REASON: Named class compiled on demand TIME: 0.0 seconds messages: command: build TargetAnnoCombo reason: Named class compiled on demand elapsed time (seconds): 0.0 ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.Exception: 1 errors found REASON: User specified action: run main TargetAnnoCombo TIME: 3.725 seconds messages: command: main TargetAnnoCombo reason: User specified action: run main TargetAnnoCombo elapsed time (seconds): 3.725 STDOUT: Setting TestMode to default, will run 250tests. Seed = -1656732219 ERROR: Test failed, compiled unexpectedly. FAIL: Test 1049444 File: /TC1049444.java import java.lang.annotation.*; @Target({ElementType.FIELD, ElementType.TYPE_PARAMETER, ElementType.TYPE, ElementType.TYPE_USE, ElementType.PARAMETER}) @interface FooContainer { Foo[] value(); } @Repeatable(FooContainer.class) @interface Foo {} class TC1049444 {} Total tests run: 250 STDERR: java.lang.Exception: 1 errors found at TargetAnnoCombo.main(TargetAnnoCombo.java:161) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:487) at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:706) at java.lang.Thread.run(Thread.java:722)