comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/impl/DefaultCompilerOptions.java @ 18388:c1eeb1658014

Truffle: fix to error message in DefaultCompilerOptions.
author Chris Seaton <chris.seaton@oracle.com>
date Sun, 16 Nov 2014 16:07:57 -0800
parents 656331a61829
children
comparison
equal deleted inserted replaced
18387:3e5ed05b7e50 18388:c1eeb1658014
33 public boolean supportsOption(String name) { 33 public boolean supportsOption(String name) {
34 return false; 34 return false;
35 } 35 }
36 36
37 public void setOption(String name, Object value) { 37 public void setOption(String name, Object value) {
38 throw new UnsupportedOperationException(String.format("Option %s is not supported by this runtime")); 38 throw new UnsupportedOperationException(String.format("Option %s is not supported by this runtime", name));
39 } 39 }
40 40
41 } 41 }