< prev index next >

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

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2004, 2013, 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

@@ -52,11 +52,11 @@
         ColumnFormat c = (ColumnFormat)o;
         String s = null;
 
         Expression e = c.getExpression();
         ExpressionEvaluator ee = new ExpressionExecuter(vm);
-        Object value = ee.evaluate(e);
+        Object value = ee.evaluate(e, c.isForcibly());
 
         if (value instanceof String) {
             s = (String)value;
         } else if (value instanceof Number) {
             double d = ((Number)value).doubleValue();
< prev index next >