< prev index next >

src/jdk.jcmd/share/classes/sun/tools/jstat/SymbolResolutionClosure.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2018, 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
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -51,11 +51,11 @@
         }
 
         ColumnFormat c = (ColumnFormat)o;
         Expression e = c.getExpression();
         String previous = e.toString();
-        e = (Expression)ee.evaluate(e);
+        e = (Expression)ee.evaluate(e, c.isForcibly());
         if (debug) {
             System.out.print("Expression: " + previous + " resolved to "
                              + e.toString());
         }
         c.setExpression(e);
< prev index next >