changeset 49392:98e7a2c315a9

8197944: Condy tests fails on Windows Reviewed-by: dholmes
author psandoz
date Tue, 13 Mar 2018 15:29:55 -0700
parents d89e98d85841
children ec9091426557 95f0b54a3024
files test/jdk/ProblemList.txt test/jdk/java/lang/invoke/condy/CondyInterfaceWithOverpassMethods.java test/jdk/java/lang/invoke/condy/CondyRepeatFailedResolution.java test/jdk/java/lang/invoke/condy/CondyReturnPrimitiveTest.java
diffstat 4 files changed, 0 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/test/jdk/ProblemList.txt	Tue Mar 13 20:06:34 2018 +0100
+++ b/test/jdk/ProblemList.txt	Tue Mar 13 15:29:55 2018 -0700
@@ -493,9 +493,6 @@
 
 java/lang/String/nativeEncoding/StringPlatformChars.java        8182569 windows-all,solaris-all
 
-java/lang/invoke/condy/CondyRepeatFailedResolution.java         8197944 windows-all
-java/lang/invoke/condy/CondyReturnPrimitiveTest.java            8197944 windows-all
-
 ############################################################################
 
 # jdk_instrument
--- a/test/jdk/java/lang/invoke/condy/CondyInterfaceWithOverpassMethods.java	Tue Mar 13 20:06:34 2018 +0100
+++ b/test/jdk/java/lang/invoke/condy/CondyInterfaceWithOverpassMethods.java	Tue Mar 13 15:29:55 2018 -0700
@@ -34,16 +34,11 @@
 import jdk.experimental.bytecode.BasicClassBuilder;
 import jdk.experimental.bytecode.Flag;
 import jdk.experimental.bytecode.TypedCodeBuilder;
-import org.testng.Assert;
 import org.testng.annotations.BeforeClass;
 import org.testng.annotations.Test;
 
-import java.io.File;
-import java.io.FileOutputStream;
 import java.lang.invoke.MethodHandles;
 import java.lang.invoke.MethodType;
-import java.lang.reflect.Method;
-import java.util.concurrent.atomic.AtomicInteger;
 
 @Test
 public class CondyInterfaceWithOverpassMethods {
@@ -93,9 +88,6 @@
                                 ))
                 .build();
 
-        // For debugging purposes
-        new FileOutputStream(new File(genClassName + ".class")).write(byteArray);
-
         gc = MethodHandles.lookup().defineClass(byteArray);
     }
 
--- a/test/jdk/java/lang/invoke/condy/CondyRepeatFailedResolution.java	Tue Mar 13 20:06:34 2018 +0100
+++ b/test/jdk/java/lang/invoke/condy/CondyRepeatFailedResolution.java	Tue Mar 13 15:29:55 2018 -0700
@@ -39,8 +39,6 @@
 import org.testng.annotations.BeforeClass;
 import org.testng.annotations.Test;
 
-import java.io.File;
-import java.io.FileOutputStream;
 import java.lang.invoke.MethodHandles;
 import java.lang.invoke.MethodType;
 import java.lang.reflect.InvocationTargetException;
@@ -217,9 +215,6 @@
                                 ))
                 .build();
 
-        // For debugging purposes
-        new FileOutputStream(new File(genClassName + ".class")).write(byteArray);
-
         gc = MethodHandles.lookup().defineClass(byteArray);
     }
 
--- a/test/jdk/java/lang/invoke/condy/CondyReturnPrimitiveTest.java	Tue Mar 13 20:06:34 2018 +0100
+++ b/test/jdk/java/lang/invoke/condy/CondyReturnPrimitiveTest.java	Tue Mar 13 15:29:55 2018 -0700
@@ -39,8 +39,6 @@
 import org.testng.annotations.BeforeClass;
 import org.testng.annotations.Test;
 
-import java.io.File;
-import java.io.FileOutputStream;
 import java.lang.invoke.MethodHandles;
 import java.lang.invoke.MethodType;
 import java.lang.reflect.Method;
@@ -218,9 +216,6 @@
                                 ))
                 .build();
 
-        // For debugging purposes
-        new FileOutputStream(new File(genClassName + ".class")).write(byteArray);
-
         gc = MethodHandles.lookup().defineClass(byteArray);
     }