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)

        Activity

        dfazunen Dmitry Fazunenko (Inactive) created issue -
        lancea Lance Andersen made changes -
        Field Original Value New Value
        Assignee Joe Darcy [ darcy ]
        lancea Lance Andersen made changes -
        Status New [ 10000 ] Open [ 1 ]
        darcy Joe Darcy made changes -
        Component/s hotspot [ 10304 ]
        Component/s core-libs [ 10300 ]
        darcy Joe Darcy made changes -
        Subcomponent java.lang [ 190 ]
        darcy Joe Darcy made changes -
        Assignee Joe Darcy [ darcy ]
        ctornqvi Christian Tornqvist made changes -
        Status Open [ 1 ] New [ 10000 ]
        ctornqvi Christian Tornqvist made changes -
        Subcomponent runtime [ 192 ]
        jwilhelm Jesper Wilhelmsson made changes -
        Labels pit hs-nightly pit
        ctornqvi Christian Tornqvist made changes -
        Fix Version/s 9 [ 14949 ]
        ctornqvi Christian Tornqvist made changes -
        Priority P3 [ 3 ] P2 [ 2 ]
        ctornqvi Christian Tornqvist made changes -
        Status New [ 10000 ] Open [ 1 ]
        ctornqvi Christian Tornqvist made changes -
        Assignee Coleen Phillimore [ coleenp ]
        coleenp Coleen Phillimore made changes -
        Status Open [ 1 ] New [ 10000 ]
        coleenp Coleen Phillimore made changes -
        Fix Version/s 10 [ 16302 ]
        Fix Version/s 9 [ 14949 ]
        ctornqvi Christian Tornqvist made changes -
        Status New [ 10000 ] Closed [ 6 ]
        Resolution Cannot Reproduce [ 5 ]

          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: