8067254: No debug symbols in JPRT Windows builds
authorerikj
Fri, 12 Dec 2014 15:35:21 +0100
changeset 28055 0241272e39ed
parent 28054 8b0ef141b964
child 28056 0cab6eb92852
child 28106 cb013442a7f3
8067254: No debug symbols in JPRT Windows builds Reviewed-by: tbell
jdk/make/src/classes/build/tools/module/ModuleArchive.java
--- a/jdk/make/src/classes/build/tools/module/ModuleArchive.java	Fri Dec 12 14:31:26 2014 +0100
+++ b/jdk/make/src/classes/build/tools/module/ModuleArchive.java	Fri Dec 12 15:35:21 2014 +0100
@@ -227,10 +227,12 @@
 
         private static String nativeDir(String filename) {
             if (System.getProperty("os.name").startsWith("Windows")) {
-                if (filename.endsWith(".dll"))
+                if (filename.endsWith(".dll") || filename.endsWith(".diz")
+                    || filename.endsWith(".pdb") || filename.endsWith(".map")) {
                     return "bin";
-                 else
+                } else {
                     return "lib";
+                }
             } else {
                 return "lib";
             }