changeset 960:c2f412069f9b

8057551: Let the -d flag dump _all_ generated classes to disk and work outside --compile-only mode Reviewed-by: attila, jlaskey
author lagergren
date Thu, 04 Sep 2014 14:42:30 +0200
parents 5b052fbc5834
children afdad86ffdde
files src/jdk/nashorn/internal/codegen/DumpBytecode.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk/nashorn/internal/codegen/DumpBytecode.java	Thu Sep 04 10:52:42 2014 +0200
+++ b/src/jdk/nashorn/internal/codegen/DumpBytecode.java	Thu Sep 04 14:42:30 2014 +0200
@@ -89,7 +89,7 @@
 
 
             // should code be dumped to disk - only valid in compile_only mode?
-            if (env._dest_dir != null && env._compile_only) {
+            if (env._dest_dir != null) {
                 final String fileName = className.replace('.', File.separatorChar) + ".class";
                 final int    index    = fileName.lastIndexOf(File.separatorChar);