* Package: dev-java/mvel-2.3.2-r1 * Repository: gentoo * Maintainer: java@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux test userland_GNU * FEATURES: distcc fakeroot network-sandbox preserve-libs sandbox test userpriv usersandbox * Using: icedtea-8 * Applying mvel-2.3.2-update-supported-java-versions.patch ... [ ok ] * Applying mvel-2.3.2-update-version-in-output.patch ... [ ok ] * Applying mvel-2.3.2-ignore-failing-tests.patch ... [ ok ] * Compiling ... src/main/java/org/mvel2/util/Make.java:32: warning: '_' used as an identifier public Map _(K key, V value) { ^ (use of '_' as an identifier might not be supported in releases after Java SE 8) src/main/java/org/mvel2/util/Make.java:37: warning: '_' used as an identifier public java.util.Map _() { ^ (use of '_' as an identifier might not be supported in releases after Java SE 8) src/main/java/org/mvel2/util/Make.java:55: warning: '_' used as an identifier public java.lang.String _() { ^ (use of '_' as an identifier might not be supported in releases after Java SE 8) src/main/java/org/mvel2/util/Make.java:69: warning: '_' used as an identifier public String _(char c) { ^ (use of '_' as an identifier might not be supported in releases after Java SE 8) src/main/java/org/mvel2/util/Make.java:74: warning: '_' used as an identifier public String _(CharSequence cs) { ^ (use of '_' as an identifier might not be supported in releases after Java SE 8) src/main/java/org/mvel2/util/Make.java:79: warning: '_' used as an identifier public String _(String s) { ^ (use of '_' as an identifier might not be supported in releases after Java SE 8) src/main/java/org/mvel2/util/Make.java:109: warning: '_' used as an identifier public List _(V value) { ^ (use of '_' as an identifier might not be supported in releases after Java SE 8) src/main/java/org/mvel2/util/Make.java:114: warning: '_' used as an identifier public java.util.List _() { ^ (use of '_' as an identifier might not be supported in releases after Java SE 8) src/main/java/org/mvel2/util/Make.java:147: warning: '_' used as an identifier public Set _(V value) { ^ (use of '_' as an identifier might not be supported in releases after Java SE 8) src/main/java/org/mvel2/util/Make.java:152: warning: '_' used as an identifier public java.util.Set _() { ^ (use of '_' as an identifier might not be supported in releases after Java SE 8) src/main/java/org/mvel2/optimizers/impl/asm/ASMAccessorOptimizer.java:759: warning: non-varargs call of varargs method with inexact argument type for last parameter; o = cls.getConstructor(parms).newInstance(compiledInputs.toArray(new ExecutableStatement[compiledInputs.size()])); ^ cast to Object for a varargs call cast to Object[] for a non-varargs call and to suppress this warning src/main/java/org/mvel2/optimizers/impl/refl/ReflectiveAccessorOptimizer.java:1329: warning: non-varargs call of varargs method with inexact argument type for last parameter; = new ReflectiveAccessorOptimizer(pCtx, cnsRes[1].toCharArray(), 0, cnsRes[1].length(), cns.newInstance(null), ctx, vars); ^ cast to Object for a varargs call cast to Object[] for a non-varargs call and to suppress this warning Note: src/main/java/org/mvel2/optimizers/impl/asm/ASMAccessorOptimizer.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 12 warnings * Compiling ... src/test/java/org/mvel2/tests/core/DebuggerTests.java:292: warning: '_' used as an identifier assertEquals("did not break at expected lines", Make.Set.$()._(6)._(8)._(9)._(10)._(), breaked); ^ (use of '_' as an identifier might not be supported in releases after Java SE 8) src/test/java/org/mvel2/tests/core/DebuggerTests.java:292: warning: '_' used as an identifier assertEquals("did not break at expected lines", Make.Set.$()._(6)._(8)._(9)._(10)._(), breaked); ^ (use of '_' as an identifier might not be supported in releases after Java SE 8) src/test/java/org/mvel2/tests/core/DebuggerTests.java:292: warning: '_' used as an identifier assertEquals("did not break at expected lines", Make.Set.$()._(6)._(8)._(9)._(10)._(), breaked); ^ (use of '_' as an identifier might not be supported in releases after Java SE 8) src/test/java/org/mvel2/tests/core/DebuggerTests.java:292: warning: '_' used as an identifier assertEquals("did not break at expected lines", Make.Set.$()._(6)._(8)._(9)._(10)._(), breaked); ^ (use of '_' as an identifier might not be supported in releases after Java SE 8) src/test/java/org/mvel2/tests/core/DebuggerTests.java:292: warning: '_' used as an identifier assertEquals("did not break at expected lines", Make.Set.$()._(6)._(8)._(9)._(10)._(), breaked); ^ (use of '_' as an identifier might not be supported in releases after Java SE 8) src/test/java/org/mvel2/tests/core/DebuggerTests.java:370: warning: '_' used as an identifier assertEquals("did not break at expected points", Make.Set.$()._(3)._(4)._(5)._(), breaked); ^ (use of '_' as an identifier might not be supported in releases after Java SE 8) src/test/java/org/mvel2/tests/core/DebuggerTests.java:370: warning: '_' used as an identifier assertEquals("did not break at expected points", Make.Set.$()._(3)._(4)._(5)._(), breaked); ^ (use of '_' as an identifier might not be supported in releases after Java SE 8) src/test/java/org/mvel2/tests/core/DebuggerTests.java:370: warning: '_' used as an identifier assertEquals("did not break at expected points", Make.Set.$()._(3)._(4)._(5)._(), breaked); ^ (use of '_' as an identifier might not be supported in releases after Java SE 8) src/test/java/org/mvel2/tests/core/DebuggerTests.java:370: warning: '_' used as an identifier assertEquals("did not break at expected points", Make.Set.$()._(3)._(4)._(5)._(), breaked); ^ (use of '_' as an identifier might not be supported in releases after Java SE 8) src/test/java/org/mvel2/tests/core/ArithmeticTests.java:866: warning: '_' used as an identifier assertEquals(799, executeExpression(compileExpression("bal - 80 - 90 - 30"), Make.Map.$()._("bal", 999)._())); ^ (use of '_' as an identifier might not be supported in releases after Java SE 8) src/test/java/org/mvel2/tests/core/ArithmeticTests.java:866: warning: '_' used as an identifier assertEquals(799, executeExpression(compileExpression("bal - 80 - 90 - 30"), Make.Map.$()._("bal", 999)._())); ^ (use of '_' as an identifier might not be supported in releases after Java SE 8) src/test/java/org/mvel2/marshalling/MarshallingTest.java:212: warning: non-varargs call of varargs method with inexact argument type for last parameter; null), ^ cast to Object for a varargs call cast to Object[] for a non-varargs call and to suppress this warning src/test/java/org/mvel2/tests/core/CoreConfidenceTests.java:3225: warning: non-varargs call of varargs method with inexact argument type for last parameter; pconf.addImport("getString", StaticClassWithStaticMethod.class.getMethod("getString", null)); ^ cast to Class for a varargs call cast to Class[] for a non-varargs call and to suppress this warning src/test/java/org/mvel2/tests/core/res/AStatic.java:23: warning: non-varargs call of varargs method with inexact argument type for last parameter; System.out.println("exec(null) = " + process(null)); ^ cast to String for a varargs call cast to String[] for a non-varargs call and to suppress this warning Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 14 warnings JUnit version 4.13.2-SNAPSHOT .105556536 ..new org.mvel2.marshalling.MarshallingTest$Person().{ age = 33, cal = with ( java.util.Calendar.getInstance() ) { time = new java.util.Date(1648314392329)} , map = [ 'key1':13, 'key2':15, 'key3':'value3', 'key4':new org.mvel2.marshalling.MarshallingTest$Cheese().{ age = 11, edible = false, type = 'stilton' } ] , name = 'mark', nullTest = null, pet = new org.mvel2.marshalling.MarshallingTest$Pet().{ age = 7, array = { 1, 2, 3 } , list = [ 'a', 12, new org.mvel2.marshalling.MarshallingTest$SomeNumers().{ ABigDecimal = 23.02339999999999875512912694830447, ABigInteger = 1001, ADouble = 22.02, AFloat = 10.02, AInt = 5, ALong = 100 }, new java.util.Date(1648314392312), new org.mvel2.marshalling.MarshallingTest$Cheese().{ age = 6, edible = false, type = 'cheddar' } ] , name = 'rover' }, someDate = new java.util.Date(1648314392329) } mvel : 0 .........................Evaluating 'map['foo']==map['foo']': ...... 'map['foo']==map['foo'] ' = true Evaluating '(map['one'] > 0)': ...... '(map['one'] > 0) ' = true Evaluating '(map['one'] > 0) && (map['foo'] == map['foo'])': ...... '(map['one'] > 0) && (map['foo'] == map['foo']) ' = true Evaluating '(map['one'] > 0) && (map['foo']==map['foo'])': ...... '(map['one'] > 0) && (map['foo']==map['foo']) ' = true .Evaluation===================== Evaluating 'map["foundIt"] = !(map['list'].contains("john"))': ...... 'map["foundIt"] = !(map['list'].contains("john")) ' = false Evaluation===================== ...............Templating '@{map['foo']==map['foo']}': ...... '@{map['foo']==map['foo']} ' = true Templating '@(map['one'] > 0)}': ...... '@(map['one'] > 0)} ' = @(map['one'] > 0)} Templating '@{(map['one'] > 0) && (map['foo'] == map['foo'])}': ...... '@{(map['one'] > 0) && (map['foo'] == map['foo'])} ' = true Templating '@{(map['one'] > 0) && (map['foo']==map['foo'])}': ...... '@{(map['one'] > 0) && (map['foo']==map['foo'])} ' = true .Templates===================== Templating '@{map["foundIt"] = !(map['list']).contains("john")}': ...... '@{map["foundIt"] = !(map['list']).contains("john")} ' = false Templating '@{map["foundIt"] = !(map['list'].contains("john"))}': ...... '@{map["foundIt"] = !(map['list'].contains("john"))} ' = false Templates===================== .......................Templating '@code{ buffer = new StringBuilder(); i = 10; buffer.append( i + "blah" );}@{buffer.toString()}': ...... '@code{ buffer = new StringBuilder(); i = 10; buffer.append( i + "blah" );}@{buffer.toString()} ' = 10blah ..........Hello! ..0 . plop plop plop plop ......................[Error: [Error: unbalanced braces { ... }] [Near : {... @{ddo ....}] ^ [Line: 4, Column: 7]] [Near : {... @{ddo ....}] ^ [Line: 4, Column: 7] .:10blah ......Compiling 'map['foo']==map['foo']': ...... 'map['foo']==map['foo'] ' = true Compiling '(map['one'] > 0)': ...... '(map['one'] > 0) ' = true Compiling '(map['one'] > 0) && (map['foo'] == map['foo'])': ...... '(map['one'] > 0) && (map['foo'] == map['foo']) ' = true Compiling '(map['one'] > 0) && (map['foo']==map['foo'])': ...... '(map['one'] > 0) && (map['foo']==map['foo']) ' = true .Compilation===================== Compiling 'map["foundIt"] = !(map['list'].contains("john"))': ...... 'map["foundIt"] = !(map['list'].contains("john")) ' = false Compilation===================== .....[Error: [Error: expected character ':' in foreach tag] [Near : {... <<@foreach{arrayList}@{item}@end{}>> ....}] ^ [Line: 1, Column: 21]] [Near : {... <<@foreach{arrayList}@{item}@end{}>> ....}] ^ [Line: 2, Column: 21] .[Error: unclosed @foreach{} block. expected @end{}] [Near : {... <<@foreach{item:arrayList}@{item}>> ....}] ^ [Line: 3, Column: 35] ............r: aaa .r: f1 aaa .r: aaa .r: aaa ............. [test] begin test for: ---------------------- a = 5; if (a == 5) { }; return a; ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 5 (1) OPERATOR [END_OF_STATEMENT]: (2) NEST [IfNode]: { a == 5 } ==END==NODE [IfNode] :: a == 5 (3) OPERATOR [END_OF_STATEMENT]: (4) OPERATOR [RETURN]: a (5) OPERATOR [END_OF_STATEMENT]: ==END== All threads have stopped. Result Count: 1 [test] finished in: 221ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- if (false) { return false; } else { return true; } ---------------------- Expression Decompile ------------- (0) NODE [IfNode] :: false ==END== All threads have stopped. Result Count: 1 [test] finished in: 6ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- zero==0?'foobie':zero ---------------------- Expression Decompile ------------- (0) OPERATION [EQUAL] {zero} {} (1) OPERATOR [TERNARY_IF]: (2) LITERAL :: foobie' (3) OPERATOR [TERNARY_ELSE]: (4) REFERENCE :: ASTNode:zero ==END== All threads have stopped. Result Count: 1 [test] finished in: 7ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- c != null && foo.bar.name == 'dog' && foo.bar.woof ---------------------- Expression Decompile ------------- (0) NODE [And] :: ==END== All threads have stopped. Result Count: 1 [test] finished in: 13ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- if (5 < 4) { return 5; } else { return 10; } ---------------------- Expression Decompile ------------- (0) NODE [IfNode] :: 5 < 4 ==END== All threads have stopped. Result Count: 1 [test] finished in: 6ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- if(5<4){return 5;}else{return 10;} ---------------------- Expression Decompile ------------- (0) NODE [IfNode] :: 5<4 ==END== All threads have stopped. Result Count: 1 [test] finished in: 6ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- if (false) { return false; } else if(100 < 50) { return false; } else if (10 > 5) return true; ---------------------- Expression Decompile ------------- (0) NODE [IfNode] :: false ==END== All threads have stopped. Result Count: 1 [test] finished in: 6ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- true||true ---------------------- Expression Decompile ------------- (0) LITERAL :: true' ==END== All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .def cond(x, y) { if (x ~= "fet.*") { if ((x.endsWith(('sock')))) { return 1; } else if ((x.endsWith(('lock')))) { return [1: ((y > 12) ? 1 : 2), 2: (12 + 1)]; } ; } (null).print(); } cond('fetlock', 12) .Expression: 50 > 60 && 20 < 10 || 100 > 90 . [test] begin test for: ---------------------- (pi * hour) > 0 && foo.happy() == 'happyBar' ---------------------- Expression Decompile ------------- (0) NODE [And] :: ==END== All threads have stopped. Result Count: 1 [test] finished in: 7ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- if (true) { System.out.println("test!") } ---------------------- Expression Decompile ------------- (0) NODE [IfNode] :: true (1) OPERATOR [END_OF_STATEMENT]: ==END== test! test! test! test! test! test! test! test! All threads have stopped. Result Count: 1 [test] finished in: 11ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- c!=null&&foo.bar.name=='dog'&&foo.bar.woof ---------------------- Expression Decompile ------------- (0) NODE [And] :: ==END== All threads have stopped. Result Count: 1 [test] finished in: 11ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- String str = ''; for(i=0;i<6;i++) { str += i }; str ---------------------- Expression Decompile ------------- (0) NODE [TypedVarNode] :: str (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [ForNode] :: i=0;i<6;i++ (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:str ==END== All threads have stopped. Result Count: 1 [test] finished in: 9ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ... [test] begin test for: ---------------------- populate(); barfoo == 'sarah' ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:populate() (1) OPERATOR [END_OF_STATEMENT]: (2) OPERATION [EQUAL] {barfoo} {} ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- if (false) return 'Bar'; else return 'Foo244'; ---------------------- Expression Decompile ------------- (0) NODE [IfNode] :: false ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- fun || true ---------------------- Expression Decompile ------------- (0) NODE [Or] :: ==END== All threads have stopped. Result Count: 1 [test] finished in: 6ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- System.out.print("Hello : " + (foo != null ? "FOO!" : "NO FOO") + ". Bye."); ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:System.out.print("Hello : " + (foo != null ? "FOO!" : "NO FOO") + ". Bye.") (1) OPERATOR [END_OF_STATEMENT]: ==END== Hello : FOO!. Bye.Hello : FOO!. Bye.Hello : FOO!. Bye.Hello : FOO!. Bye.Hello : FOO!. Bye.Hello : FOO!. Bye.Hello : FOO!. Bye.Hello : FOO!. Bye.All threads have stopped. Result Count: 1 [test] finished in: 11ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- zero==1?'foobie':'blimpie' ---------------------- Expression Decompile ------------- (0) OPERATION [EQUAL] {zero} {} (1) OPERATOR [TERNARY_IF]: (2) LITERAL :: foobie' (3) OPERATOR [TERNARY_ELSE]: (4) LITERAL :: blimpie' ==END== All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- zero==1?'foobie':'foobie'+'barbie' ---------------------- Expression Decompile ------------- (0) OPERATION [EQUAL] {zero} {} (1) OPERATOR [TERNARY_IF]: (2) LITERAL :: foobie' (3) OPERATOR [TERNARY_ELSE]: (4) LITERAL :: foobiebarbie' ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- true ? '' : '' ---------------------- Expression Decompile ------------- (0) LITERAL :: true' (1) OPERATOR [TERNARY_IF]: (2) LITERAL :: ' (3) OPERATOR [TERNARY_ELSE]: (4) LITERAL :: ' ==END== All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- isdef someWierdVar ? 'squid' : 'skat!'; ---------------------- Expression Decompile ------------- (0) NODE [IsDef] :: someWierdVar (1) OPERATOR [TERNARY_IF]: (2) LITERAL :: squid' (3) OPERATOR [TERNARY_ELSE]: (4) LITERAL :: skat!' (5) OPERATOR [END_OF_STATEMENT]: ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- 4 > 3 || foo.toUC('test') ---------------------- Expression Decompile ------------- (0) NODE [Or] :: ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- defnull != null && defnull.length() > 0 ---------------------- Expression Decompile ------------- (0) NODE [And] :: ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- 4>3||foo.toUC('test') ---------------------- Expression Decompile ------------- (0) NODE [Or] :: ==END== All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ..... [test] begin test for: ---------------------- 2 > 3 || 3 > 2 ---------------------- Expression Decompile ------------- (0) NODE [Or] :: ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- pi > 5 || pi > 6 || pi > 3 ---------------------- Expression Decompile ------------- (0) NODE [Or] :: ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- if (false) 'bar'; else 'foo'; ---------------------- Expression Decompile ------------- (0) NODE [IfNode] :: false ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ..... ... ... . [test] begin test for: ---------------------- String str = ''; int i = 0; until (i == 6) { str += i++; }; str ---------------------- Expression Decompile ------------- (0) NODE [TypedVarNode] :: str (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [TypedVarNode] :: i (3) OPERATOR [END_OF_STATEMENT]: (4) NODE [UntilNode] :: (5) OPERATOR [END_OF_STATEMENT]: (6) REFERENCE :: ASTNode:str ==END== All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .LOOP0 ..[2, 3, 4] .. [test] begin test for: ---------------------- StringBuffer sbuf = new StringBuffer(); foreach (int i : new int[] { 1,2,3,4 }) { sbuf.append(i); }; sbuf.toString() ---------------------- Expression Decompile ------------- (0) NODE [TypedVarNode] :: sbuf (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [ForEachNode] :: new int[] { 1,2,3,4 } (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:sbuf.toString() ==END== All threads have stopped. Result Count: 1 [test] finished in: 11ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- i = 0; do { i++ } while (i != 10); i ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 0 (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [DoNode] :: i != 10 (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:i ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ... [test] begin test for: ---------------------- i=100;do{i--}until(i==50); i ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 100 (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [DoUntilNode] :: i==50 (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:i ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- a=5;if(a==5){};return a; ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 5 (1) OPERATOR [END_OF_STATEMENT]: (2) NEST [IfNode]: { a==5 } ==END==NODE [IfNode] :: a==5 (3) OPERATOR [END_OF_STATEMENT]: (4) OPERATOR [RETURN]: a (5) OPERATOR [END_OF_STATEMENT]: ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ......... [test] begin test for: ---------------------- /** * Sample MVEL 2.0 Script * "QuickSort" * by: Christopher Michael Brock */ array = null; def swap(i, j) { temp = array[i]; array[i] = array[j]; array[j] = temp; } def partition(low, high) { pivotPoint = array[low]; i = low - 1; j = high + 1; while (i < j) { i++; while (array[i] < pivotPoint) ++i; j--; while (array[j] > pivotPoint) --j; if (i < j) swap(i, j); } j; //return j } def sort(low, high) { if (low < high) { var p; sort(low, p = partition(low, high)); sort(p + 1, high); } } def quicksort() { sort(0, array.length - 1); } array = {99,20,21,209,10,77,8,9,55,73,41,50}; quicksort(); array; // return array ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: null (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [Function] :: swap (3) OPERATOR [END_OF_STATEMENT]: (4) NODE [Function] :: partition (5) OPERATOR [END_OF_STATEMENT]: (6) NODE [Function] :: sort (7) OPERATOR [END_OF_STATEMENT]: (8) NODE [Function] :: quicksort (9) OPERATOR [END_OF_STATEMENT]: (10) NODE [AssignmentNode] :: {99,20,21,209,10,77,8,9,55,73,41,50} (11) OPERATOR [END_OF_STATEMENT]: (12) REFERENCE :: ASTNode:quicksort() (13) OPERATOR [END_OF_STATEMENT]: (14) REFERENCE :: ASTNode:array (15) OPERATOR [END_OF_STATEMENT]: ==END== All threads have stopped. Result Count: 1 [test] finished in: 40ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ....Mr. Good is Good Mr. Evil is Evil ..Hello, are you there? Is it wonderful? Did you try to escape the population? .. [test] begin test for: ---------------------- {} ---------------------- Expression Decompile ------------- (0) NODE [InlineCollectionNode] :: {} ==END== All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- counterX = 0; foreach (item:{1,2,3,4,5,6,7,8,9,10}) { counterX++; }; return counterX + 1; ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 0 (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [ForEachNode] :: {1,2,3,4,5,6,7,8,9,10} (3) OPERATOR [END_OF_STATEMENT]: (4) OPERATOR [RETURN]: counterX + 1 (5) OPERATOR [END_OF_STATEMENT]: ==END== All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- arrayTest = {{1, 2, 3}, {2, 1, 0}}; arrayTest[1][2] ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: {{1, 2, 3}, {2, 1, 0}} (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:arrayTest[1][2] ==END== All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- a = {'f00', 'bar'}; a[0] = 'foo'; a[0] ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: {'f00', 'bar'} (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [AssignmentNode] :: 'foo' (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:a[0] ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- ['Person.age' : [1, 2, 3, 4], 'Person.rating' : ['High', 'Low'], 'Person.something' : (new String('foo').toUpperCase())] ---------------------- Expression Decompile ------------- (0) NODE [InlineCollectionNode] :: ['Person.age' : [1, 2, 3, 4], 'Person.rating' : ['High', 'Low'], 'Person.something' : (new String('foo').toUpperCase())] ==END== All threads have stopped. Result Count: 1 [test] finished in: 8ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- counterX = 10; foreach (item:{1,1,1,1,1,1,1,1,1,1}) { counterX -= item; } return counterX; ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 10 (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [ForEachNode] :: {1,1,1,1,1,1,1,1,1,1} (3) OPERATOR [END_OF_STATEMENT]: (4) OPERATOR [RETURN]: counterX (5) OPERATOR [END_OF_STATEMENT]: ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- [] ---------------------- Expression Decompile ------------- (0) NODE [InlineCollectionNode] :: [] ==END== All threads have stopped. Result Count: 1 [test] finished in: 10ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- { } ---------------------- Expression Decompile ------------- (0) NODE [InlineCollectionNode] :: { } ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- funMethod( {'gonk', 'foo'} ) ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:funMethod( {'gonk', 'foo'} ) ==END== All threads have stopped. Result Count: 1 [test] finished in: 8ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .... [test] begin test for: ---------------------- [1,2,3] + [4,5,6] ---------------------- Expression Decompile ------------- (0) OPERATION [ADD] {[1,2,3]} {[4,5,6]} ==END== All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- {1,2,3}.size() ---------------------- Expression Decompile ------------- (0) REFERENCE :: Union:size() ==END== All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- ["apple"].size() ---------------------- Expression Decompile ------------- (0) REFERENCE :: Union:size() ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- map = ['mike':'sarah','tom':'jacquelin']; map['mike'] ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: ['mike':'sarah','tom':'jacquelin'] (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:map['mike'] ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- [new String('foo') : new String('bar')] ---------------------- Expression Decompile ------------- (0) NODE [InlineCollectionNode] :: [new String('foo') : new String('bar')] ==END== All threads have stopped. Result Count: 1 [test] finished in: 6ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- [1,2,3] + 4 ---------------------- Expression Decompile ------------- (0) OPERATION [ADD] {[1,2,3]} {} ==END== All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- total = 0; a = {1,2,3}; foreach(item : a) { total += item }; total ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 0 (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [AssignmentNode] :: {1,2,3} (3) OPERATOR [END_OF_STATEMENT]: (4) NODE [ForEachNode] :: a (5) OPERATOR [END_OF_STATEMENT]: (6) REFERENCE :: ASTNode:total ==END== All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- a = {1,2,3}; foreach (i : a) { if (i == 1) { return true; } } ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: {1,2,3} (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [ForEachNode] :: a ==END== All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- a = {1,2,3,4}; builder = ''; foreach (i : a) { if (i == 1) { builder += 'One' } else if (i == 2) { builder += 'Two' } else if (i == 3) { builder += 'Three' } else { builder += 'Four' }}; builder; ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: {1,2,3,4} (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [AssignmentNode] :: '' (3) OPERATOR [END_OF_STATEMENT]: (4) NODE [ForEachNode] :: a (5) OPERATOR [END_OF_STATEMENT]: (6) REFERENCE :: ASTNode:builder (7) OPERATOR [END_OF_STATEMENT]: ==END== All threads have stopped. Result Count: 1 [test] finished in: 8ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- sum({2,2,2,2,2}) ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:sum({2,2,2,2,2}) ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- ["test"] ---------------------- Expression Decompile ------------- (0) NODE [InlineCollectionNode] :: ["test"] ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- [66] ---------------------- Expression Decompile ------------- (0) NODE [InlineCollectionNode] :: [66] ==END== All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- misc.toList(foo.bar.name, 'hello', 42, ['key1' : 'value1', c : [ foo.bar.age, 'car', 42 ]], [42, [c : 'value1']] ) ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:misc.toList(foo.bar.name, 'hello', 42, ['key1' : 'value1', c : [ foo.bar.age, 'car', 42 ]], [42, [c : 'value1']] ) ==END== All threads have stopped. Result Count: 1 [test] finished in: 20ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- map = ['mike' :'sarah' ,'tom' :'jacquelin' ]; map['mike'] ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: ['mike' :'sarah' ,'tom' :'jacquelin' ] (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:map['mike'] ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- map = [1 : 'foo']; map[1] ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: [1 : 'foo'] (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:map[1] ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- Array.getLength({'foo', 'bar'}) ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:Array.getLength({'foo', 'bar'}) ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- map = ['test' : 'poo', 'foo' : [c, 'pear']]; map['foo'][1] ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: ['test' : 'poo', 'foo' : [c, 'pear']] (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:map['foo'][1] ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- ['foo', 'bar', 'foobar', 'FOOBAR'] ---------------------- Expression Decompile ------------- (0) NODE [InlineCollectionNode] :: ['foo', 'bar', 'foobar', 'FOOBAR'] ==END== All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- ['Person.age' : [1, 2, 3, 4],'Person.rating' : 'q'] ---------------------- Expression Decompile ------------- (0) NODE [InlineCollectionNode] :: ['Person.age' : [1, 2, 3, 4],'Person.rating' : 'q'] ==END== All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! [test] begin test for: ---------------------- ['Person.age' : [1, 2, 3, 4], 'Person.rating' : 'q'] ---------------------- Expression Decompile ------------- (0) NODE [InlineCollectionNode] :: ['Person.age' : [1, 2, 3, 4], 'Person.rating' : 'q'] ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- !( ["X", "Y"] contains "Y" ) ---------------------- Expression Decompile ------------- (0) NODE [Negation] :: ( ["X", "Y"] contains "Y" ) ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .... [test] begin test for: ---------------------- var y; with (foo) { aValue = (y = 'One'), // this is a comment bValue='Two' // this is also a comment }; foo.aValue + foo.bValue + y; ---------------------- Expression Decompile ------------- (0) NODE [DeclTypedVarNode] :: y (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [WithNode] :: foo (3) OPERATOR [END_OF_STATEMENT]: (4) OPERATION [ADD] {} {y} (5) OPERATOR [END_OF_STATEMENT]: ==END== All threads have stopped. Result Count: 1 [test] finished in: 9ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- with (foo) {aValue = 'One',bValue='Two'}; with (foo) {aValue += 'One', bValue += 'Two'}; foo.aValue + foo.bValue; ---------------------- Expression Decompile ------------- (0) NODE [WithNode] :: foo (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [WithNode] :: foo (3) OPERATOR [END_OF_STATEMENT]: (4) OPERATION [ADD] {foo.aValue} {foo.bValue} (5) OPERATOR [END_OF_STATEMENT]: ==END== All threads have stopped. Result Count: 1 [test] finished in: 10ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- with (foo) {countTest += 5 }; with (foo) { countTest *= 2 }; foo.countTest ---------------------- Expression Decompile ------------- (0) NODE [WithNode] :: foo (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [WithNode] :: foo (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:foo.countTest ==END== All threads have stopped. Result Count: 1 [test] finished in: 8ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- with (foo) { countTest += 5, // foobar! aValue = 'Hello', /** Comment! **/ bValue = 'Goodbye' }; with (foo) { countTest *= 2 }; foo ---------------------- Expression Decompile ------------- (0) NODE [WithNode] :: foo (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [WithNode] :: foo (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:foo ==END== All threads have stopped. Result Count: 1 [test] finished in: 8ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- with (foo) {aValue = 'One',bValue='Two'}; foo.aValue + foo.bValue; ---------------------- Expression Decompile ------------- (0) NODE [WithNode] :: foo (1) OPERATOR [END_OF_STATEMENT]: (2) OPERATION [ADD] {foo.aValue} {foo.bValue} (3) OPERATOR [END_OF_STATEMENT]: ==END== All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ...................false .... [test] begin test for: ---------------------- l = new java.util.ArrayList(); l.add('plop'); l.add('poo'); m = new java.util.HashMap();m.put('foo', l); m.put('cah', 'mah'); m.put('bar', 'foo'); m.put('sarah', 'mike');m.put('edgar', 'poe'); if (m.edgar == 'poe') { return m.foo[1] + m.size(); } ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: new java.util.ArrayList() (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:l.add('plop') (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:l.add('poo') (5) OPERATOR [END_OF_STATEMENT]: (6) NODE [AssignmentNode] :: new java.util.HashMap() (7) OPERATOR [END_OF_STATEMENT]: (8) REFERENCE :: ASTNode:m.put('foo', l) (9) OPERATOR [END_OF_STATEMENT]: (10) REFERENCE :: ASTNode:m.put('cah', 'mah') (11) OPERATOR [END_OF_STATEMENT]: (12) REFERENCE :: ASTNode:m.put('bar', 'foo') (13) OPERATOR [END_OF_STATEMENT]: (14) REFERENCE :: ASTNode:m.put('sarah', 'mike') (15) OPERATOR [END_OF_STATEMENT]: (16) REFERENCE :: ASTNode:m.put('edgar', 'poe') (17) OPERATOR [END_OF_STATEMENT]: (18) NODE [IfNode] :: m.edgar == 'poe' ==END== All threads have stopped. Result Count: 1 [test] finished in: 17ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- (_abc = (_xyz = 'someString'.hashCode()) + 1); _abc == _xyz ---------------------- Expression Decompile ------------- (0) NODE [Substatement] :: _abc = (_xyz = 'someString'.hashCode()) + 1 (1) OPERATOR [END_OF_STATEMENT]: (2) OPERATION [EQUAL] {_abc} {_xyz} ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .Expression Decompile ------------- (0) REFERENCE :: ASTNode:System.out.println("Hello World") (1) OPERATOR [END_OF_STATEMENT]: ==END== Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World .First evaluation: true . [test] begin test for: ---------------------- 10l ---------------------- Expression Decompile ------------- (0) LITERAL :: 10' ==END== All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ... bar .Second evaluation: true . [test] begin test for: ---------------------- l = new java.util.LinkedList(); l.add('fun'); l.add('happy'); l.add('fun'); l.add('slide');l.add('crap'); poo = new java.util.ArrayList(l); poo.size(); ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: new java.util.LinkedList() (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:l.add('fun') (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:l.add('happy') (5) OPERATOR [END_OF_STATEMENT]: (6) REFERENCE :: ASTNode:l.add('fun') (7) OPERATOR [END_OF_STATEMENT]: (8) REFERENCE :: ASTNode:l.add('slide') (9) OPERATOR [END_OF_STATEMENT]: (10) REFERENCE :: ASTNode:l.add('crap') (11) OPERATOR [END_OF_STATEMENT]: (12) NODE [AssignmentNode] :: new java.util.ArrayList(l) (13) OPERATOR [END_OF_STATEMENT]: (14) REFERENCE :: ASTNode:poo.size() (15) OPERATOR [END_OF_STATEMENT]: ==END== All threads have stopped. Result Count: 1 [test] finished in: 9ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .......... [test] begin test for: ---------------------- c = 'str'; if (c is String) { true; } else { false; } ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 'str' (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [IfNode] :: c is String (3) OPERATOR [END_OF_STATEMENT]: ==END== All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .... [test] begin test for: ---------------------- map = new java.util.HashMap(); map['test'] = 'foo'; map['test']; ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: new java.util.HashMap() (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [AssignmentNode] :: 'foo' (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:map['test'] (5) OPERATOR [END_OF_STATEMENT]: ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- import org.mvel2.tests.core.CoreConfidenceTests; CoreConfidenceTests.Fruit.Apple ---------------------- Expression Decompile ------------- (0) NODE [ImportNode] :: org.mvel2.tests.core.CoreConfidenceTests (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:CoreConfidenceTests.Fruit.Apple ==END== All threads have stopped. Result Count: 1 [test] finished in: 9ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ..org.mvel2.tests.core.res.Foo@62f87c44 null ....org.mvel2.tests.core.res.Foo org.mvel2.tests.core.res.Foo .......Expression Decompile ------------- (0) NODE [ImportNode] :: org.mvel2.tests.core.CoreConfidenceTests.A (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [ImportNode] :: org.mvel2.tests.core.CoreConfidenceTests.B (3) OPERATOR [END_OF_STATEMENT]: (4) NODE [NewObjectNode] :: A().invoke("s1", "s2") ==END== Expression Decompile ------------- (0) NODE [ImportNode] :: org.mvel2.tests.core.CoreConfidenceTests.A (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [ImportNode] :: org.mvel2.tests.core.CoreConfidenceTests.B (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:A.invokeSum(3) ==END== Expression Decompile ------------- (0) NODE [ImportNode] :: org.mvel2.tests.core.CoreConfidenceTests.A (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [ImportNode] :: org.mvel2.tests.core.CoreConfidenceTests.B (3) OPERATOR [END_OF_STATEMENT]: (4) NODE [NewObjectNode] :: A().invoke("s1", "s2", new B(), new B(), new B()) ==END== Expression Decompile ------------- (0) NODE [ImportNode] :: org.mvel2.tests.core.CoreConfidenceTests.A (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [ImportNode] :: org.mvel2.tests.core.CoreConfidenceTests.B (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:A.invokeSum(3, new B(4), new B(5)) ==END== ..... [test] begin test for: ---------------------- java.util.Map map = new java.util.HashMap(); map.put('conan', 'foobar'); map['conan']; ---------------------- Expression Decompile ------------- (0) NODE [TypedVarNode] :: map (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:map.put('conan', 'foobar') (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:map['conan'] (5) OPERATOR [END_OF_STATEMENT]: ==END== All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- ++hour == 61 ---------------------- Expression Decompile ------------- (0) OPERATION [EQUAL] {} {} ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ....... [test] begin test for: ---------------------- stk = new java.util.Stack();stk.push(5);stk.push(5);stk.pop() + stk.pop(); ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: new java.util.Stack() (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:stk.push(5) (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:stk.push(5) (5) OPERATOR [END_OF_STATEMENT]: (6) OPERATION [ADD] {stk.pop()} {stk.pop()} (7) OPERATOR [END_OF_STATEMENT]: ==END== All threads have stopped. Result Count: 1 [test] finished in: 6ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .1 -> 2 2 -> 2 3 -> 2 1 -> 2 2 -> 2 3 -> 2 . [test] begin test for: ---------------------- list = new java.util.ArrayList(); list.add(new String('foo')); list[0] ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: new java.util.ArrayList() (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:list.add(new String('foo')) (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:list[0] ==END== All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ........null null . [test] begin test for: ---------------------- char chr; chr = 100; chr ---------------------- Expression Decompile ------------- (0) NODE [DeclTypedVarNode] :: chr (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [AssignmentNode] :: 100 (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:chr ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .........interpreted: true ..Expression Decompile ------------- (0) NODE [ImportNode] :: org.mvel2.tests.core.res.AStatic (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [AssignmentNode] :: null (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:AStatic.process(a) ==END== Expression Decompile ------------- (0) NODE [ImportNode] :: org.mvel2.tests.core.res.AStatic (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:AStatic.process("hello","world") ==END== Expression Decompile ------------- (0) NODE [ImportNode] :: org.mvel2.tests.core.res.AStatic (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:AStatic.process() ==END== Expression Decompile ------------- (0) NODE [ImportNode] :: org.mvel2.tests.core.res.AStatic (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:AStatic.process(null) ==END== Expression Decompile ------------- (0) REFERENCE :: ASTNode:String.format("xxx") ==END== Expression Decompile ------------- (0) REFERENCE :: ASTNode:String.format("%010d", 123) ==END== Expression Decompile ------------- (0) NODE [AssignmentNode] :: new Object[1] (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [AssignmentNode] :: 123 (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:String.format("%010d", a) ==END== Expression Decompile ------------- (0) NODE [AssignmentNode] :: 123 (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:String.format("%010d", a) ==END== Expression Decompile ------------- (0) NODE [AssignmentNode] :: 123 (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [AssignmentNode] :: 456 (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:String.format("%010d -- %010d", {a, b}) ==END== Expression Decompile ------------- (0) NODE [AssignmentNode] :: new Object[2] (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [AssignmentNode] :: 123 (3) OPERATOR [END_OF_STATEMENT]: (4) NODE [AssignmentNode] :: 456 (5) OPERATOR [END_OF_STATEMENT]: (6) REFERENCE :: ASTNode:String.format("%010d -- %010d", a) ==END== Expression Decompile ------------- (0) REFERENCE :: ASTNode:String.format("%010d -- %010d", 123, 456) ==END== Expression Decompile ------------- (0) NODE [AssignmentNode] :: 123 (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [AssignmentNode] :: 456 (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:String.format("%010d -- %010d", a, b) ==END== ...[Error: cannot assign type java.lang.Integer to org.mvel2.tests.core.res.Bar] [Near : {... foo.bar = 0 ....}] ^ [Line: 1, Column: 1] at org.mvel2.compiler.ExpressionCompiler.verify(ExpressionCompiler.java:455) at org.mvel2.compiler.ExpressionCompiler._compile(ExpressionCompiler.java:281) at org.mvel2.compiler.ExpressionCompiler.compile(ExpressionCompiler.java:67) at org.mvel2.tests.core.CoreConfidenceTests.testSetAccessorOverloadedEqualsStrictMode(CoreConfidenceTests.java:1551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:177) at junit.framework.TestCase.runBare(TestCase.java:142) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:130) at junit.framework.TestSuite.runTest(TestSuite.java:241) at junit.framework.TestSuite.run(TestSuite.java:236) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) at org.junit.runner.JUnitCore.main(JUnitCore.java:36) ...... [test] begin test for: ---------------------- if ((x15 = foo.bar) == foo.bar && x15 == foo.bar) { return 'HelloWorld'; } else { return 'GoodbyeWorld' } ---------------------- Expression Decompile ------------- (0) NODE [IfNode] :: (x15 = foo.bar) == foo.bar && x15 == foo.bar (1) OPERATOR [END_OF_STATEMENT]: ==END== All threads have stopped. Result Count: 1 [test] finished in: 7ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- result = org.mvel2.MVEL.eval('10 * 3'); result == (10 * 3); ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: org.mvel2.MVEL.eval('10 * 3') (1) OPERATOR [END_OF_STATEMENT]: (2) OPERATION [EQUAL] {result} {} (3) OPERATOR [END_OF_STATEMENT]: ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- FooClassRef = foo.getClass(); fooInst = new FooClassRef(); name = org.mvel2.MVEL.eval('name', fooInst); return name == 'dog' ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: foo.getClass() (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [AssignmentNode] :: new FooClassRef() (3) OPERATOR [END_OF_STATEMENT]: (4) NODE [AssignmentNode] :: org.mvel2.MVEL.eval('name', fooInst) (5) OPERATOR [END_OF_STATEMENT]: (6) OPERATOR [RETURN]: name == 'dog' ==END== All threads have stopped. Result Count: 1 [test] finished in: 6ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- exprString = '250' + ' ' + '*' + ' ' + '2'; compiledExpr = org.mvel2.MVEL.compileExpression(exprString); return org.mvel2.MVEL.executeExpression(compiledExpr); ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: '250' + ' ' + '*' + ' ' + '2' (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [AssignmentNode] :: org.mvel2.MVEL.compileExpression(exprString) (3) OPERATOR [END_OF_STATEMENT]: (4) OPERATOR [RETURN]: org.mvel2.MVEL.executeExpression(compiledExpr) (5) OPERATOR [END_OF_STATEMENT]: ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- 'foobar'.toUpperCase(); ---------------------- Expression Decompile ------------- (0) REFERENCE :: Union:toUpperCase() (1) OPERATOR [END_OF_STATEMENT]: ==END== All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- 'someString'.intern(); 'someString'.hashCode() == 'someString'.hashCode(); ---------------------- Expression Decompile ------------- (0) REFERENCE :: Union:intern() (1) OPERATOR [END_OF_STATEMENT]: (2) OPERATION [EQUAL] {hashCode()} {hashCode()} (3) OPERATOR [END_OF_STATEMENT]: ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- _abc = 'someString'.hashCode(); _xyz = _abc + 1; _abc == _xyz ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 'someString'.hashCode() (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [AssignmentNode] :: _abc + 1 (3) OPERATOR [END_OF_STATEMENT]: (4) OPERATION [EQUAL] {_abc} {_xyz} ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .....>a >a .i: 0 i: 1 i: 2 i: 3 i: 4 i: 5 i: 6 i: 7 i: 8 i: 9 i: 10 i: 11 i: 12 i: 13 i: 14 i: 15 i: 16 i: 17 i: 18 i: 19 i: 20 i: 21 i: 22 i: 23 i: 24 i: 25 i: 26 i: 27 i: 28 i: 29 i: 30 i: 31 i: 32 i: 33 i: 34 i: 35 i: 36 i: 37 i: 38 i: 39 i: 40 i: 41 i: 42 i: 43 i: 44 i: 45 i: 46 i: 47 i: 48 i: 49 i: 50 i: 51 i: 52 i: 53 i: 54 i: 55 i: 56 i: 57 i: 58 i: 59 i: 60 i: 61 i: 62 i: 63 i: 64 i: 65 i: 66 i: 67 i: 68 i: 69 i: 70 i: 71 i: 72 i: 73 i: 74 i: 75 i: 76 i: 77 i: 78 i: 79 i: 80 i: 81 i: 82 i: 83 i: 84 i: 85 i: 86 i: 87 i: 88 i: 89 i: 90 i: 91 i: 92 i: 93 i: 94 i: 95 i: 96 i: 97 i: 98 i: 99 ...private! private! private! private! .public! public! public! public! public! ...... [test] begin test for: ---------------------- char[] _c___ = new char[10]; _c___ instanceof char[] ---------------------- Expression Decompile ------------- (0) NODE [TypedVarNode] :: _c___ (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [Instance] :: ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- !new Boolean(true) ---------------------- Expression Decompile ------------- (0) NODE [Negation] :: new Boolean(true) ==END== All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- !isdef _foozy_ ---------------------- Expression Decompile ------------- (0) NODE [Negation] :: isdef _foozy_ ==END== All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ... ......1.00 .. [test] begin test for: ---------------------- java.lang.Integer number = (java.lang.Integer) '1'; ---------------------- Expression Decompile ------------- (0) NODE [TypedVarNode] :: number (1) OPERATOR [END_OF_STATEMENT]: ==END== All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ...... [test] begin test for: ---------------------- set = new java.util.LinkedHashSet(); set.add('foo');set.add('bar');output = '';foreach (item : set) {output = output + item + ' ';} foreach (item : set) {output = output + item + ' ';} output = output.trim();if (set.size() == 2) { return output; } ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: new java.util.LinkedHashSet() (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:set.add('foo') (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:set.add('bar') (5) OPERATOR [END_OF_STATEMENT]: (6) NODE [AssignmentNode] :: '' (7) OPERATOR [END_OF_STATEMENT]: (8) NODE [ForEachNode] :: set (9) OPERATOR [END_OF_STATEMENT]: (10) NODE [ForEachNode] :: set (11) OPERATOR [END_OF_STATEMENT]: (12) NODE [AssignmentNode] :: output.trim() (13) OPERATOR [END_OF_STATEMENT]: (14) NODE [IfNode] :: set.size() == 2 ==END== All threads have stopped. Result Count: 1 [test] finished in: 7ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .... [test] begin test for: ---------------------- equalityCheck(1,1)||fun||ackbar ---------------------- Expression Decompile ------------- (0) NODE [Or] :: ==END== All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- hour++ < 61 && hour == 61 ---------------------- Expression Decompile ------------- (0) NODE [And] :: ==END== All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ......returned value: 5 returned value: FOO2 .......BEFORE Node: System.out.println('MIDDLE') MIDDLE AFTER Node: System.out.println('MIDDLE') . [test] begin test for: ---------------------- var barfoo = 'FOO_BAR'; return barfoo; ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 'FOO_BAR' (1) OPERATOR [END_OF_STATEMENT]: (2) OPERATOR [RETURN]: barfoo (3) OPERATOR [END_OF_STATEMENT]: ==END== All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- (String) 10 ---------------------- Expression Decompile ------------- (0) NODE [TypeCast] :: 10 ==END== All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- System.out.println('1)your guess was:'); ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:System.out.println('1)your guess was:') (1) OPERATOR [END_OF_STATEMENT]: ==END== 1)your guess was: 1)your guess was: 1)your guess was: 1)your guess was: 1)your guess was: 1)your guess was: 1)your guess was: 1)your guess was: All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ...Name ....Sunday Sunday .[Error: unqualified type in strict mode for: foo] [Near : {... a.foo; ....}] ^ [Line: 1, Column: 3] at org.mvel2.compiler.PropertyVerifier.getBeanProperty(PropertyVerifier.java:301) at org.mvel2.compiler.PropertyVerifier.analyze(PropertyVerifier.java:132) at org.mvel2.compiler.ExpressionCompiler.verify(ExpressionCompiler.java:392) at org.mvel2.compiler.ExpressionCompiler._compile(ExpressionCompiler.java:281) at org.mvel2.compiler.ExpressionCompiler.compile(ExpressionCompiler.java:67) at org.mvel2.tests.core.CoreConfidenceTests.testStrictTypingCompilation(CoreConfidenceTests.java:334) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:177) at junit.framework.TestCase.runBare(TestCase.java:142) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:130) at junit.framework.TestSuite.runTest(TestSuite.java:241) at junit.framework.TestSuite.run(TestSuite.java:236) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) at org.junit.runner.JUnitCore.main(JUnitCore.java:36) .. [test] begin test for: ---------------------- _xyxy = (char[]) 'abcd'; _xyxy[0] == 'a' ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: (char[]) 'abcd' (1) OPERATOR [END_OF_STATEMENT]: (2) OPERATION [EQUAL] {_xyxy[0]} {} ==END== All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- BWAH ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:BWAH ==END== All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- hour == (hour + 0) ---------------------- Expression Decompile ------------- (0) OPERATION [EQUAL] {hour} {hour + 0} ==END== All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- foo.sampleBean.bar.name ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:foo.sampleBean.bar.name ==END== All threads have stopped. Result Count: 1 [test] finished in: 9ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- true||false||false ---------------------- Expression Decompile ------------- (0) NODE [Or] :: ==END== All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- import java.io.*; BufferedReader ---------------------- Expression Decompile ------------- (0) NODE [ImportNode] :: java.io.* (1) OPERATOR [END_OF_STATEMENT]: (2) LITERAL :: class java.io.BufferedReader' ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- (char[]) 'abcd' ---------------------- Expression Decompile ------------- (0) NODE [TypeCast] :: 'abcd' ==END== All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ...... [test] begin test for: ---------------------- Foo244 = String; new Foo244('foobar') ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: String (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [NewObjectNode] :: Foo244('foobar') ==END== All threads have stopped. Result Count: 1 [test] finished in: 6ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .....Process started .dog is running cat is running ....... [test] begin test for: ---------------------- 2x * 3 ---------------------- Expression Decompile ------------- (0) OPERATION [MULTIPLY] {2x} {} ==END== [Error: could not access: 2x; in class: org.mvel2.tests.core.res.Base] [Near : {... 2x * 3 ....}] ^ [Line: 2, Column: 1] at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getBeanProperty(ReflectiveAccessorOptimizer.java:707) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:360) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.optimizeAccessor(ReflectiveAccessorOptimizer.java:163) at org.mvel2.ast.ASTNode.optimize(ASTNode.java:159) at org.mvel2.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:115) at org.mvel2.ast.BinaryOperation.getReducedValueAccelerated(BinaryOperation.java:117) at org.mvel2.compiler.ExecutableAccessor.getValue(ExecutableAccessor.java:42) at org.mvel2.MVEL.executeExpression(MVEL.java:921) at org.mvel2.tests.core.AbstractTest._test(AbstractTest.java:365) at org.mvel2.tests.core.AbstractTest.runSingleTest(AbstractTest.java:265) at org.mvel2.tests.core.AbstractTest$TestRunner.run(AbstractTest.java:253) at java.lang.Thread.run(Thread.java:748) at org.mvel2.tests.core.AbstractTest.test(AbstractTest.java:152) at org.mvel2.tests.core.CoreConfidenceTests.testCompilerExceptionFormatting(CoreConfidenceTests.java:4447) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:177) at junit.framework.TestCase.runBare(TestCase.java:142) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:130) at junit.framework.TestSuite.runTest(TestSuite.java:241) at junit.framework.TestSuite.run(TestSuite.java:236) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) at org.junit.runner.JUnitCore.main(JUnitCore.java:36) Expression Decompile ------------- (0) DEBUG_SYMBOL :: [SourceLine:2] (1) OPERATION [MULTIPLY] {2x} {} ==END== thread terminating due to exception java.lang.AssertionError: Detailed Failure Report: FIRST TEST: { 2x * 3 }: EXCEPTION REPORT: [Error: [Error: could not access: 2x; in class: org.mvel2.tests.core.res.Base] [Near : {... 2x * 3 ....}] ^ [Line: 1, Column: 1]] [Near : {... 2x * 3 ....}] ^ [Line: 1, Column: 1] at org.mvel2.optimizers.impl.asm.ASMAccessorOptimizer.compileAccessor(ASMAccessorOptimizer.java:898) at org.mvel2.optimizers.impl.asm.ASMAccessorOptimizer.optimizeAccessor(ASMAccessorOptimizer.java:274) at org.mvel2.ast.ASTNode.optimize(ASTNode.java:159) at org.mvel2.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:115) at org.mvel2.ast.BinaryOperation.getReducedValueAccelerated(BinaryOperation.java:117) at org.mvel2.MVELRuntime.execute(MVELRuntime.java:85) at org.mvel2.compiler.CompiledExpression.getDirectValue(CompiledExpression.java:123) at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:119) at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:113) at org.mvel2.MVEL.executeExpression(MVEL.java:921) at org.mvel2.tests.core.AbstractTest._test(AbstractTest.java:295) at org.mvel2.tests.core.AbstractTest.runSingleTest(AbstractTest.java:265) at org.mvel2.tests.core.AbstractTest$TestRunner.run(AbstractTest.java:253) at java.lang.Thread.run(Thread.java:748) at org.mvel2.tests.core.AbstractTest.test(AbstractTest.java:152) at org.mvel2.tests.core.CoreConfidenceTests.testCompilerExceptionFormatting(CoreConfidenceTests.java:4447) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:177) at junit.framework.TestCase.runBare(TestCase.java:142) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:130) at junit.framework.TestSuite.runTest(TestSuite.java:241) at junit.framework.TestSuite.run(TestSuite.java:236) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) at org.junit.runner.JUnitCore.main(JUnitCore.java:36) Caused by: [Error: could not access: 2x; in class: org.mvel2.tests.core.res.Base] [Near : {... 2x * 3 ....}] ^ [Line: 1, Column: 1] at org.mvel2.optimizers.impl.asm.ASMAccessorOptimizer.getBeanProperty(ASMAccessorOptimizer.java:1254) at org.mvel2.optimizers.impl.asm.ASMAccessorOptimizer.compileAccessor(ASMAccessorOptimizer.java:785) ... 41 more SECOND TEST: { 2x * 3 }: EXCEPTION REPORT: [Error: [Error: could not access: 2x; in class: org.mvel2.tests.core.res.Base] [Near : {... 2x * 3 ....}] ^ [Line: 1, Column: 1]] [Near : {... 2x * 3 ....}] ^ [Line: 1, Column: 1] at org.mvel2.optimizers.impl.asm.ASMAccessorOptimizer.compileAccessor(ASMAccessorOptimizer.java:898) at org.mvel2.optimizers.impl.asm.ASMAccessorOptimizer.optimizeAccessor(ASMAccessorOptimizer.java:274) at org.mvel2.ast.ASTNode.optimize(ASTNode.java:159) at org.mvel2.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:115) at org.mvel2.ast.BinaryOperation.getReducedValueAccelerated(BinaryOperation.java:117) at org.mvel2.MVELRuntime.execute(MVELRuntime.java:85) at org.mvel2.compiler.CompiledExpression.getDirectValue(CompiledExpression.java:123) at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:119) at org.mvel2.MVEL.executeExpression(MVEL.java:921) at org.mvel2.tests.core.AbstractTest._test(AbstractTest.java:307) at org.mvel2.tests.core.AbstractTest.runSingleTest(AbstractTest.java:265) at org.mvel2.tests.core.AbstractTest$TestRunner.run(AbstractTest.java:253) at java.lang.Thread.run(Thread.java:748) at org.mvel2.tests.core.AbstractTest.test(AbstractTest.java:152) at org.mvel2.tests.core.CoreConfidenceTests.testCompilerExceptionFormatting(CoreConfidenceTests.java:4447) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:177) at junit.framework.TestCase.runBare(TestCase.java:142) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:130) at junit.framework.TestSuite.runTest(TestSuite.java:241) at junit.framework.TestSuite.run(TestSuite.java:236) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) at org.junit.runner.JUnitCore.main(JUnitCore.java:36) Caused by: [Error: could not access: 2x; in class: org.mvel2.tests.core.res.Base] [Near : {... 2x * 3 ....}] ^ [Line: 1, Column: 1] at org.mvel2.optimizers.impl.asm.ASMAccessorOptimizer.getBeanProperty(ASMAccessorOptimizer.java:1254) at org.mvel2.optimizers.impl.asm.ASMAccessorOptimizer.compileAccessor(ASMAccessorOptimizer.java:785) ... 40 more THIRD TEST: { 2x * 3 }: EXCEPTION REPORT: [Error: could not access: 2x; in class: org.mvel2.tests.core.res.Base] [Near : {... 2x * 3 ....}] ^ [Line: 2, Column: 1] at org.mvel2.PropertyAccessor.getBeanProperty(PropertyAccessor.java:679) at org.mvel2.PropertyAccessor.getNormal(PropertyAccessor.java:178) at org.mvel2.PropertyAccessor.get(PropertyAccessor.java:145) at org.mvel2.PropertyAccessor.get(PropertyAccessor.java:125) at org.mvel2.ast.ASTNode.getReducedValue(ASTNode.java:187) at org.mvel2.MVELInterpretedRuntime.parseAndExecuteInterpreted(MVELInterpretedRuntime.java:101) at org.mvel2.MVELInterpretedRuntime.parse(MVELInterpretedRuntime.java:47) at org.mvel2.MVEL.eval(MVEL.java:185) at org.mvel2.tests.core.AbstractTest._test(AbstractTest.java:321) at org.mvel2.tests.core.AbstractTest.runSingleTest(AbstractTest.java:265) at org.mvel2.tests.core.AbstractTest$TestRunner.run(AbstractTest.java:253) at java.lang.Thread.run(Thread.java:748) at org.mvel2.tests.core.AbstractTest.test(AbstractTest.java:152) at org.mvel2.tests.core.CoreConfidenceTests.testCompilerExceptionFormatting(CoreConfidenceTests.java:4447) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:177) at junit.framework.TestCase.runBare(TestCase.java:142) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:130) at junit.framework.TestSuite.runTest(TestSuite.java:241) at junit.framework.TestSuite.run(TestSuite.java:236) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) at org.junit.runner.JUnitCore.main(JUnitCore.java:36) FOURTH TEST: { 2x * 3 }: EXCEPTION REPORT: [Error: could not access: 2x; in class: org.mvel2.tests.core.res.Base] [Near : {... 2x * 3 ....}] ^ [Line: 2, Column: 1] at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getBeanProperty(ReflectiveAccessorOptimizer.java:707) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:360) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.optimizeAccessor(ReflectiveAccessorOptimizer.java:163) at org.mvel2.ast.ASTNode.optimize(ASTNode.java:159) at org.mvel2.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:115) at org.mvel2.ast.BinaryOperation.getReducedValueAccelerated(BinaryOperation.java:117) at org.mvel2.compiler.ExecutableAccessor.getValue(ExecutableAccessor.java:42) at org.mvel2.MVEL.executeExpression(MVEL.java:921) at org.mvel2.tests.core.AbstractTest._test(AbstractTest.java:352) at org.mvel2.tests.core.AbstractTest.runSingleTest(AbstractTest.java:265) at org.mvel2.tests.core.AbstractTest$TestRunner.run(AbstractTest.java:253) at java.lang.Thread.run(Thread.java:748) at org.mvel2.tests.core.AbstractTest.test(AbstractTest.java:152) at org.mvel2.tests.core.CoreConfidenceTests.testCompilerExceptionFormatting(CoreConfidenceTests.java:4447) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:177) at junit.framework.TestCase.runBare(TestCase.java:142) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:130) at junit.framework.TestSuite.runTest(TestSuite.java:241) at junit.framework.TestSuite.run(TestSuite.java:236) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) at org.junit.runner.JUnitCore.main(JUnitCore.java:36) FIFTH TEST: { 2x * 3 }: EXCEPTION REPORT: [Error: could not access: 2x; in class: org.mvel2.tests.core.res.Base] [Near : {... 2x * 3 ....}] ^ [Line: 2, Column: 1] at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getBeanProperty(ReflectiveAccessorOptimizer.java:707) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:360) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.optimizeAccessor(ReflectiveAccessorOptimizer.java:163) at org.mvel2.ast.ASTNode.optimize(ASTNode.java:159) at org.mvel2.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:115) at org.mvel2.ast.BinaryOperation.getReducedValueAccelerated(BinaryOperation.java:117) at org.mvel2.compiler.ExecutableAccessor.getValue(ExecutableAccessor.java:42) at org.mvel2.MVEL.executeExpression(MVEL.java:921) at org.mvel2.tests.core.AbstractTest._test(AbstractTest.java:365) at org.mvel2.tests.core.AbstractTest.runSingleTest(AbstractTest.java:265) at org.mvel2.tests.core.AbstractTest$TestRunner.run(AbstractTest.java:253) at java.lang.Thread.run(Thread.java:748) at org.mvel2.tests.core.AbstractTest.test(AbstractTest.java:152) at org.mvel2.tests.core.CoreConfidenceTests.testCompilerExceptionFormatting(CoreConfidenceTests.java:4447) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:177) at junit.framework.TestCase.runBare(TestCase.java:142) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:130) at junit.framework.TestSuite.runTest(TestSuite.java:241) at junit.framework.TestSuite.run(TestSuite.java:236) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) at org.junit.runner.JUnitCore.main(JUnitCore.java:36) SIXTH TEST: { 2x * 3 }: EXCEPTION REPORT: [Error: could not access: 2x; in class: org.mvel2.tests.core.res.Base] [Near : {... 2x * 3 ....}] ^ [Line: 2, Column: 1] at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getBeanProperty(ReflectiveAccessorOptimizer.java:707) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:360) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.optimizeAccessor(ReflectiveAccessorOptimizer.java:163) at org.mvel2.ast.ASTNode.optimize(ASTNode.java:159) at org.mvel2.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:115) at org.mvel2.ast.BinaryOperation.getReducedValueAccelerated(BinaryOperation.java:117) at org.mvel2.MVELRuntime.execute(MVELRuntime.java:85) at org.mvel2.compiler.CompiledExpression.getDirectValue(CompiledExpression.java:123) at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:119) at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:113) at org.mvel2.MVEL.executeExpression(MVEL.java:921) at org.mvel2.tests.core.AbstractTest._test(AbstractTest.java:395) at org.mvel2.tests.core.AbstractTest.runSingleTest(AbstractTest.java:265) at org.mvel2.tests.core.AbstractTest$TestRunner.run(AbstractTest.java:253) at java.lang.Thread.run(Thread.java:748) at org.mvel2.tests.core.AbstractTest.test(AbstractTest.java:152) at org.mvel2.tests.core.CoreConfidenceTests.testCompilerExceptionFormatting(CoreConfidenceTests.java:4447) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:177) at junit.framework.TestCase.runBare(TestCase.java:142) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:130) at junit.framework.TestSuite.runTest(TestSuite.java:241) at junit.framework.TestSuite.run(TestSuite.java:236) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) at org.junit.runner.JUnitCore.main(JUnitCore.java:36) SEVENTH TEST: { 2x * 3 }: EXCEPTION REPORT: [Error: could not access: 2x; in class: org.mvel2.tests.core.res.Base] [Near : {... 2x * 3 ....}] ^ [Line: 2, Column: 1] at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getBeanProperty(ReflectiveAccessorOptimizer.java:707) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:360) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.optimizeAccessor(ReflectiveAccessorOptimizer.java:163) at org.mvel2.ast.ASTNode.optimize(ASTNode.java:159) at org.mvel2.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:115) at org.mvel2.ast.BinaryOperation.getReducedValueAccelerated(BinaryOperation.java:117) at org.mvel2.MVELRuntime.execute(MVELRuntime.java:85) at org.mvel2.compiler.CompiledExpression.getDirectValue(CompiledExpression.java:123) at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:119) at org.mvel2.MVEL.executeExpression(MVEL.java:921) at org.mvel2.tests.core.AbstractTest._test(AbstractTest.java:424) at org.mvel2.tests.core.AbstractTest.runSingleTest(AbstractTest.java:265) at org.mvel2.tests.core.AbstractTest$TestRunner.run(AbstractTest.java:253) at java.lang.Thread.run(Thread.java:748) at org.mvel2.tests.core.AbstractTest.test(AbstractTest.java:152) at org.mvel2.tests.core.CoreConfidenceTests.testCompilerExceptionFormatting(CoreConfidenceTests.java:4447) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:177) at junit.framework.TestCase.runBare(TestCase.java:142) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:130) at junit.framework.TestSuite.runTest(TestSuite.java:241) at junit.framework.TestSuite.run(TestSuite.java:236) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) at org.junit.runner.JUnitCore.main(JUnitCore.java:36) EIGHTH TEST (Serializability): { 2x * 3 }: EXCEPTION REPORT: [Error: could not access: 2x; in class: org.mvel2.tests.core.res.Base] [Near : {... 2x * 3 ....}] ^ [Line: 2, Column: 1] at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getBeanProperty(ReflectiveAccessorOptimizer.java:707) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:360) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.optimizeAccessor(ReflectiveAccessorOptimizer.java:163) at org.mvel2.ast.ASTNode.optimize(ASTNode.java:159) at org.mvel2.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:115) at org.mvel2.ast.BinaryOperation.getReducedValueAccelerated(BinaryOperation.java:117) at org.mvel2.MVELRuntime.execute(MVELRuntime.java:85) at org.mvel2.compiler.CompiledExpression.getDirectValue(CompiledExpression.java:123) at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:119) at org.mvel2.MVEL.executeExpression(MVEL.java:929) at org.mvel2.tests.core.AbstractTest._test(AbstractTest.java:445) at org.mvel2.tests.core.AbstractTest.runSingleTest(AbstractTest.java:265) at org.mvel2.tests.core.AbstractTest$TestRunner.run(AbstractTest.java:253) at java.lang.Thread.run(Thread.java:748) at org.mvel2.tests.core.AbstractTest.test(AbstractTest.java:152) at org.mvel2.tests.core.CoreConfidenceTests.testCompilerExceptionFormatting(CoreConfidenceTests.java:4447) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:177) at junit.framework.TestCase.runBare(TestCase.java:142) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:130) at junit.framework.TestSuite.runTest(TestSuite.java:241) at junit.framework.TestSuite.run(TestSuite.java:236) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) at org.junit.runner.JUnitCore.main(JUnitCore.java:36) at org.mvel2.tests.core.AbstractTest._test(AbstractTest.java:467) at org.mvel2.tests.core.AbstractTest.runSingleTest(AbstractTest.java:265) at org.mvel2.tests.core.AbstractTest$TestRunner.run(AbstractTest.java:253) at java.lang.Thread.run(Thread.java:748) at org.mvel2.tests.core.AbstractTest.test(AbstractTest.java:152) at org.mvel2.tests.core.CoreConfidenceTests.testCompilerExceptionFormatting(CoreConfidenceTests.java:4447) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:177) at junit.framework.TestCase.runBare(TestCase.java:142) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:130) at junit.framework.TestSuite.runTest(TestSuite.java:241) at junit.framework.TestSuite.run(TestSuite.java:236) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) at org.junit.runner.JUnitCore.main(JUnitCore.java:36) All threads have stopped. Result Count: 0 [test] finished in: 10ms (execution count: 8 [mixed modes]) [test] analyzing results ... ....1 .....array param method called! sigle param method called! .Expression Decompile ------------- (0) LITERAL :: 110.0' ==END== Expression Decompile ------------- (0) LITERAL :: 90.0' ==END== Expression Decompile ------------- (0) LITERAL :: 10.01' ==END== .bean.today: Sat Mar 26 13:06:40 EDT 2022 formatDate(bean.today): 03/26/22 formatString(bean.nullString): bean.myDate = bean.nullDate: null formatDate(bean.myDate): null null . [test] begin test for: ---------------------- x = (10) + (5); x ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: (10) + (5) (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:x ==END== All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .Expression Decompile ------------- (0) REFERENCE :: ASTNode:ord(true,-1) ==END== num: -1 num: -1 num: -1 num: -1 num: -1 num: -1 num: -1 num: -1 ... [test] begin test for: ---------------------- list = [java.lang.Integer.MIN_VALUE]; list[0] ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: [java.lang.Integer.MIN_VALUE] (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:list[0] ==END== All threads have stopped. Result Count: 1 [test] finished in: 6ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ... [test] begin test for: ---------------------- map = new java.util.HashMap(); map.put('doggie', new java.util.ArrayList()); ((java.util.ArrayList) map['doggie']).size() ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: new java.util.HashMap() (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:map.put('doggie', new java.util.ArrayList()) (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: Union:size() ==END== All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ..Expression Decompile ------------- (0) REFERENCE :: ASTNode:System.out.myPrintln("Hello World") (1) OPERATOR [END_OF_STATEMENT]: ==END== Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World ..1 -> 2 2 -> 2 3 -> 2 1 -> 2 2 -> 2 3 -> 2 .[a, b, c] ...org.mvel2.tests.core.res.WorkingMemoryImpl@216914 .... [test] begin test for: ---------------------- java.math.BigDecimal axx = new java.math.BigDecimal( 10.0 ); java.math.BigDecimal bxx = new java.math.BigDecimal( 10.0 ); java.math.BigDecimal cxx = axx + bxx; return cxx; ---------------------- Expression Decompile ------------- (0) NODE [TypedVarNode] :: axx (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [TypedVarNode] :: bxx (3) OPERATOR [END_OF_STATEMENT]: (4) NODE [TypedVarNode] :: cxx (5) OPERATOR [END_OF_STATEMENT]: (6) OPERATOR [RETURN]: cxx (7) OPERATOR [END_OF_STATEMENT]: ==END== All threads have stopped. Result Count: 1 [test] finished in: 10ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- org.mvel2.tests.core.CoreConfidenceTests.minim( new double[] {456.2, 2.3} ) == 2.3 ---------------------- Expression Decompile ------------- (0) OPERATION [EQUAL] {org.mvel2.tests.core.CoreConfidenceTests.minim( new double[] {456.2, 2.3} )} {} ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .>a >a ...i: 0 i: 1 i: 2 i: 3 i: 4 i: 5 i: 6 i: 7 i: 8 i: 9 i: 10 i: 11 i: 12 i: 13 i: 14 i: 15 i: 16 i: 17 i: 18 i: 19 i: 20 i: 21 i: 22 i: 23 i: 24 i: 25 i: 26 i: 27 i: 28 i: 29 i: 30 i: 31 i: 32 i: 33 i: 34 i: 35 i: 36 i: 37 i: 38 i: 39 i: 40 i: 41 i: 42 i: 43 i: 44 i: 45 i: 46 i: 47 i: 48 i: 49 i: 50 i: 51 i: 52 i: 53 i: 54 i: 55 i: 56 i: 57 i: 58 i: 59 i: 60 i: 61 i: 62 i: 63 i: 64 i: 65 i: 66 i: 67 i: 68 i: 69 i: 70 i: 71 i: 72 i: 73 i: 74 i: 75 i: 76 i: 77 i: 78 i: 79 i: 80 i: 81 i: 82 i: 83 i: 84 i: 85 i: 86 i: 87 i: 88 i: 89 i: 90 i: 91 i: 92 i: 93 i: 94 i: 95 i: 96 i: 97 i: 98 i: 99 ....private! private! private! .......Evaluating 'bal > 200 or bal < 100': ...... Evaluating 'bal > 200 || bal < 100': ...... Evaluating 'bal < 100 and bal > 200': ...... Evaluating 'bal < 100 && bal > 200': ...... Evaluating 'bal > 200 and bal < 100': ...... Evaluating 'bal > 200 && bal < 100': ...... ........... [test] begin test for: ---------------------- import java.util.HashMap; HashMap; ---------------------- Expression Decompile ------------- (0) NODE [ImportNode] :: java.util.HashMap (1) OPERATOR [END_OF_STATEMENT]: (2) LITERAL :: class java.util.HashMap' (3) OPERATOR [END_OF_STATEMENT]: ==END== All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- new String(new String(new String("foo"))); ---------------------- Expression Decompile ------------- (0) NODE [NewObjectNode] :: String(new String(new String("foo"))) (1) OPERATOR [END_OF_STATEMENT]: ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ....... [test] begin test for: ---------------------- hour-1 ---------------------- Expression Decompile ------------- (0) OPERATION [SUBTRACT] {hour} {} ==END== All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ..foo bar . [test] begin test for: ---------------------- a = 0; System.out.println('This is a test'); ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 0 (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:System.out.println('This is a test') (3) OPERATOR [END_OF_STATEMENT]: ==END== This is a test This is a test This is a test This is a test This is a test This is a test This is a test This is a test All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- a = new java.util.ArrayList(); a.add('foo'); a.add('BAR'); a[1] = 'bar'; a[1] ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: new java.util.ArrayList() (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:a.add('foo') (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:a.add('BAR') (5) OPERATOR [END_OF_STATEMENT]: (6) NODE [AssignmentNode] :: 'bar' (7) OPERATOR [END_OF_STATEMENT]: (8) REFERENCE :: ASTNode:a[1] ==END== All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .44247.78761061946902654867256637168 .. [test] begin test for: ---------------------- 5 > 6 && 2 < 1 || 10 > 9 ---------------------- Expression Decompile ------------- (0) NODE [Or] :: ==END== All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ....result: [24, 21, 29, 37, 39, 20, 6, 16, 19, 3, 7, 18, 35, 50, 30, 44, 46, 48, 15, 14, 43, 33, 13, 31, 9, 25, 5, 49, 52, 12, 42, 8, 40, 45, 2, 34, 47, 41, 4, 0, 22, 26, 38, 28, 51, 1, 17, 36, 32, 10, 23, 11, 27] ...... [test] begin test for: ---------------------- foo.bar.testList.add(new String()); foo.bar.testList == empty ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:foo.bar.testList.add(new String()) (1) OPERATOR [END_OF_STATEMENT]: (2) OPERATION [EQUAL] {foo.bar.testList} {} ==END== All threads have stopped. Result Count: 1 [test] finished in: 15ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ... [test] begin test for: ---------------------- foo.toUC("abcd").equals("ABCD") ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:foo.toUC("abcd").equals("ABCD") ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ... [test] begin test for: ---------------------- {'foo', 'test'}[1] ---------------------- Expression Decompile ------------- (0) REFERENCE :: Union:[1] ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- ( order.number == 1 || order.number == ( 1+1) || order.number == $id ) ---------------------- Expression Decompile ------------- (0) NODE [Substatement] :: order.number == 1 || order.number == ( 1+1) || order.number == $id ==END== All threads have stopped. Result Count: 1 [test] finished in: 12ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .... [test] begin test for: ---------------------- import_static java.lang.Math.sqrt; sqrt(4) ---------------------- Expression Decompile ------------- (0) NODE [StaticImportNode] :: java.lang.Math.sqrt (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:sqrt(4) ==END== All threads have stopped. Result Count: 1 [test] finished in: 6ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- a = 'foobar'; a[4] == 'a' ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 'foobar' (1) OPERATOR [END_OF_STATEMENT]: (2) OPERATION [EQUAL] {a[4]} {} ==END== All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ..........true .. [test] begin test for: ---------------------- vv="Edson"; !(vv ~= "Mark") ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: "Edson" (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [Negation] :: (vv ~= "Mark") ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .... [test] begin test for: ---------------------- x = 1; ++x ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 1 (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [PreFixIncNode] :: ==END== All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- xx = new java.util.HashMap(); xx.put('foo', 'bar'); prop = 'foo'; xx[prop]; ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: new java.util.HashMap() (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:xx.put('foo', 'bar') (3) OPERATOR [END_OF_STATEMENT]: (4) NODE [AssignmentNode] :: 'foo' (5) OPERATOR [END_OF_STATEMENT]: (6) REFERENCE :: ASTNode:xx[prop] (7) OPERATOR [END_OF_STATEMENT]: ==END== All threads have stopped. Result Count: 1 [test] finished in: 9ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- java.math.BigDecimal a = new java.math.BigDecimal( 10.0 ); java.math.BigDecimal b = new java.math.BigDecimal( 10.0 ); java.math.BigDecimal c = a + b; return c; ---------------------- Expression Decompile ------------- (0) NODE [TypedVarNode] :: a (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [TypedVarNode] :: b (3) OPERATOR [END_OF_STATEMENT]: (4) NODE [TypedVarNode] :: c (5) OPERATOR [END_OF_STATEMENT]: (6) OPERATOR [RETURN]: c (7) OPERATOR [END_OF_STATEMENT]: ==END== All threads have stopped. Result Count: 1 [test] finished in: 6ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ... [test] begin test for: ---------------------- x = 1; x++; x ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 1 (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [PostFixIncNode] :: (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:x ==END== All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- x = 2; --x ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 2 (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [PreFixDecNode] :: ==END== All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- a = 'foo'; b = 'bar'; c = 'jim'; list = {a,b,c}; list[1] ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 'foo' (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [AssignmentNode] :: 'bar' (3) OPERATOR [END_OF_STATEMENT]: (4) NODE [AssignmentNode] :: 'jim' (5) OPERATOR [END_OF_STATEMENT]: (6) NODE [AssignmentNode] :: {a,b,c} (7) OPERATOR [END_OF_STATEMENT]: (8) REFERENCE :: ASTNode:list[1] ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- populate(); blahfoo = 'sarah'; blahfoo == 'sarah' ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:populate() (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [AssignmentNode] :: 'sarah' (3) OPERATOR [END_OF_STATEMENT]: (4) OPERATION [EQUAL] {blahfoo} {} ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- String mikeBrock = 1; mikeBrock ---------------------- Expression Decompile ------------- (0) NODE [TypedVarNode] :: mikeBrock (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:mikeBrock ==END== All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- populate(); blahfoo = barfoo ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:populate() (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [AssignmentNode] :: barfoo ==END== All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- blah = 5 ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 5 ==END== All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- a = 100 + 1 + 1 ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 100 + 1 + 1 ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- array[zero] = array[zero+1]; array[zero] ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: array[zero+1] (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:array[zero] ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- squareRoot = java.lang.Math.sqrt; squareRoot(4) ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: java.lang.Math.sqrt (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:squareRoot(4) ==END== All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- x = 2; x--; x ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 2 (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [PostFixDecNode] :: (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:x ==END== All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- a = 'foobar'; new String(a.toCharArray(), 0, 3) ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 'foobar' (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [NewObjectNode] :: String(a.toCharArray(), 0, 3) ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ..................class java.lang.String .........i: 0 i: 1 i: 2 i: 3 i: 4 i: 5 i: 6 i: 7 i: 8 i: 9 i: 10 i: 11 i: 12 i: 13 i: 14 i: 15 i: 16 i: 17 i: 18 i: 19 i: 20 i: 21 i: 22 i: 23 i: 24 i: 25 i: 26 i: 27 i: 28 i: 29 i: 30 i: 31 i: 32 i: 33 i: 34 i: 35 i: 36 i: 37 i: 38 i: 39 i: 40 i: 41 i: 42 i: 43 i: 44 i: 45 i: 46 i: 47 i: 48 i: 49 i: 50 i: 51 i: 52 i: 53 i: 54 i: 55 i: 56 i: 57 i: 58 i: 59 i: 60 i: 61 i: 62 i: 63 i: 64 i: 65 i: 66 i: 67 i: 68 i: 69 i: 70 i: 71 i: 72 i: 73 i: 74 i: 75 i: 76 i: 77 i: 78 i: 79 i: 80 i: 81 i: 82 i: 83 i: 84 i: 85 i: 86 i: 87 i: 88 i: 89 i: 90 i: 91 i: 92 i: 93 i: 94 i: 95 i: 96 i: 97 i: 98 i: 99 .i: 0 i: 1 i: 2 i: 3 i: 4 i: 5 i: 6 i: 7 i: 8 i: 9 i: 10 i: 11 i: 12 i: 13 i: 14 i: 15 i: 16 i: 17 i: 18 i: 19 i: 20 i: 21 i: 22 i: 23 i: 24 i: 25 i: 26 i: 27 i: 28 i: 29 i: 30 i: 31 i: 32 i: 33 i: 34 i: 35 i: 36 i: 37 i: 38 i: 39 i: 40 i: 41 i: 42 i: 43 i: 44 i: 45 i: 46 i: 47 i: 48 i: 49 i: 50 i: 51 i: 52 i: 53 i: 54 i: 55 i: 56 i: 57 i: 58 i: 59 i: 60 i: 61 i: 62 i: 63 i: 64 i: 65 i: 66 i: 67 i: 68 i: 69 i: 70 i: 71 i: 72 i: 73 i: 74 i: 75 i: 76 i: 77 i: 78 i: 79 i: 80 i: 81 i: 82 i: 83 i: 84 i: 85 i: 86 i: 87 i: 88 i: 89 i: 90 i: 91 i: 92 i: 93 i: 94 i: 95 i: 96 i: 97 i: 98 i: 99 .i: 0 i: 1 i: 2 i: 3 i: 4 i: 5 i: 6 i: 7 i: 8 i: 9 i: 10 i: 11 i: 12 i: 13 i: 14 i: 15 i: 16 i: 17 i: 18 i: 19 i: 20 i: 21 i: 22 i: 23 i: 24 i: 25 i: 26 i: 27 i: 28 i: 29 i: 30 i: 31 i: 32 i: 33 i: 34 i: 35 i: 36 i: 37 i: 38 i: 39 i: 40 i: 41 i: 42 i: 43 i: 44 i: 45 i: 46 i: 47 i: 48 i: 49 i: 50 i: 51 i: 52 i: 53 i: 54 i: 55 i: 56 i: 57 i: 58 i: 59 i: 60 i: 61 i: 62 i: 63 i: 64 i: 65 i: 66 i: 67 i: 68 i: 69 i: 70 i: 71 i: 72 i: 73 i: 74 i: 75 i: 76 i: 77 i: 78 i: 79 i: 80 i: 81 i: 82 i: 83 i: 84 i: 85 i: 86 i: 87 i: 88 i: 89 i: 90 i: 91 i: 92 i: 93 i: 94 i: 95 i: 96 i: 97 i: 98 i: 99 ..Hello;7 Hello;7 .....input>order ....[Error: [Error: incompatible types in statement: class java.lang.String (compared from: class java.lang.Integer)] [Near : {... 1-blah ....}] ^ [Line: 1, Column: 3]] [Near : {... 1-blah ....}] ^ [Line: 1, Column: 3] at org.mvel2.compiler.ExpressionCompiler._compile(ExpressionCompiler.java:298) at org.mvel2.compiler.ExpressionCompiler.compile(ExpressionCompiler.java:67) at org.mvel2.tests.core.TypesAndInferenceTests.testStrongTyping2(TypesAndInferenceTests.java:947) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:177) at junit.framework.TestCase.runBare(TestCase.java:142) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:130) at junit.framework.TestSuite.runTest(TestSuite.java:241) at junit.framework.TestSuite.run(TestSuite.java:236) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) at org.junit.runner.JUnitCore.main(JUnitCore.java:36) Caused by: [Error: incompatible types in statement: class java.lang.String (compared from: class java.lang.Integer)] [Near : {... 1-blah ....}] ^ [Line: 1, Column: 3] at org.mvel2.ast.BinaryOperation.(BinaryOperation.java:87) at org.mvel2.util.CompilerTools.finalizePayload(CompilerTools.java:140) at org.mvel2.compiler.ExpressionCompiler._compile(ExpressionCompiler.java:296) ... 28 more ......0 1 ..var1.equals(var2) .....................i: 0 i: 1 i: 2 i: 3 i: 4 i: 5 i: 6 i: 7 i: 8 i: 9 i: 10 i: 11 i: 12 i: 13 i: 14 i: 15 i: 16 i: 17 i: 18 i: 19 i: 20 i: 21 i: 22 i: 23 i: 24 i: 25 i: 26 i: 27 i: 28 i: 29 i: 30 i: 31 i: 32 i: 33 i: 34 i: 35 i: 36 i: 37 i: 38 i: 39 i: 40 i: 41 i: 42 i: 43 i: 44 i: 45 i: 46 i: 47 i: 48 i: 49 i: 50 i: 51 i: 52 i: 53 i: 54 i: 55 i: 56 i: 57 i: 58 i: 59 i: 60 i: 61 i: 62 i: 63 i: 64 i: 65 i: 66 i: 67 i: 68 i: 69 i: 70 i: 71 i: 72 i: 73 i: 74 i: 75 i: 76 i: 77 i: 78 i: 79 i: 80 i: 81 i: 82 i: 83 i: 84 i: 85 i: 86 i: 87 i: 88 i: 89 i: 90 i: 91 i: 92 i: 93 i: 94 i: 95 i: 96 i: 97 i: 98 i: 99 ..[Error: Failed to compileShared: 1 compilation error(s): - (1,11) could not resolve class: Foo244] [Near : {... x_a = new Foo244( $ba ); x_a.equals($ba); ....}] ^ [Line: 1, Column: 11] at org.mvel2.compiler.ExpressionCompiler.compile(ExpressionCompiler.java:91) at org.mvel2.MVEL.compileExpression(MVEL.java:810) at org.mvel2.tests.core.TypesAndInferenceTests.testStrictStrongTypingCompilationErrors2(TypesAndInferenceTests.java:680) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:177) at junit.framework.TestCase.runBare(TestCase.java:142) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:130) at junit.framework.TestSuite.runTest(TestSuite.java:241) at junit.framework.TestSuite.run(TestSuite.java:236) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) at org.junit.runner.JUnitCore.main(JUnitCore.java:36) .....[Error: throwException( ): this should throw an exception] [Near : {... ( throwException( ) ) ....}] ^ [Line: 1, Column: 1] at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:436) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.optimizeAccessor(ReflectiveAccessorOptimizer.java:163) at org.mvel2.ast.ASTNode.optimize(ASTNode.java:159) at org.mvel2.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:115) at org.mvel2.compiler.ExecutableAccessor.getValue(ExecutableAccessor.java:38) at org.mvel2.ast.Substatement.getReducedValueAccelerated(Substatement.java:44) at org.mvel2.MVELRuntime.execute(MVELRuntime.java:85) at org.mvel2.compiler.CompiledExpression.getDirectValue(CompiledExpression.java:123) at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:119) at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:113) at org.mvel2.MVEL.executeExpression(MVEL.java:905) at org.mvel2.tests.core.TypesAndInferenceTests.testStaticMethodCallThrowsException(TypesAndInferenceTests.java:1430) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:177) at junit.framework.TestCase.runBare(TestCase.java:142) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:130) at junit.framework.TestSuite.runTest(TestSuite.java:241) at junit.framework.TestSuite.run(TestSuite.java:236) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) at org.junit.runner.JUnitCore.main(JUnitCore.java:36) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:1120) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:1003) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:363) ... 37 more Caused by: java.lang.RuntimeException: this should throw an exception at org.mvel2.tests.core.CoreConfidenceTests$StaticMethods.throwException(CoreConfidenceTests.java:2851) ... 44 more .... [test] begin test for: ---------------------- new String() is String ---------------------- Expression Decompile ------------- (0) NODE [Instance] :: ==END== All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- new java.text.SimpleDateFormat('yyyy').format(new java.util.Date(System.currentTimeMillis())) ---------------------- Expression Decompile ------------- (0) NODE [NewObjectNode] :: java.text.SimpleDateFormat('yyyy').format(new java.util.Date(System.currentTimeMillis())) ==END== All threads have stopped. Result Count: 1 [test] finished in: 24ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- fun ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:fun ==END== All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- funMap.foo.bar.name ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:funMap.foo.bar.name ==END== All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ...Expression Decompile ------------- (0) REFERENCE :: Union:test1 ==END== Expression Decompile ------------- (0) REFERENCE :: Union:get('test1') ==END== Expression Decompile ------------- (0) NODE [AssignmentNode] :: ['test1' : null] (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:a.test1 ==END== Expression Decompile ------------- (0) NODE [AssignmentNode] :: ['test1' : null] (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:a.get('test1') ==END== Expression Decompile ------------- (0) REFERENCE :: Union:[0] ==END== Expression Decompile ------------- (0) REFERENCE :: Union:get(0) ==END== Expression Decompile ------------- (0) NODE [AssignmentNode] :: [null] (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:a[0] ==END== Expression Decompile ------------- (0) NODE [AssignmentNode] :: [null] (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:a.get(0) ==END== Expression Decompile ------------- (0) REFERENCE :: Union:[0] ==END== Expression Decompile ------------- (0) NODE [AssignmentNode] :: {null} (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:a[0] ==END== .. [test] begin test for: ---------------------- abc = 'foo'; abc[1] ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 'foo' (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:abc[1] ==END== All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- intArray.size() ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:intArray.size() ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- foo.bar.name.toUpperCase() ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:foo.bar.name.toUpperCase() ==END== All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- this ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:this ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- testImpl.name ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:testImpl.name ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- foo.toUC( 'fubar' ) ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:foo.toUC( 'fubar' ) ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- equalityCheck(c, 'cat') ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:equalityCheck(c, 'cat') ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- readBack(null) ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:readBack(null) ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- appendTwoStrings(null, 'test') ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:appendTwoStrings(null, 'test') ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- equalityCheck( c , 'cat' ) ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:equalityCheck( c , 'cat' ) ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .Result = null . [test] begin test for: ---------------------- new String(this.number) ---------------------- Expression Decompile ------------- (0) NODE [NewObjectNode] :: String(this.number) ==END== All threads have stopped. Result Count: 1 [test] finished in: 6ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- map=new java.util.Hashtable();map.foo='bar' ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: new java.util.Hashtable() (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [DeepAssignmentNode] :: 'bar' ==END== All threads have stopped. Result Count: 1 [test] finished in: 7ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- foo.bar.name ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:foo.bar.name ==END== All threads have stopped. Result Count: 1 [test] finished in: 6ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- this.funMap ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:this.funMap ==END== All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ... [test] begin test for: ---------------------- "\"Mike Brock\"" ---------------------- Expression Decompile ------------- (0) LITERAL :: "Mike Brock"' ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- funMap['foo'].happy() ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:funMap['foo'].happy() ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- 'foo' + 'bar' + 'car' ---------------------- Expression Decompile ------------- (0) LITERAL :: foobarcar' ==END== All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- 10 * 100 ---------------------- Expression Decompile ------------- (0) LITERAL :: 1000' ==END== All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- true ---------------------- Expression Decompile ------------- (0) LITERAL :: true' ==END== All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- new java.lang.String('foobie') ---------------------- Expression Decompile ------------- (0) NODE [NewObjectNode] :: java.lang.String('foobie') ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- sarahl ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:sarahl ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- new Integer( 6 ) ---------------------- Expression Decompile ------------- (0) NODE [NewObjectNode] :: Integer( 6 ) ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- null or 'foo' ---------------------- Expression Decompile ------------- (0) LITERAL :: foo' ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- String.valueOf(Class.forName('java.lang.String').getName()) ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:String.valueOf(Class.forName('java.lang.String').getName()) ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .Expression Decompile ------------- (0) REFERENCE :: ASTNode:org.mvel2.tests.core.res.Foo.STATIC_BAR ==END== .. [test] begin test for: ---------------------- String.valueOf(Integer.MAX_VALUE) ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:String.valueOf(Integer.MAX_VALUE) ==END== All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ... [test] begin test for: ---------------------- stringArray.size() ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:stringArray.size() ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- derived.data ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:derived.data ==END== All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- foo.happy(); foo.bar.happy() ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:foo.happy() (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:foo.bar.happy() ==END== All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- 'MVEL\'s Parser is Fast' ---------------------- Expression Decompile ------------- (0) LITERAL :: MVEL's Parser is Fast' ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- java.lang.Integer.MAX_VALUE ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:java.lang.Integer.MAX_VALUE ==END== All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ... [test] begin test for: ---------------------- foo. bar. name.toUpperCase() ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:foo. bar. name.toUpperCase() ==END== All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- java.util.ArrayList ---------------------- Expression Decompile ------------- (0) LITERAL :: class java.util.ArrayList' ==END== All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- 'foobar' + 'car' + 1 ---------------------- Expression Decompile ------------- (0) LITERAL :: foobarcar1' ==END== All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- funMap['foo'].bar.name ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:funMap['foo'].bar.name ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- false ---------------------- Expression Decompile ------------- (0) LITERAL :: false' ==END== All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- null ---------------------- Expression Decompile ------------- (0) LITERAL :: null' ==END== All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- Integer.MAX_VALUE ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:Integer.MAX_VALUE ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- Integer.parseInt(this.number) ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:Integer.parseInt(this.number) ==END== All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- testImpl.foo ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:testImpl.foo ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- java.lang.String.valueOf('FooBar') ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:java.lang.String.valueOf('FooBar') ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- foo.happy() ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:foo.happy() ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- new String('foobie') . toUpperCase() ---------------------- Expression Decompile ------------- (0) NODE [NewObjectNode] :: String('foobie') . toUpperCase() ==END== All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- DATA ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:DATA ==END== All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ..Expression Decompile ------------- (0) DEBUG_SYMBOL :: [SourceLine:1] (1) REFERENCE :: ASTNode:System.out.println('hello') (2) OPERATOR [END_OF_STATEMENT]: (3) DEBUG_SYMBOL :: [SourceLine:2] (4) REFERENCE :: ASTNode:System.out.println('bye') (5) OPERATOR [END_OF_STATEMENT]: (6) DEBUG_SYMBOL :: [SourceLine:3] (7) NODE [InterceptorWrapper] :: (8) DEBUG_SYMBOL :: [SourceLine:4] (9) OPERATOR [END_OF_STATEMENT]: (10) DEBUG_SYMBOL :: [SourceLine:5] (11) REFERENCE :: ASTNode:mod ==END== hello bye test.mv:3 test.mv:4 test.mv:5 .....test.mv:1 ..test.mv:1 .. [test] begin test for: ---------------------- 2|4 ---------------------- Expression Decompile ------------- (0) LITERAL :: 6' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- (2 | 1) > 0 ---------------------- Expression Decompile ------------- (0) LITERAL :: true' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- (2|1) == 3 ---------------------- Expression Decompile ------------- (0) LITERAL :: true' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- 2|five ---------------------- Expression Decompile ------------- (0) OPERATION [BIT_OR] {} {five} ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ... [test] begin test for: ---------------------- 1 ^ 2 ---------------------- Expression Decompile ------------- (0) LITERAL :: 3' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- five >> 1 ---------------------- Expression Decompile ------------- (0) OPERATION [BIT_SHIFT_RIGHT] {five} {} ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- foo.number-1 ---------------------- Expression Decompile ------------- (0) OPERATION [SUBTRACT] {foo.number} {} ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- (10 * 5) * 2 / 3 ---------------------- Expression Decompile ------------- (0) LITERAL :: 33.333333333333336' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- (100 % 3) * 2 - 1 / 1 + 8 + (5 * 2) ---------------------- Expression Decompile ------------- (0) LITERAL :: 19.0' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- 300.5 / 5.3 / 2.1 / 1.5 ---------------------- Expression Decompile ------------- (0) LITERAL :: 17.999401018268944' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .>>(300 * five + 1) + (100 / 2 * 2)<< . [test] begin test for: ---------------------- (100 % 3) * 2 - 1 / 1 + 8 + (5 * 2) ---------------------- Expression Decompile ------------- (0) LITERAL :: 19.0' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- 5 * (100.56 * 30.1) ---------------------- Expression Decompile ------------- (0) LITERAL :: 15134.28' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ... [test] begin test for: ---------------------- five ^ 2 ---------------------- Expression Decompile ------------- (0) OPERATION [BIT_XOR] {five} {} ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- int val = 10; val /= 2; val ---------------------- Expression Decompile ------------- (0) NODE [TypedVarNode] :: val (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [OperativeAssign] :: 2 (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:val ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- int val = 5; val %= 2; val ---------------------- Expression Decompile ------------- (0) NODE [TypedVarNode] :: val (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [OperativeAssign] :: 2 (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:val ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- -5 >>> 1 ---------------------- Expression Decompile ------------- (0) LITERAL :: 2147483645' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- with (foo) { countTest += 5 }; if (foo.countTest == 5) { foo.countTest = 0; return true; } else { foo.countTest = 0; return false; } ---------------------- Expression Decompile ------------- (0) NODE [WithNode] :: foo (1) OPERATOR [END_OF_STATEMENT]: (2) NEST [IfNode]: { foo.countTest == 5 } (3) NODE [DeepAssignmentNode] :: 0 (4) OPERATOR [END_OF_STATEMENT]: (5) OPERATOR [RETURN]: true ==END==NODE [IfNode] :: foo.countTest == 5 ==END== unittest:1 unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 10ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- 5 ** 2 ---------------------- Expression Decompile ------------- (0) LITERAL :: 25' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ........Evaluating 'bal / 80 * 80': ...... . [test] begin test for: ---------------------- _x_001 = 500.2; _x_002 = 200.8; _r_001 = 701; _r_001 == _x_001 + _x_002 && _x_001 == 500 + 0.2 ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 500.2 (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [AssignmentNode] :: 200.8 (3) OPERATOR [END_OF_STATEMENT]: (4) NODE [AssignmentNode] :: 701 (5) OPERATOR [END_OF_STATEMENT]: (6) NODE [And] :: ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- _x_001 = 500.2; _x_002 = 200.9; _r_001 = 701; _r_001 == _x_001 + _x_002 && _x_001 == 500 + 0.2 ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 500.2 (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [AssignmentNode] :: 200.9 (3) OPERATOR [END_OF_STATEMENT]: (4) NODE [AssignmentNode] :: 701 (5) OPERATOR [END_OF_STATEMENT]: (6) NODE [And] :: ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- _x_001 = 500.2; _x_002 = 200.9; _r_001 = 701; _r_001 == _x_001 + _x_002 || _x_001 == 500 + 0.2 ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 500.2 (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [AssignmentNode] :: 200.9 (3) OPERATOR [END_OF_STATEMENT]: (4) NODE [AssignmentNode] :: 701 (5) OPERATOR [END_OF_STATEMENT]: (6) NODE [Or] :: ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- int val = 5; val <<= 2; val ---------------------- Expression Decompile ------------- (0) NODE [TypedVarNode] :: val (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [OperativeAssign] :: 2 (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:val ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- int val = 5; val >>= 2; val ---------------------- Expression Decompile ------------- (0) NODE [TypedVarNode] :: val (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [OperativeAssign] :: 2 (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:val ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- int val = -5; val >>>= 2; val ---------------------- Expression Decompile ------------- (0) NODE [TypedVarNode] :: val (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [OperativeAssign] :: 2 (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:val ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- _zZz = 5; _zZz >>= 2 ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 5 (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [OperativeAssign] :: 2 ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- _x_001 = 500.2; _x_002 = 200.8; _r_001 = 701; _r_001 == _x_001 + _x_002 || _x_001 == 500 + 0.1 ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 500.2 (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [AssignmentNode] :: 200.8 (3) OPERATOR [END_OF_STATEMENT]: (4) NODE [AssignmentNode] :: 701 (5) OPERATOR [END_OF_STATEMENT]: (6) NODE [Or] :: ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- 2 & 3 ---------------------- Expression Decompile ------------- (0) LITERAL :: 2' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- five & 3 ---------------------- Expression Decompile ------------- (0) OPERATION [BIT_AND] {five} {} ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- xx0 = 6; xx0 *= 6; xx0 ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 6 (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [OperativeAssign] :: 6 (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:xx0 ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- xx0 = 5; xx0 += 4; xx0 + 1 ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 5 (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [OperativeAssign] :: 4 (3) OPERATOR [END_OF_STATEMENT]: (4) OPERATION [ADD] {xx0} {} ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- xx0 = 5; xx0 =- 100 ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 5 (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [OperativeAssign] :: 100 ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ..Expression: a = 100; b = 50; c = 70; d = 30; e = 20; f = 9; g = 3; (a-b)*c-d*(e-f)**g .... [test] begin test for: ---------------------- 38392 % 2 ---------------------- Expression Decompile ------------- (0) LITERAL :: 0' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- "foo" + true ---------------------- Expression Decompile ------------- (0) LITERAL :: footrue' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .... [test] begin test for: ---------------------- xx0 = 5; xx0 =+ 4; xx0 + 1 ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 5 (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [OperativeAssign] :: 4 (3) OPERATOR [END_OF_STATEMENT]: (4) OPERATION [ADD] {xx0} {} ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- foo.countTest += 5; if (foo.countTest == 5) { foo.countTest = 0; return true; } else { foo.countTest = 0; return false; } ---------------------- Expression Decompile ------------- (0) NODE [DeepAssignmentNode] :: 5 (1) OPERATOR [END_OF_STATEMENT]: (2) NEST [IfNode]: { foo.countTest == 5 } (3) NODE [DeepAssignmentNode] :: 0 (4) OPERATOR [END_OF_STATEMENT]: (5) OPERATOR [RETURN]: true ==END==NODE [IfNode] :: foo.countTest == 5 ==END== unittest:1 unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 11ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- five << 1 ---------------------- Expression Decompile ------------- (0) OPERATION [BIT_SHIFT_LEFT] {five} {} ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- _yYy = 10; _yYy <<= 2 ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 10 (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [OperativeAssign] :: 2 ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- 256 >> 1 ---------------------- Expression Decompile ------------- (0) LITERAL :: 128' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .......Evaluating 'bal - 80 - 90 - 30': ...... Evaluating 'bal-80-90-30': ...... Evaluating '100 + 80 == 180': ...... Evaluating '100+80==180': ...... .Evaluating 'bal - 1 + "abc"': ...... .. [test] begin test for: ---------------------- ~10 ---------------------- Expression Decompile ------------- (0) NODE [Invert] :: 10 ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- foo.countTest+ 10 ---------------------- Expression Decompile ------------- (0) OPERATION [ADD] {foo.countTest} {} ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- 10-5*2 + 5*8-4 ---------------------- Expression Decompile ------------- (0) LITERAL :: 36' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- 100-500*200 + 500*800-400 ---------------------- Expression Decompile ------------- (0) LITERAL :: 299700' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- 100-500*200*150 + 500*800-400 ---------------------- Expression Decompile ------------- (0) LITERAL :: -14600300' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- (100d * 50d) * 20d / 30d * 2d ---------------------- Expression Decompile ------------- (0) LITERAL :: 6666.666666666667' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .Expression: a = 100d; b = 50d; c = 20d; d = 30d; e = 2d; (a * b) * c / d * e .Expression: a = 100; b = 500; c = 200; d = 150; e = 500; f = 800; g = 400; a-b*c*d + e*f-g .Expression: 10-5*7-3*8-6 [test] begin test for: ---------------------- 10-5*7-3*8-6 ---------------------- Expression Decompile ------------- (0) LITERAL :: -55' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .Expression: 100-50*70-30*80-60 [test] begin test for: ---------------------- 100-50*70-30*80-60 ---------------------- Expression Decompile ------------- (0) LITERAL :: -5860' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .Expression: (100-50)*70-30*(20-9)**3 [test] begin test for: ---------------------- (100-50)*70-30*(20-9)**3 ---------------------- Expression Decompile ------------- (0) LITERAL :: -36430' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .Expression: 10 ** (3)*10**3 [test] begin test for: ---------------------- 10 ** (3)*10**3 ---------------------- Expression Decompile ------------- (0) LITERAL :: 1000000' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .Expression: 51 * 52 * 33 / 24 / 15 + 45 * 66 * 47 * 28 + 19 Expected Result: 3908782.1 [test] begin test for: ---------------------- 51 * 52 * 33 / 24 / 15 + 45 * 66 * 47 * 28 + 19 ---------------------- Expression Decompile ------------- (0) LITERAL :: 3908782.1' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .Expression: 51 * (40 - 1000 * 50) + 100 + 50 * 20 / 10 + 11 + 12 - 80 Expected Result: -2547817.0 [test] begin test for: ---------------------- 51 * (40 - 1000 * 50) + 100 + 50 * 20 / 10 + 11 + 12 - 80 ---------------------- Expression Decompile ------------- (0) LITERAL :: -2547817.0' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .Expression: 5 + 3 * 8 * 2 ** 2 Expected Result: 101 [test] begin test for: ---------------------- 5 + 3 * 8 * 2 ** 2 ---------------------- Expression Decompile ------------- (0) LITERAL :: 101' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .Expression: 50 + 30 * 80 * 20 ** 3 * 51 Expected Result: 9.7920005E8 [test] begin test for: ---------------------- 50 + 30 * 80 * 20 ** 3 * 51 ---------------------- Expression Decompile ------------- (0) LITERAL :: 979200050' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- 50 + 30 + 80 + 11 ** 2 ** 2 * 51 ---------------------- Expression Decompile ------------- (0) LITERAL :: 746851' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .Expression: 10 + 20 / 4 / 4 .Expression: 40 / 20 + 10 + 60 / 21 ..Expression: x = 20; y = 10; z = 5; x-y-z .Expression: x = 20; y = 2; z = 2; x/y/z .....Expression: 100 + 200 - 300 + 400 - 500 + 105 / 205 - 405 + 305 * 206 CorrectResult:62325.51219512195 .Expression: 147 + 60 / 167 % 448 + 36 * 23 / 166 CorrectRes: 152.34723324435467 .Expression: 228 - 338 % 375 - 103 + 260 + 412 * 177 + 121 CorrectRes: 73092.0 .Expression: 304d - 246d / 242d % 235d / 425d - 326d + 355d * 264d % 308d CorrectRes: 65.99760816723386 .Expression: 11d - 7d / 3d * 18d % 14d * 8d * 11d - 2d - 11d / 13d + 14d CorrectRes: 22.153846153846153 .Expression: 4d/3d*6d%8d*5d*8d+7d+9d*1d CorrectRes: 16.0 .Expression: 6d+8d/9d*1d*9d*10d%4d*4d-4d*6d*3d CorrectRes: -66.0 .Expression: (100 % 90) * 20 - 15 / 16 + 80 + (50 * 21) .Expression: 300.5 / 5.3 / 2.1 / 1.5 . [test] begin test for: ---------------------- 2 << 1 ---------------------- Expression Decompile ------------- (0) LITERAL :: 4' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- ~(10 + 1) ---------------------- Expression Decompile ------------- (0) NODE [Invert] :: (10 + 1) ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- ~10 + (1 + ~50) ---------------------- Expression Decompile ------------- (0) OPERATION [ADD] {10} {1 + ~50} ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- -2 <<< 0 ---------------------- Expression Decompile ------------- (0) LITERAL :: 2' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- -(-1) ---------------------- Expression Decompile ------------- (0) NODE [Sign] :: (-1) ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- (five - 10) >>> 1 ---------------------- Expression Decompile ------------- (0) OPERATION [BIT_UNSIGNED_SHIFT_RIGHT] {five - 10} {} ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ... [test] begin test for: ---------------------- xx0 = 20; xx0 /= 10; xx0 ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 20 (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [OperativeAssign] :: 10 (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:xx0 ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- xx0 = 15; xx0 -= 4; xx0 ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 15 (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [OperativeAssign] :: 4 (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:xx0 ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- def increment(i) { i + 1 }; def ff(i) { x = 0; while (i < 1) { x++; while (i < 10) { i = increment(i); } }; if (x == 1) return i; else -1; }; i = 0; ff(i); ---------------------- Expression Decompile ------------- (0) NODE [Function] :: increment (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [Function] :: ff (3) OPERATOR [END_OF_STATEMENT]: (4) NODE [AssignmentNode] :: 0 (5) OPERATOR [END_OF_STATEMENT]: (6) REFERENCE :: ASTNode:ff(i) (7) OPERATOR [END_OF_STATEMENT]: ==END== unittest:1 unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 8ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- function fooFunction(a) { return a; }; x__0 = ''; 'boob' == fooFunction(x__0 = 'boob') && x__0 == 'boob'; ---------------------- Expression Decompile ------------- (0) NODE [Function] :: fooFunction (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [AssignmentNode] :: '' (3) OPERATOR [END_OF_STATEMENT]: (4) NODE [And] :: (5) OPERATOR [END_OF_STATEMENT]: ==END== unittest:1 unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 6ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .6.75 . [test] begin test for: ---------------------- function heyFoo() { return 'Foobar'; }; return heyFoo() + heyFoo(); ---------------------- Expression Decompile ------------- (0) NODE [Function] :: heyFoo (1) OPERATOR [END_OF_STATEMENT]: (2) OPERATOR [RETURN]: heyFoo() + heyFoo() (3) OPERATOR [END_OF_STATEMENT]: ==END== unittest:1 unittest:2 unittest:1 unittest:2 unittest:1 unittest:2 unittest:2 All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ..30 .. [test] begin test for: ---------------------- a = function { 'foobar' }; a(); ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: function { 'foobar' } (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:a() (3) OPERATOR [END_OF_STATEMENT]: ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ... [test] begin test for: ---------------------- function testFunction() { a = 'foo'; b = 'bar'; a + b; }; testFunction().toUpperCase(); ---------------------- Expression Decompile ------------- (0) NODE [Function] :: testFunction (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:testFunction().toUpperCase() (3) OPERATOR [END_OF_STATEMENT]: ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 6ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- function testFunction(input) { return input; }; testFunction('barfoo'); ---------------------- Expression Decompile ------------- (0) NODE [Function] :: testFunction (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:testFunction('barfoo') (3) OPERATOR [END_OF_STATEMENT]: ==END== unittest:1 unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- function testFunction(x, y) { return x + y; }; testFunction(7, 3); ---------------------- Expression Decompile ------------- (0) NODE [Function] :: testFunction (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:testFunction(7, 3) (3) OPERATOR [END_OF_STATEMENT]: ==END== unittest:1 unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .....function_prototype:foo Word up function_prototype:bar Peace out . [test] begin test for: ---------------------- anonFunc = function (a,b) { return a + b; }; anonFunc(1,2) ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: function (a,b) { return a + b; } (1) OPERATOR [END_OF_STATEMENT]: (2) REFERENCE :: ASTNode:anonFunc(1,2) ==END== unittest:1 unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 7ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ...[Error: no such identifier: i] [Near : {... if (true) { var i = 0 }; i ....}] ^ [Line: 1, Column: 26] at org.mvel2.compiler.ExpressionCompiler.verify(ExpressionCompiler.java:407) at org.mvel2.compiler.ExpressionCompiler._compile(ExpressionCompiler.java:281) at org.mvel2.compiler.ExpressionCompiler.compile(ExpressionCompiler.java:67) at org.mvel2.MVEL.compileExpression(MVEL.java:810) at org.mvel2.tests.core.ScopeTests.testNoScopeLeakageCompiled(ScopeTests.java:31) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:177) at junit.framework.TestCase.runBare(TestCase.java:142) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:130) at junit.framework.TestSuite.runTest(TestSuite.java:241) at junit.framework.TestSuite.run(TestSuite.java:236) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) at org.junit.runner.JUnitCore.main(JUnitCore.java:36) .............. [test] begin test for: ---------------------- true && true ---------------------- Expression Decompile ------------- (0) LITERAL :: true' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- java.lang.String ---------------------- Expression Decompile ------------- (0) LITERAL :: class java.lang.String' ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ..... [test] begin test for: ---------------------- (name in things) contains 'Bob' ---------------------- Expression Decompile ------------- (0) NODE [Contains] :: ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 6ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- (name in things).size() ---------------------- Expression Decompile ------------- (0) REFERENCE :: Union:size() ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- (toUpperCase() in ['bar', 'foo'])[1] ---------------------- Expression Decompile ------------- (0) REFERENCE :: Union:[1] ==END== unittest:1 unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 6ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- (toUpperCase() in ['zero', 'zen', 'bar', 'foo'] if ($ == 'bar')) ---------------------- Expression Decompile ------------- (0) NODE [Fold] :: toUpperCase() in ['zero', 'zen', 'bar', 'foo'] if ($ == 'bar') ==END== unittest:1 unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- (toUpperCase() in ['zero', 'zen', 'bar', 'foo'] if ($.startsWith('z'))) ---------------------- Expression Decompile ------------- (0) NODE [Fold] :: toUpperCase() in ['zero', 'zen', 'bar', 'foo'] if ($.startsWith('z')) ==END== unittest:1 unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 7ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- ( name in things ) contains 'Bob' ---------------------- Expression Decompile ------------- (0) NODE [Contains] :: ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- (name in things)contains'Bob' ---------------------- Expression Decompile ------------- (0) NODE [Contains] :: ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ...... [test] begin test for: ---------------------- new String[5] ---------------------- Expression Decompile ------------- (0) NODE [NewObjectNode] :: String[5] ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- xStr = new String[5]; xStr.size() == 5 ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: new String[5] (1) OPERATOR [END_OF_STATEMENT]: (2) OPERATION [EQUAL] {xStr.size()} {} ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- xStr = new String[5][5]; xStr[4][0] = 'foo'; xStr[4][0] ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: new String[5][5] (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [AssignmentNode] :: 'foo' (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:xStr[4][0] ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- xStr = new String[5][10]; xStr[4][0] = 'foo'; xStr[4].length ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: new String[5][10] (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [AssignmentNode] :: 'foo' (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:xStr[4].length ==END== unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .... [test] begin test for: ---------------------- new String[][] {{"2008-04-01", "2008-05-10"}, {"2007-03-01", "2007-02-12"}} ---------------------- Expression Decompile ------------- (0) NODE [InlineCollectionNode] :: {{"2008-04-01", "2008-05-10"}, {"2007-03-01", "2007-02-12"}} ==END== unittest:1 unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- new String[][]{{"2008-04-01", "2008-05-10"}, {"2007-03-01", "2007-02-12"}} ---------------------- Expression Decompile ------------- (0) NODE [InlineCollectionNode] :: {{"2008-04-01", "2008-05-10"}, {"2007-03-01", "2007-02-12"}} ==END== unittest:1 unittest:1 unittest:1 unittest:1 All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ....[Error: bad number of arguments in function call: 1 (expected: none)] [Near : {... def foo() { 'bar' }; foo(123); ....}] ^ [Line: 1, Column: 1] at org.mvel2.ast.Function.checkArgumentCount(Function.java:198) at org.mvel2.compiler.PropertyVerifier.getMethod(PropertyVerifier.java:470) at org.mvel2.compiler.PropertyVerifier.analyze(PropertyVerifier.java:135) at org.mvel2.compiler.ExpressionCompiler.verify(ExpressionCompiler.java:392) at org.mvel2.compiler.ExpressionCompiler._compile(ExpressionCompiler.java:281) at org.mvel2.compiler.ExpressionCompiler.compile(ExpressionCompiler.java:67) at org.mvel2.MVEL.compileExpression(MVEL.java:810) at org.mvel2.MVEL.compileExpression(MVEL.java:819) at org.mvel2.MVEL.compileExpression(MVEL.java:723) at org.mvel2.tests.core.FailureTests.testShouldFail3(FailureTests.java:52) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:177) at junit.framework.TestCase.runBare(TestCase.java:142) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:130) at junit.framework.TestSuite.runTest(TestSuite.java:241) at junit.framework.TestSuite.run(TestSuite.java:236) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) at org.junit.runner.JUnitCore.main(JUnitCore.java:36) ......[Error: unexpected end of statement] [Near : {... foo = ....}] ^ [Line: 1, Column: 6] at org.mvel2.ast.AssignmentNode.(AssignmentNode.java:63) at org.mvel2.compiler.AbstractParser.nextToken(AbstractParser.java:860) at org.mvel2.compiler.ExpressionCompiler._compile(ExpressionCompiler.java:126) at org.mvel2.compiler.ExpressionCompiler.compile(ExpressionCompiler.java:67) at org.mvel2.MVEL.compileExpression(MVEL.java:810) at org.mvel2.MVEL.compileExpression(MVEL.java:819) at org.mvel2.MVEL.compileExpression(MVEL.java:751) at org.mvel2.tests.core.FailureTests.testShouldFail9(FailureTests.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:177) at junit.framework.TestCase.runBare(TestCase.java:142) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:130) at junit.framework.TestSuite.runTest(TestSuite.java:241) at junit.framework.TestSuite.run(TestSuite.java:236) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) at org.junit.runner.JUnitCore.main(JUnitCore.java:36) ...[Error: unable to resolve method using strict-mode: java.lang.Object.qq()] [Near : {... foo = [1,1,qq,zz] ....}] ^ [Line: 1, Column: 12] at org.mvel2.compiler.PropertyVerifier.getMethod(PropertyVerifier.java:580) at org.mvel2.compiler.PropertyVerifier.getBeanProperty(PropertyVerifier.java:294) at org.mvel2.compiler.PropertyVerifier.analyze(PropertyVerifier.java:132) at org.mvel2.compiler.ExpressionCompiler.verify(ExpressionCompiler.java:392) at org.mvel2.compiler.ExpressionCompiler._compile(ExpressionCompiler.java:281) at org.mvel2.util.ParseTools.subCompileExpression(ParseTools.java:2064) at org.mvel2.util.CollectionParser.subCompile(CollectionParser.java:244) at org.mvel2.util.CollectionParser.parseCollection(CollectionParser.java:183) at org.mvel2.util.CollectionParser.parseCollection(CollectionParser.java:93) at org.mvel2.util.CollectionParser.parseCollection(CollectionParser.java:140) at org.mvel2.util.CollectionParser.parseCollection(CollectionParser.java:76) at org.mvel2.ast.InlineCollectionNode.parseGraph(InlineCollectionNode.java:111) at org.mvel2.ast.InlineCollectionNode.(InlineCollectionNode.java:49) at org.mvel2.compiler.AbstractParser.nextToken(AbstractParser.java:1265) at org.mvel2.compiler.ExpressionCompiler._compile(ExpressionCompiler.java:126) at org.mvel2.util.ParseTools.subCompileExpression(ParseTools.java:2064) at org.mvel2.ast.AssignmentNode.(AssignmentNode.java:70) at org.mvel2.compiler.AbstractParser.nextToken(AbstractParser.java:860) at org.mvel2.compiler.ExpressionCompiler._compile(ExpressionCompiler.java:126) at org.mvel2.compiler.ExpressionCompiler.compile(ExpressionCompiler.java:67) at org.mvel2.MVEL.compileExpression(MVEL.java:810) at org.mvel2.tests.core.FailureTests.testShouldFail10(FailureTests.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:177) at junit.framework.TestCase.runBare(TestCase.java:142) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:130) at junit.framework.TestSuite.runTest(TestSuite.java:241) at junit.framework.TestSuite.run(TestSuite.java:236) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) at org.junit.runner.JUnitCore.main(JUnitCore.java:36) .[Error: was expecting type: java.lang.Boolean; but found type: int] [Near : {... for (int i = 0; i--; i++) {} ....}] ^ [Line: 1, Column: 17] at org.mvel2.util.CompilerTools.expectType(CompilerTools.java:397) at org.mvel2.ast.ForNode.buildForEach(ForNode.java:105) at org.mvel2.ast.ForNode.(ForNode.java:49) at org.mvel2.compiler.AbstractParser.createBlockToken(AbstractParser.java:1549) at org.mvel2.compiler.AbstractParser._captureBlock(AbstractParser.java:1769) at org.mvel2.compiler.AbstractParser.captureCodeBlock(AbstractParser.java:1613) at org.mvel2.compiler.AbstractParser.nextToken(AbstractParser.java:445) at org.mvel2.MVELInterpretedRuntime.parseAndExecuteInterpreted(MVELInterpretedRuntime.java:81) at org.mvel2.MVELInterpretedRuntime.parse(MVELInterpretedRuntime.java:47) at org.mvel2.MVEL.eval(MVEL.java:92) at org.mvel2.tests.core.FailureTests.testShouldFail11(FailureTests.java:173) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:177) at junit.framework.TestCase.runBare(TestCase.java:142) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:130) at junit.framework.TestSuite.runTest(TestSuite.java:241) at junit.framework.TestSuite.run(TestSuite.java:236) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) at org.junit.runner.JUnitCore.main(JUnitCore.java:36) .[Error: unbalanced braces ( ... )] [Near : {... def x(_ ....}] ^ [Line: 1, Column: 6] at org.mvel2.util.ParseTools.balancedCaptureWithLineAccounting(ParseTools.java:1431) at org.mvel2.util.FunctionParser.parse(FunctionParser.java:58) at org.mvel2.compiler.AbstractParser._captureBlock(AbstractParser.java:1648) at org.mvel2.compiler.AbstractParser.captureCodeBlock(AbstractParser.java:1613) at org.mvel2.compiler.AbstractParser.nextToken(AbstractParser.java:485) at org.mvel2.MVELInterpretedRuntime.parseAndExecuteInterpreted(MVELInterpretedRuntime.java:81) at org.mvel2.MVELInterpretedRuntime.parse(MVELInterpretedRuntime.java:47) at org.mvel2.MVEL.eval(MVEL.java:92) at org.mvel2.tests.core.FailureTests.testShouldFail12(FailureTests.java:185) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:177) at junit.framework.TestCase.runBare(TestCase.java:142) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:130) at junit.framework.TestSuite.runTest(TestSuite.java:241) at junit.framework.TestSuite.run(TestSuite.java:236) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) at org.junit.runner.JUnitCore.main(JUnitCore.java:36) .......Expression Decompile ------------- (0) DEBUG_SYMBOL :: [SourceLine:1] (1) NODE [AssignmentNode] :: 7 (2) OPERATOR [END_OF_STATEMENT]: (3) DEBUG_SYMBOL :: [SourceLine:2] (4) NODE [AssignmentNode] :: 8 (5) OPERATOR [END_OF_STATEMENT]: (6) DEBUG_SYMBOL :: [SourceLine:3] (7) REFERENCE :: ASTNode:System.out.println("h") (8) OPERATOR [END_OF_STATEMENT]: (9) DEBUG_SYMBOL :: [SourceLine:4] (10) NODE [AssignmentNode] :: 23 (11) OPERATOR [END_OF_STATEMENT]: (12) DEBUG_SYMBOL :: [SourceLine:5] (13) NODE [AssignmentNode] :: 23 (14) OPERATOR [END_OF_STATEMENT]: (15) DEBUG_SYMBOL :: [SourceLine:6] (16) NODE [AssignmentNode] :: 23 (17) OPERATOR [END_OF_STATEMENT]: (18) DEBUG_SYMBOL :: [SourceLine:7] (19) NODE [AssignmentNode] :: 34 (20) OPERATOR [END_OF_STATEMENT]: ==END== h 5 .System.out.println( "a1" ); c = new Cheese(); with ( c ) { type = 'cheddar', price = 10 }; System.out.println( "a1" ); output: Expression Decompile ------------- (0) DEBUG_SYMBOL :: [SourceLine:1] (1) REFERENCE :: ASTNode:System.out.println( "a1" ) (2) OPERATOR [END_OF_STATEMENT]: (3) DEBUG_SYMBOL :: [SourceLine:2] (4) NODE [AssignmentNode] :: new Cheese() (5) OPERATOR [END_OF_STATEMENT]: (6) DEBUG_SYMBOL :: [SourceLine:3] (7) NODE [WithNode] :: c (8) DEBUG_SYMBOL :: [SourceLine:4] (9) OPERATOR [END_OF_STATEMENT]: (10) DEBUG_SYMBOL :: [SourceLine:5] (11) REFERENCE :: ASTNode:System.out.println( "a1" ) (12) OPERATOR [END_OF_STATEMENT]: ==END== .Breakpoint [source:test2.mv; line:6] 4 Breakpoint [source:test2.mv; line:8] Breakpoint [source:test2.mv; line:9] Breakpoint [source:test2.mv; line:10] .Expression Decompile ------------- (0) DEBUG_SYMBOL :: [SourceLine:1] (1) NODE [AssignmentNode] :: 7 (2) OPERATOR [END_OF_STATEMENT]: (3) DEBUG_SYMBOL :: [SourceLine:2] (4) NODE [AssignmentNode] :: 8 (5) OPERATOR [END_OF_STATEMENT]: (6) DEBUG_SYMBOL :: [SourceLine:3] (7) NODE [AssignmentNode] :: 9 (8) OPERATOR [END_OF_STATEMENT]: (9) DEBUG_SYMBOL :: [SourceLine:4] (10) NODE [AssignmentNode] :: 10 (11) OPERATOR [END_OF_STATEMENT]: (12) DEBUG_SYMBOL :: [SourceLine:5] (13) NODE [AssignmentNode] :: 11 (14) OPERATOR [END_OF_STATEMENT]: (15) DEBUG_SYMBOL :: [SourceLine:6] (16) NODE [AssignmentNode] :: 12 (17) OPERATOR [END_OF_STATEMENT]: (18) DEBUG_SYMBOL :: [SourceLine:7] (19) NODE [AssignmentNode] :: 13 (20) OPERATOR [END_OF_STATEMENT]: (21) DEBUG_SYMBOL :: [SourceLine:8] (22) NODE [AssignmentNode] :: 14 (23) OPERATOR [END_OF_STATEMENT]: ==END== HEI 7 2 1 3 .stilton .Expression Decompile ------------- (0) DEBUG_SYMBOL :: [SourceLine:1] (1) REFERENCE :: ASTNode:System.out.println( "a1" ) (2) OPERATOR [END_OF_STATEMENT]: (3) DEBUG_SYMBOL :: [SourceLine:2] (4) REFERENCE :: ASTNode:System.out.println( "a2" ) (5) OPERATOR [END_OF_STATEMENT]: (6) DEBUG_SYMBOL :: [SourceLine:3] (7) REFERENCE :: ASTNode:System.out.println( "a3" ) (8) OPERATOR [END_OF_STATEMENT]: (9) DEBUG_SYMBOL :: [SourceLine:4] (10) REFERENCE :: ASTNode:System.out.println( "a4" ) (11) OPERATOR [END_OF_STATEMENT]: ==END== .Expression Decompile ------------- (0) DEBUG_SYMBOL :: [SourceLine:1] (1) REFERENCE :: ASTNode:System.out.println( "a1" ) (2) OPERATOR [END_OF_STATEMENT]: (3) DEBUG_SYMBOL :: [SourceLine:2] (4) REFERENCE :: ASTNode:System.out.println( "a2" ) (5) OPERATOR [END_OF_STATEMENT]: (6) DEBUG_SYMBOL :: [SourceLine:3] (7) REFERENCE :: ASTNode:System.out.println( "a3" ) (8) OPERATOR [END_OF_STATEMENT]: (9) DEBUG_SYMBOL :: [SourceLine:4] (10) REFERENCE :: ASTNode:System.out.println( "a4" ) (11) OPERATOR [END_OF_STATEMENT]: ==END== ..Expression: ------------ /** This is a comment * Second comment line * Third Comment Line */ System.out.println('4'); System.out.println('5'); a = 0; b = 1; a + b ------------ 4 5 Breakpoint Encountered [source:test2.mv; line:9] vars:[dt1, a, b, c, BWAH, dt2, foo, zero, testImpl, hour, array, pi, ipaddr, five, derived, misc, order, $id] Resume Execution .------- [C@10166230 ------- Good Breakpoint [source:test.mv; line:7] ..output: Expression Decompile ------------- (0) DEBUG_SYMBOL :: [SourceLine:1] (1) REFERENCE :: ASTNode:System.out.println( "a1" ) (2) OPERATOR [END_OF_STATEMENT]: (3) DEBUG_SYMBOL :: [SourceLine:2] (4) REFERENCE :: ASTNode:System.out.println( "a2" ) (5) OPERATOR [END_OF_STATEMENT]: (6) DEBUG_SYMBOL :: [SourceLine:3] (7) REFERENCE :: ASTNode:System.out.println( "a3" ) (8) OPERATOR [END_OF_STATEMENT]: (9) DEBUG_SYMBOL :: [SourceLine:4] (10) REFERENCE :: ASTNode:System.out.println( "a4" ) (11) OPERATOR [END_OF_STATEMENT]: ==END== . Expression:------------ System.out.println('foo'); a = new Foo244(); @Update with (a) { name = 'bar' }; System.out.println('name:' + a.name); return a.name; ------------ foo Breakpoint [source:test2.mv; line:3] fired update interceptor -- before fired update interceptor -- after Breakpoint [source:test2.mv; line:4] name:bar Breakpoint [source:test2.mv; line:5] . Expression:------------ System.out.println('foo'); a = new Foo244(); a.name = 'bar'; foo.happy(); System.out.println( 'name:' + a.name ); System.out.println( 'name:' + a.name ); System.out.println( 'name:' + a.name ); return a.name; ------------ Expression Decompile ------------- (0) DEBUG_SYMBOL :: [SourceLine:1] (1) REFERENCE :: ASTNode:System.out.println('foo') (2) OPERATOR [END_OF_STATEMENT]: (3) DEBUG_SYMBOL :: [SourceLine:2] (4) NODE [AssignmentNode] :: new Foo244() (5) OPERATOR [END_OF_STATEMENT]: (6) DEBUG_SYMBOL :: [SourceLine:3] (7) NODE [DeepAssignmentNode] :: 'bar' (8) OPERATOR [END_OF_STATEMENT]: (9) DEBUG_SYMBOL :: [SourceLine:4] (10) REFERENCE :: ASTNode:foo.happy() (11) OPERATOR [END_OF_STATEMENT]: (12) DEBUG_SYMBOL :: [SourceLine:5] (13) REFERENCE :: ASTNode:System.out.println( 'name:' + a.name ) (14) OPERATOR [END_OF_STATEMENT]: (15) DEBUG_SYMBOL :: [SourceLine:6] (16) REFERENCE :: ASTNode:System.out.println( 'name:' + a.name ) (17) OPERATOR [END_OF_STATEMENT]: (18) DEBUG_SYMBOL :: [SourceLine:7] (19) REFERENCE :: ASTNode:System.out.println( 'name:' + a.name ) (20) OPERATOR [END_OF_STATEMENT]: (21) DEBUG_SYMBOL :: [SourceLine:8] (22) OPERATOR [RETURN]: a.name (23) OPERATOR [END_OF_STATEMENT]: ==END== ==RUN== Breakpoint [source:test2.mv; line:1] foo Breakpoint [source:test2.mv; line:2] Breakpoint [source:test2.mv; line:3] Breakpoint [source:test2.mv; line:4] Breakpoint [source:test2.mv; line:5] name:bar Breakpoint [source:test2.mv; line:6] name:bar Breakpoint [source:test2.mv; line:7] name:bar Breakpoint [source:test2.mv; line:8] .....shit . >> 102:'foo' [foo] >> 102:'bar' [bar, foo] >> 102:0 >> 102:10 [10] >> 102:5 [5, 10] >> 102:2 .. >> 102:10 [10] >> 109:i [10] >> 111:loop [10] >> 104:i [10, 10] >> 102:1 [1, 10, 10] >> 102:1 [1, 1, 10, 10] >> 114:null [9, 10] >> 109:i [9, 10] >> 102:0 [0, 9, 10] >> 102:18 [18, 0, 9, 10] >> 114:null [false, 10] >> 113:endloop [10] >> 105:java.lang.System [class java.lang.System, 10] >> 110:null [class java.lang.System, class java.lang.System, 10] >> 107:out [java.io.PrintStream@6b091a92, 10] >> 105:java.io.PrintStream [class java.io.PrintStream, java.io.PrintStream@6b091a92, 10] >> 104:i [9, class java.io.PrintStream, java.io.PrintStream@6b091a92, 10] >> 106:println 9 [null, 10] >> 112:loop [null, 10] >> 104:i [9, null, 10] >> 102:1 [1, 9, null, 10] >> 102:1 [1, 1, 9, null, 10] >> 114:null [8, null, 10] >> 109:i [8, null, 10] >> 102:0 [0, 8, null, 10] >> 102:18 [18, 0, 8, null, 10] >> 114:null [false, null, 10] >> 113:endloop [null, 10] >> 105:java.lang.System [class java.lang.System, null, 10] >> 110:null [class java.lang.System, class java.lang.System, null, 10] >> 107:out [java.io.PrintStream@6b091a92, null, 10] >> 105:java.io.PrintStream [class java.io.PrintStream, java.io.PrintStream@6b091a92, null, 10] >> 104:i [8, class java.io.PrintStream, java.io.PrintStream@6b091a92, null, 10] >> 106:println 8 [null, null, 10] >> 112:loop [null, null, 10] >> 104:i [8, null, null, 10] >> 102:1 [1, 8, null, null, 10] >> 102:1 [1, 1, 8, null, null, 10] >> 114:null [7, null, null, 10] >> 109:i [7, null, null, 10] >> 102:0 [0, 7, null, null, 10] >> 102:18 [18, 0, 7, null, null, 10] >> 114:null [false, null, null, 10] >> 113:endloop [null, null, 10] >> 105:java.lang.System [class java.lang.System, null, null, 10] >> 110:null [class java.lang.System, class java.lang.System, null, null, 10] >> 107:out [java.io.PrintStream@6b091a92, null, null, 10] >> 105:java.io.PrintStream [class java.io.PrintStream, java.io.PrintStream@6b091a92, null, null, 10] >> 104:i [7, class java.io.PrintStream, java.io.PrintStream@6b091a92, null, null, 10] >> 106:println 7 [null, null, null, 10] >> 112:loop [null, null, null, 10] >> 104:i [7, null, null, null, 10] >> 102:1 [1, 7, null, null, null, 10] >> 102:1 [1, 1, 7, null, null, null, 10] >> 114:null [6, null, null, null, 10] >> 109:i [6, null, null, null, 10] >> 102:0 [0, 6, null, null, null, 10] >> 102:18 [18, 0, 6, null, null, null, 10] >> 114:null [false, null, null, null, 10] >> 113:endloop [null, null, null, 10] >> 105:java.lang.System [class java.lang.System, null, null, null, 10] >> 110:null [class java.lang.System, class java.lang.System, null, null, null, 10] >> 107:out [java.io.PrintStream@6b091a92, null, null, null, 10] >> 105:java.io.PrintStream [class java.io.PrintStream, java.io.PrintStream@6b091a92, null, null, null, 10] >> 104:i [6, class java.io.PrintStream, java.io.PrintStream@6b091a92, null, null, null, 10] >> 106:println 6 [null, null, null, null, 10] >> 112:loop [null, null, null, null, 10] >> 104:i [6, null, null, null, null, 10] >> 102:1 [1, 6, null, null, null, null, 10] >> 102:1 [1, 1, 6, null, null, null, null, 10] >> 114:null [5, null, null, null, null, 10] >> 109:i [5, null, null, null, null, 10] >> 102:0 [0, 5, null, null, null, null, 10] >> 102:18 [18, 0, 5, null, null, null, null, 10] >> 114:null [false, null, null, null, null, 10] >> 113:endloop [null, null, null, null, 10] >> 105:java.lang.System [class java.lang.System, null, null, null, null, 10] >> 110:null [class java.lang.System, class java.lang.System, null, null, null, null, 10] >> 107:out [java.io.PrintStream@6b091a92, null, null, null, null, 10] >> 105:java.io.PrintStream [class java.io.PrintStream, java.io.PrintStream@6b091a92, null, null, null, null, 10] >> 104:i [5, class java.io.PrintStream, java.io.PrintStream@6b091a92, null, null, null, null, 10] >> 106:println 5 [null, null, null, null, null, 10] >> 112:loop [null, null, null, null, null, 10] >> 104:i [5, null, null, null, null, null, 10] >> 102:1 [1, 5, null, null, null, null, null, 10] >> 102:1 [1, 1, 5, null, null, null, null, null, 10] >> 114:null [4, null, null, null, null, null, 10] >> 109:i [4, null, null, null, null, null, 10] >> 102:0 [0, 4, null, null, null, null, null, 10] >> 102:18 [18, 0, 4, null, null, null, null, null, 10] >> 114:null [false, null, null, null, null, null, 10] >> 113:endloop [null, null, null, null, null, 10] >> 105:java.lang.System [class java.lang.System, null, null, null, null, null, 10] >> 110:null [class java.lang.System, class java.lang.System, null, null, null, null, null, 10] >> 107:out [java.io.PrintStream@6b091a92, null, null, null, null, null, 10] >> 105:java.io.PrintStream [class java.io.PrintStream, java.io.PrintStream@6b091a92, null, null, null, null, null, 10] >> 104:i [4, class java.io.PrintStream, java.io.PrintStream@6b091a92, null, null, null, null, null, 10] >> 106:println 4 [null, null, null, null, null, null, 10] >> 112:loop [null, null, null, null, null, null, 10] >> 104:i [4, null, null, null, null, null, null, 10] >> 102:1 [1, 4, null, null, null, null, null, null, 10] >> 102:1 [1, 1, 4, null, null, null, null, null, null, 10] >> 114:null [3, null, null, null, null, null, null, 10] >> 109:i [3, null, null, null, null, null, null, 10] >> 102:0 [0, 3, null, null, null, null, null, null, 10] >> 102:18 [18, 0, 3, null, null, null, null, null, null, 10] >> 114:null [false, null, null, null, null, null, null, 10] >> 113:endloop [null, null, null, null, null, null, 10] >> 105:java.lang.System [class java.lang.System, null, null, null, null, null, null, 10] >> 110:null [class java.lang.System, class java.lang.System, null, null, null, null, null, null, 10] >> 107:out [java.io.PrintStream@6b091a92, null, null, null, null, null, null, 10] >> 105:java.io.PrintStream [class java.io.PrintStream, java.io.PrintStream@6b091a92, null, null, null, null, null, null, 10] >> 104:i [3, class java.io.PrintStream, java.io.PrintStream@6b091a92, null, null, null, null, null, null, 10] >> 106:println 3 [null, null, null, null, null, null, null, 10] >> 112:loop [null, null, null, null, null, null, null, 10] >> 104:i [3, null, null, null, null, null, null, null, 10] >> 102:1 [1, 3, null, null, null, null, null, null, null, 10] >> 102:1 [1, 1, 3, null, null, null, null, null, null, null, 10] >> 114:null [2, null, null, null, null, null, null, null, 10] >> 109:i [2, null, null, null, null, null, null, null, 10] >> 102:0 [0, 2, null, null, null, null, null, null, null, 10] >> 102:18 [18, 0, 2, null, null, null, null, null, null, null, 10] >> 114:null [false, null, null, null, null, null, null, null, 10] >> 113:endloop [null, null, null, null, null, null, null, 10] >> 105:java.lang.System [class java.lang.System, null, null, null, null, null, null, null, 10] >> 110:null [class java.lang.System, class java.lang.System, null, null, null, null, null, null, null, 10] >> 107:out [java.io.PrintStream@6b091a92, null, null, null, null, null, null, null, 10] >> 105:java.io.PrintStream [class java.io.PrintStream, java.io.PrintStream@6b091a92, null, null, null, null, null, null, null, 10] >> 104:i [2, class java.io.PrintStream, java.io.PrintStream@6b091a92, null, null, null, null, null, null, null, 10] >> 106:println 2 [null, null, null, null, null, null, null, null, 10] >> 112:loop [null, null, null, null, null, null, null, null, 10] >> 104:i [2, null, null, null, null, null, null, null, null, 10] >> 102:1 [1, 2, null, null, null, null, null, null, null, null, 10] >> 102:1 [1, 1, 2, null, null, null, null, null, null, null, null, 10] >> 114:null [1, null, null, null, null, null, null, null, null, 10] >> 109:i [1, null, null, null, null, null, null, null, null, 10] >> 102:0 [0, 1, null, null, null, null, null, null, null, null, 10] >> 102:18 [18, 0, 1, null, null, null, null, null, null, null, null, 10] >> 114:null [false, null, null, null, null, null, null, null, null, 10] >> 113:endloop [null, null, null, null, null, null, null, null, 10] >> 105:java.lang.System [class java.lang.System, null, null, null, null, null, null, null, null, 10] >> 110:null [class java.lang.System, class java.lang.System, null, null, null, null, null, null, null, null, 10] >> 107:out [java.io.PrintStream@6b091a92, null, null, null, null, null, null, null, null, 10] >> 105:java.io.PrintStream [class java.io.PrintStream, java.io.PrintStream@6b091a92, null, null, null, null, null, null, null, null, 10] >> 104:i [1, class java.io.PrintStream, java.io.PrintStream@6b091a92, null, null, null, null, null, null, null, null, 10] >> 106:println 1 [null, null, null, null, null, null, null, null, null, 10] >> 112:loop [null, null, null, null, null, null, null, null, null, 10] >> 104:i [1, null, null, null, null, null, null, null, null, null, 10] >> 102:1 [1, 1, null, null, null, null, null, null, null, null, null, 10] >> 102:1 [1, 1, 1, null, null, null, null, null, null, null, null, null, 10] >> 114:null [0, null, null, null, null, null, null, null, null, null, 10] >> 109:i [0, null, null, null, null, null, null, null, null, null, 10] >> 102:0 [0, 0, null, null, null, null, null, null, null, null, null, 10] >> 102:18 [18, 0, 0, null, null, null, null, null, null, null, null, null, 10] >> 114:null [true, null, null, null, null, null, null, null, null, null, 10] >> 113:endloop stacklang {push 10;store i;label loop;load i;push 1;push 1; reduce;store i;push 0;push 18;reduce;jumpif endloop;ldtype java.lang.System;dup;getfield out;ldtype java.io.PrintStream;load i;invoke println;jump loop;label endloop;} ..Got here! . [test] begin test for: ---------------------- import org.mvel2.tests.core.res.Foo; [ 10, 20 /* ... */ ] ---------------------- Expression Decompile ------------- (0) NODE [ImportNode] :: org.mvel2.tests.core.res.Foo (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [InlineCollectionNode] :: [ 10, 20 ] ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:2] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:2] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:2] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ..Got here! .. [test] begin test for: ---------------------- 10 + 10; // This is a comment ---------------------- Expression Decompile ------------- (0) LITERAL :: 20' ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- /* This is a test of MVEL's support for multi-line comments */ 15 + 15 ---------------------- Expression Decompile ------------- (0) LITERAL :: 30' ==END== Breakpoint [source:unittest; line:2] Breakpoint [source:unittest; line:2] Breakpoint [source:unittest; line:2] All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- /** This is a fun test script **/ a = 10; /** * Here is a useful variable */ b = 20; // set b to '20' return ((a + b) * 2) - 10; // last comment ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 10 (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [AssignmentNode] :: 20 (3) OPERATOR [END_OF_STATEMENT]: (4) OPERATOR [RETURN]: ((a + b) * 2) - 10 (5) OPERATOR [END_OF_STATEMENT]: ==END== Breakpoint [source:unittest; line:2] Breakpoint [source:unittest; line:4] Breakpoint [source:unittest; line:5] Breakpoint [source:unittest; line:2] Breakpoint [source:unittest; line:4] Breakpoint [source:unittest; line:5] Breakpoint [source:unittest; line:2] Breakpoint [source:unittest; line:4] Breakpoint [source:unittest; line:5] Breakpoint [source:unittest; line:5] All threads have stopped. Result Count: 1 [test] finished in: 19ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- foo./*Hey!*/name ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:foo. name ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ........ [test] begin test for: ---------------------- // This is a comment 5 + 5 ---------------------- Expression Decompile ------------- (0) LITERAL :: 10' ==END== Breakpoint [source:unittest; line:2] Breakpoint [source:unittest; line:2] Breakpoint [source:unittest; line:2] All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ...... [test] begin test for: ---------------------- !(foo.bar.name ~= '[a-z].+') ---------------------- Expression Decompile ------------- (0) NODE [Negation] :: (foo.bar.name ~= '[a-z].+') ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- c is java.lang.String ---------------------- Expression Decompile ------------- (0) NODE [Instance] :: ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- pi is java.lang.Integer ---------------------- Expression Decompile ------------- (0) NODE [Instance] :: ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- foo is org.mvel2.tests.core.res.Foo ---------------------- Expression Decompile ------------- (0) NODE [Instance] :: ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- 'z' < 'a' ---------------------- Expression Decompile ------------- (0) LITERAL :: false' ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- 'flexbar' soundslike 'fubar' ---------------------- Expression Decompile ------------- (0) LITERAL :: false' ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 0ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- (c soundslike 'kat') ---------------------- Expression Decompile ------------- (0) NODE [Substatement] :: c soundslike 'kat' ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- _xx1 = 'cat'; _xx2 = 'katt'; (_xx1 soundslike _xx2) ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 'cat' (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [AssignmentNode] :: 'katt' (3) OPERATOR [END_OF_STATEMENT]: (4) NODE [Substatement] :: _xx1 soundslike _xx2 ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- _type = 'fubar';_type soundslike "foobar" ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 'fubar' (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [Soundslike] :: ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 9ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- _v1 = 'bar'; isdef _v1 ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 'bar' (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [IsDef] :: _v1 ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- pi < 3.15 ---------------------- Expression Decompile ------------- (0) OPERATION [LESS_THAN] {pi} {} ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! [test] begin test for: ---------------------- pi <= 3.14 ---------------------- Expression Decompile ------------- (0) OPERATION [LESS_THAN_OR_EQUAL] {pi} {} ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! [test] begin test for: ---------------------- pi > 3.14 ---------------------- Expression Decompile ------------- (0) OPERATION [GREATHER_THAN] {pi} {} ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! [test] begin test for: ---------------------- pi >= 3.14 ---------------------- Expression Decompile ------------- (0) OPERATION [GREATER_THAN_OR_EQUAL] {pi} {} ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- c strsim 'kat' ---------------------- Expression Decompile ------------- (0) NODE [Strsim] :: ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- '' == empty ---------------------- Expression Decompile ------------- (0) LITERAL :: true' ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 0ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- foo.bar.name ~= '[a-z].+' ---------------------- Expression Decompile ------------- (0) NODE [RegExMatch] :: foo.bar.name ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- a or b or c ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:a (1) OPERATOR [CHAINED_OR]: (2) REFERENCE :: ASTNode:b (3) OPERATOR [CHAINED_OR]: (4) REFERENCE :: ASTNode:c ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- this is org.mvel2.tests.core.res.Base ---------------------- Expression Decompile ------------- (0) NODE [Instance] :: ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- this.funMap instanceof java.util.Map ---------------------- Expression Decompile ------------- (0) NODE [Instance] :: ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- this.data == 'cat' ---------------------- Expression Decompile ------------- (0) OPERATION [EQUAL] {this.data} {} ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- fun && !fun ---------------------- Expression Decompile ------------- (0) NODE [And] :: ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- !(fun && fun) ---------------------- Expression Decompile ------------- (0) NODE [Negation] :: (fun && fun) ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- (fun && fun) ---------------------- Expression Decompile ------------- (0) NODE [Substatement] :: fun && fun ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- !false ---------------------- Expression Decompile ------------- (0) NODE [Negation] :: false ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- !true ---------------------- Expression Decompile ------------- (0) NODE [Negation] :: true ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 0ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- s = false; t = !s; t ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: false (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [AssignmentNode] :: !s (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:t ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- s = false; t =! s; t ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: false (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [AssignmentNode] :: ! s (3) OPERATOR [END_OF_STATEMENT]: (4) REFERENCE :: ASTNode:t ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- dt1 < dt2 ---------------------- Expression Decompile ------------- (0) OPERATION [LESS_THAN] {dt1} {dt2} ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- foo.bar.woof == true ---------------------- Expression Decompile ------------- (0) OPERATION [EQUAL] {foo.bar.woof} {} ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 6ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- foo.bar.woof == false ---------------------- Expression Decompile ------------- (0) OPERATION [EQUAL] {foo.bar.woof} {} ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- foo.bar.woof== true ---------------------- Expression Decompile ------------- (0) OPERATION [EQUAL] {foo.bar.woof} {} ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 6ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- foo.bar.woof ==false ---------------------- Expression Decompile ------------- (0) OPERATION [EQUAL] {foo.bar.woof} {} ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 7ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- foo.bar.woof == true ---------------------- Expression Decompile ------------- (0) OPERATION [EQUAL] {foo.bar.woof} {} ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- foo.bar.woof==false ---------------------- Expression Decompile ------------- (0) OPERATION [EQUAL] {foo.bar.woof} {} ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 6ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .Expression Decompile ------------- (0) OPERATION [EQUAL] {} {['a']} ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] . [test] begin test for: ---------------------- a or 'fubar' ---------------------- Expression Decompile ------------- (0) REFERENCE :: ASTNode:a (1) OPERATOR [CHAINED_OR]: (2) LITERAL :: fubar' ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 7ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- pi convertable_to Integer ---------------------- Expression Decompile ------------- (0) NODE [Convertable] :: ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- list contains 'Happy!' ---------------------- Expression Decompile ------------- (0) NODE [Contains] :: ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- list contains 'Foobie' ---------------------- Expression Decompile ------------- (0) NODE [Contains] :: ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- sentence contains 'fox' ---------------------- Expression Decompile ------------- (0) NODE [Contains] :: ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- sentence contains 'mike' ---------------------- Expression Decompile ------------- (0) NODE [Contains] :: ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- !(sentence contains 'mike') ---------------------- Expression Decompile ------------- (0) NODE [Negation] :: (sentence contains 'mike') ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- bwahbwah = 'mikebrock'; testVar10 = 'mike'; bwahbwah contains testVar10 ---------------------- Expression Decompile ------------- (0) NODE [AssignmentNode] :: 'mikebrock' (1) OPERATOR [END_OF_STATEMENT]: (2) NODE [AssignmentNode] :: 'mike' (3) OPERATOR [END_OF_STATEMENT]: (4) NODE [Contains] :: ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- sentence contains ('fox') ---------------------- Expression Decompile ------------- (0) NODE [Contains] :: ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- ipaddr == '10.1.1.2' ---------------------- Expression Decompile ------------- (0) OPERATION [EQUAL] {ipaddr} {} ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- BWAH == empty ---------------------- Expression Decompile ------------- (0) OPERATION [EQUAL] {BWAH} {} ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .Expression Decompile ------------- (0) OPERATION [EQUAL] {[]} {} ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] .Expression Decompile ------------- (0) OPERATION [NOT_EQUAL] {['a']} {} ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] .Expression Decompile ------------- (0) OPERATION [NOT_EQUAL] {} {['a']} ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] .Expression Decompile ------------- (0) OPERATION [NOT_EQUAL] {[]} {} ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] .Expression Decompile ------------- (0) OPERATION [EQUAL] {['a']} {} ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] ..... [test] begin test for: ---------------------- 'stringValue' > null ---------------------- Expression Decompile ------------- (0) LITERAL :: false' ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- !fun && !fun ---------------------- Expression Decompile ------------- (0) NODE [And] :: ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- foo.bar.name ~= '[a-z].+' && foo.bar.name != null ---------------------- Expression Decompile ------------- (0) NODE [And] :: ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 8ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- foo.bar.name~='[a-z].+'&&foo.bar.name!=null ---------------------- Expression Decompile ------------- (0) NODE [And] :: ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 8ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- 'z' > 'a' ---------------------- Expression Decompile ------------- (0) LITERAL :: true' ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- 'foobar' soundslike 'fubar' ---------------------- Expression Decompile ------------- (0) LITERAL :: true' ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- c != null ---------------------- Expression Decompile ------------- (0) OPERATION [NOT_EQUAL] {c} {} ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 1ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- foo.bar.name != 'foo' ---------------------- Expression Decompile ------------- (0) OPERATION [NOT_EQUAL] {foo.bar.name} {} ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 5ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- isdef _v1 ---------------------- Expression Decompile ------------- (0) NODE [IsDef] :: _v1 ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- !(isdef _v1) ---------------------- Expression Decompile ------------- (0) NODE [Negation] :: (isdef _v1) ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 4ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- ! (isdef _v1) ---------------------- Expression Decompile ------------- (0) NODE [Negation] :: (isdef _v1) ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! . [test] begin test for: ---------------------- !isdef _v1 ---------------------- Expression Decompile ------------- (0) NODE [Negation] :: isdef _v1 ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 2ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! .. [test] begin test for: ---------------------- foo.bar.name == 'dog' ---------------------- Expression Decompile ------------- (0) OPERATION [EQUAL] {foo.bar.name} {} ==END== Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] Breakpoint [source:unittest; line:1] All threads have stopped. Result Count: 1 [test] finished in: 3ms (execution count: 8 [mixed modes]) [test] analyzing results ... good! ......................Listener Fired:list Listener Fired:list ...........My name is Bob and I am 5 years old. I like the color blue. My name is BOB and I am 5 years old. I like the color blue. --------- 1. BOB 2. BOB 3. BOB 4. BOB 5. BOB 6. BOB 7. BOB 8. BOB 9. BOB 10. BOB ->g ->o ->r ->k ->e ->m [COW, PIG] E Time: 9.369 There was 1 failure: 1) testScript(org.mvel2.tests.classes.ClassTests) [Error: unknown exception in expression: tm()] [Near : {... def speak() { ....}] ^ [Line: 8, Column: 15] at org.mvel2.PropertyAccessor.get(PropertyAccessor.java:170) at org.mvel2.PropertyAccessor.get(PropertyAccessor.java:125) at org.mvel2.ast.ASTNode.getReducedValue(ASTNode.java:187) at org.mvel2.MVELInterpretedRuntime.parseAndExecuteInterpreted(MVELInterpretedRuntime.java:101) at org.mvel2.MVELInterpretedRuntime.parse(MVELInterpretedRuntime.java:47) at org.mvel2.MVEL.eval(MVEL.java:404) at org.mvel2.PropertyAccessor.getMethod(PropertyAccessor.java:871) at org.mvel2.PropertyAccessor.getAllowOverride(PropertyAccessor.java:214) at org.mvel2.PropertyAccessor.get(PropertyAccessor.java:148) at org.mvel2.PropertyAccessor.get(PropertyAccessor.java:125) at org.mvel2.ast.ASTNode.getReducedValue(ASTNode.java:187) at org.mvel2.MVELInterpretedRuntime.parseAndExecuteInterpreted(MVELInterpretedRuntime.java:101) at org.mvel2.MVELInterpretedRuntime.parse(MVELInterpretedRuntime.java:47) at org.mvel2.MVEL.eval(MVEL.java:404) at org.mvel2.MVEL._evalFile(MVEL.java:600) at org.mvel2.MVEL._evalFile(MVEL.java:596) at org.mvel2.MVEL.evalFile(MVEL.java:542) at org.mvel2.tests.classes.ClassTests.testScript(ClassTests.java:17) ... 25 trimmed Caused by: org.mvel2.OptimizationFailure: attempt to optimize a method call for a reference that does not point to a method: tm (reference is type: null) at org.mvel2.PropertyAccessor.getMethod(PropertyAccessor.java:891) at org.mvel2.PropertyAccessor.getAllowOverride(PropertyAccessor.java:214) at org.mvel2.PropertyAccessor.get(PropertyAccessor.java:148) ... 43 more FAILURES!!! Tests run: 1100, Failures: 1 * ERROR: dev-java/mvel-2.3.2-r1::gentoo failed (test phase): * Running junit failed * * Call stack: * ebuild.sh, line 127: Called src_test * environment, line 2425: Called java-pkg-simple_src_test * environment, line 984: Called ejunit4 '-classpath' 'target/test-classes:mvel.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar' 'org.mvel2.util.FastListTest' 'org.mvel2.marshalling.MarshallingTest' 'org.mvel2.compiler.GenericsTypeInferenceTest' 'org.mvel2.tests.templates.TemplateTests' 'org.mvel2.tests.perftests.NestedSubstatementTests' 'org.mvel2.tests.perftests.SetterAccessorConcurrencyTest' 'org.mvel2.tests.perftests.ConcurrentEvaluationTests' 'org.mvel2.tests.core.ControlFlowTests' 'org.mvel2.tests.core.IntegrationTests' 'org.mvel2.tests.core.SamplesTests' 'org.mvel2.tests.core.InlineCollectionsTests' 'org.mvel2.tests.core.WithTests' 'org.mvel2.tests.core.MVELTest' 'org.mvel2.tests.core.CoreConfidenceTests' 'org.mvel2.tests.core.RegularExpressionTests' 'org.mvel2.tests.core.I18nTest' 'org.mvel2.tests.core.MutationsTests' 'org.mvel2.tests.core.osgi.AsmOptimizerOsgiTest' 'org.mvel2.tests.core.TypesAndInferenceTests' 'org.mvel2.tests.core.PropertyAccessTests' 'org.mvel2.tests.core.MacroProcessorTest' 'org.mvel2.tests.core.ArithmeticTests' 'org.mvel2.tests.core.FunctionsTest' 'org.mvel2.tests.core.ScopeTests' 'org.mvel2.tests.core.LiteralParsingTests' 'org.mvel2.tests.core.ProjectionsTests' 'org.mvel2.tests.core.ArraysTests' 'org.mvel2.tests.core.FailureTests' 'org.mvel2.tests.core.ProtoTests' 'org.mvel2.tests.core.DebuggerTests' 'org.mvel2.tests.core.IndexedVariablesTests' 'org.mvel2.tests.core.StacklangTests' 'org.mvel2.tests.core.UnsupportedFeaturesTests' 'org.mvel2.tests.core.CommentParsingTests' 'org.mvel2.tests.core.ComparisonTests' 'org.mvel2.tests.core.UtilsTests' 'org.mvel2.tests.core.StaticMethodImportTests' 'org.mvel2.tests.core.PropertyHandlerTests' 'org.mvel2.tests.core.PropertyAccessUnitTest' 'org.mvel2.tests.classes.ClassTests' * environment, line 657: Called ejunit_ 'junit-4' '-classpath' 'target/test-classes:mvel.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar' 'org.mvel2.util.FastListTest' 'org.mvel2.marshalling.MarshallingTest' 'org.mvel2.compiler.GenericsTypeInferenceTest' 'org.mvel2.tests.templates.TemplateTests' 'org.mvel2.tests.perftests.NestedSubstatementTests' 'org.mvel2.tests.perftests.SetterAccessorConcurrencyTest' 'org.mvel2.tests.perftests.ConcurrentEvaluationTests' 'org.mvel2.tests.core.ControlFlowTests' 'org.mvel2.tests.core.IntegrationTests' 'org.mvel2.tests.core.SamplesTests' 'org.mvel2.tests.core.InlineCollectionsTests' 'org.mvel2.tests.core.WithTests' 'org.mvel2.tests.core.MVELTest' 'org.mvel2.tests.core.CoreConfidenceTests' 'org.mvel2.tests.core.RegularExpressionTests' 'org.mvel2.tests.core.I18nTest' 'org.mvel2.tests.core.MutationsTests' 'org.mvel2.tests.core.osgi.AsmOptimizerOsgiTest' 'org.mvel2.tests.core.TypesAndInferenceTests' 'org.mvel2.tests.core.PropertyAccessTests' 'org.mvel2.tests.core.MacroProcessorTest' 'org.mvel2.tests.core.ArithmeticTests' 'org.mvel2.tests.core.FunctionsTest' 'org.mvel2.tests.core.ScopeTests' 'org.mvel2.tests.core.LiteralParsingTests' 'org.mvel2.tests.core.ProjectionsTests' 'org.mvel2.tests.core.ArraysTests' 'org.mvel2.tests.core.FailureTests' 'org.mvel2.tests.core.ProtoTests' 'org.mvel2.tests.core.DebuggerTests' 'org.mvel2.tests.core.IndexedVariablesTests' 'org.mvel2.tests.core.StacklangTests' 'org.mvel2.tests.core.UnsupportedFeaturesTests' 'org.mvel2.tests.core.CommentParsingTests' 'org.mvel2.tests.core.ComparisonTests' 'org.mvel2.tests.core.UtilsTests' 'org.mvel2.tests.core.StaticMethodImportTests' 'org.mvel2.tests.core.PropertyHandlerTests' 'org.mvel2.tests.core.PropertyAccessUnitTest' 'org.mvel2.tests.classes.ClassTests' * environment, line 683: Called die * The specific snippet of code: * java -cp "${cp}" -Djava.io.tmpdir="${T}/" -Djava.awt.headless=true ${JAVA_TEST_EXTRA_ARGS[@]} ${runner} "${@}" || die "Running junit failed" * * If you need support, post the output of `emerge --info '=dev-java/mvel-2.3.2-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-java/mvel-2.3.2-r1::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM=icedtea-8 CLASSPATH="" JAVA_HOME="/usr/lib64/icedtea8" JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="" and of course, the output of emerge --info =mvel-2.3.2 * The complete build log is located at '/var/log/portage/dev-java:mvel-2.3.2-r1:20220326-170619.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-java/mvel-2.3.2-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/mvel-2.3.2-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-java/mvel-2.3.2-r1/work/mvel-mvel2-2.3.2.Final' * S: '/var/tmp/portage/dev-java/mvel-2.3.2-r1/work/mvel-mvel2-2.3.2.Final'