changeset 43523:67007ed41226

8173412: @Test in java/lang/annotation and java/lang/reflect/Proxy tests not run Reviewed-by: redestad
author mchung
date Fri, 03 Feb 2017 18:06:45 -0800
parents f9c6f543c4db
children 5b3936afe090
files jdk/test/java/lang/annotation/AnnotationWithLambda.java jdk/test/java/lang/reflect/Proxy/ProxyForMethodHandle.java
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/test/java/lang/annotation/AnnotationWithLambda.java	Fri Feb 03 13:24:59 2017 -0800
+++ b/jdk/test/java/lang/annotation/AnnotationWithLambda.java	Fri Feb 03 18:06:45 2017 -0800
@@ -43,7 +43,7 @@
 public class AnnotationWithLambda {
 
     @Test
-    void testAnnotationWithLambda() {
+    public void testAnnotationWithLambda() {
         Method[] methods = AnnotationWithLambda.MethodsWithAnnotations.class.getDeclaredMethods();
         for (Method method : methods) {
             assertTrue((method.isAnnotationPresent(LambdaWithParameter.class)) &&
--- a/jdk/test/java/lang/reflect/Proxy/ProxyForMethodHandle.java	Fri Feb 03 13:24:59 2017 -0800
+++ b/jdk/test/java/lang/reflect/Proxy/ProxyForMethodHandle.java	Fri Feb 03 18:06:45 2017 -0800
@@ -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);