8067254: No debug symbols in JPRT Windows builds

Reviewed-by: tbell
This commit is contained in:
Erik Joelsson 2014-12-12 15:35:21 +01:00
parent bf6938cb8c
commit b479361747

View File

@ -227,10 +227,12 @@ public class ModuleArchive implements Archive {
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";
}