Commits

Author Commit Message Labels Comments Date
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-86. NumericExpression superclass was incorrectly using _currentChain context values stored during chained subexpressions for non ASTMethod children.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-85. Error with type conversion in constructor calls. Finally refactored ASTCtor to really dig through the available constructors and more thoroughly convert parameter types when possible.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-84, OGNL-83. Precasting statements were being stolen by ASTMethod for inner children incorrectly. ASTProperty also wasn't setting the correct current type on previously indexed methods.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes TAPESTRY-1419. Needed to add () around widening expressions in ASTList.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-77. ASTAdd wasn't setting the context type before returning.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-76. ObjectPropertyAccessor was incorrectly trying to generate an array property reference in the setter code (ie java.lang.Object[].class) - which is of course invalid. Changed to use the OgnlOps.toArray() style parameter conversion.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-75.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-74. Used a 1.5 only jre feature of Integer.valueOf(int)
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-72. ASTCtor was setting the generic type instead of the actual type... This was breaking things when the type being constructed was an array.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-73. When evaluating child source strings via the OgnlRuntime.getChildSource() method standard runtime exceptions weren't being properly handled..The more correct way to handle those is to throw an UnsupportedCompilationException so that they can be re-evaluated later and possibly compiled natively when more objects in the expression are resolvable.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-47 and possibly all enum related bugs. We'll see.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Resolves OGNL-70. Don't know why it doesn't like dividing by zero..sheesh.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Added new test for OGNL-66 which was un-reproducable.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Added more lenient setter method checking in OgnlRuntime.getWriteMethod() so that ObjectPropertyAccessors can handle setters that return a value.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes weird condition where some kind of JBoss classloader monkeybusiness causes not found classes to not throw ClassNotFoundException. Fixes OGNL-13.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Resolves OGNL-64.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-65. && expressions needed () .
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-61. ExpressionNode's and string concatenation wasn't working out so well without ()s.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Added some more tests but unable to re-produce bug.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-62. OgnlRuntime.getReadMethod() wasn't checking for a valid return type in the second pass method matcher.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-60 . OgnlOps wasn't converting simple object values to object arrays && ASTMethod wasn't checking for void return types to parameter values.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Added some more unit tests referenced in jira but could not get them to fail.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-56. Trying to be clever with source strings containg booleans didn't work out. Used clumsier OgnlOps method instead.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-58. ASTChain children weren't having their expression root strings added.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixed small error with ASTTest expressions containing sub-expressions without any paranthetical boundaries.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-55.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-54. OgnlRuntime method finders and getChildSource weren't properly handling properties that should only be referencing root expressions (if any)..Such as method parameters / etc..Added logic to correctly set the context type/object state up for each of these.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
-) Fix for OGNL-52. Added a synchronized() block around the method object being invoked to prevent failures with the accessible flag being turned on/off temporarily.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-50. Boolean literals within ASTAnd expressions were failing compilation (stupid ass javassist) unless surrounded with ( ).
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
ASTTest had been quietly failing since the last set of changes. Not good for performance...
  1. Prev
  2. Next