Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8169641

java/lang/annotation/Missing/MissingTest.java: Expected exception not thrown

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Cannot Reproduce
    • Affects Version/s: 9
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:

      Description

      JDK9, VM PIT, win32

      elapsed time (seconds): 1.312
      ----------configuration:(0/0)----------
      ----------System.out:(1/19)----------
      interface Missing
      ----------System.err:(18/1202)----------
      Error: Did not get an exception reading annotations on class B
      Annotations found: [@MissingWrapper(value=@Missing()), @Marker()]
      Error: Did not get an exception reading annotations on methodpublic void D.method1(java.lang.Object)
      Annotations found: [[Ljava.lang.annotation.Annotation;@1ad701e]
      java.lang.RuntimeException: Expected exception not thrown
      at MissingTest.testMethodGetDefaultValue(MissingTest.java:121)
      at MissingTest.main(MissingTest.java:149)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:537)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.base/java.lang.Thread.run(Thread.java:844)

        Attachments

          Activity

            People

            • Assignee:
              coleenp Coleen Phillimore
              Reporter:
              dfazunen Dmitry Fazunenko (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: