hotspot/test/compiler/aot/cli/jaotc/JaotcTestHelper.java
changeset 46289 1904e7ec236e
parent 43464 f38fde4a6b52
parent 46260 5de61384fba6
child 46804 db2cd95b294c
--- a/hotspot/test/compiler/aot/cli/jaotc/JaotcTestHelper.java	Wed Jul 05 22:55:08 2017 +0200
+++ b/hotspot/test/compiler/aot/cli/jaotc/JaotcTestHelper.java	Fri Feb 24 12:41:26 2017 -0500
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -72,7 +72,7 @@
     }
 
     public static String getClassAotCompilationFilename(Class<?> classToCompile) {
-        return classToCompile.getName().replaceAll("\\.", File.separator) + ".class";
+        return classToCompile.getName().replaceAll("\\.","/") + ".class";
     }
 
     public static String getClassAotCompilationName(Class<?> classToCompile) {