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

@Test in java/lang/reflect/Proxy/ProxyForMethodHandle not run

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • None
    • core-libs
    • None

      diff --git a/test/java/lang/reflect/Proxy/ProxyForMethodHandle.java b/test/java/lang/reflect/Proxy/ProxyForMethodHandle.java
      --- a/test/java/lang/reflect/Proxy/ProxyForMethodHandle.java
      +++ b/test/java/lang/reflect/Proxy/ProxyForMethodHandle.java
      @@ -46,7 +46,7 @@
            * to a dynamic module
            */
           @Test
      - static void testRunnableMethodHandle() throws Exception {
      + public static void testRunnableMethodHandle() throws Exception {
               MethodHandles.Lookup lookup = MethodHandles.lookup();
               MethodType mt = MethodType.methodType(void.class);
               MethodHandle mh = lookup.findStatic(ProxyForMethodHandle.class, "runForRunnable", mt);

            mchung Mandy Chung (Inactive)
            mchung Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: