Commits

Author Commit Message Labels Comments Date
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...
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Added new getRootExpressionClass() to compiler interface so that other compiler impls can handle special corner cases (like operating on previously javassist'ed classes)
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Re-factored OgnlContext type / accessor logic to use backing List objects so that the full type chain can be evaluated after the fact.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-46. ExpressionCompiler.getRootExpression() was incorrectly casting directly to the root type instead of checking the context accessor type first. (to be friendly with object inheritance)
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes regression of string concatenations in OGNL-48.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Code cleanup , new test for bug in javassist.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-44. ASTAdd wasn't checking for property/var references before expanding value via native conversion methods.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Resolves OGNL-43. ASTAnd was incorrectly casting to a boolean expression when language grammar states && expressions return value of second expression - not just boolean.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Resolves OGNL-40. ASTAdd was improperly double escaping quoting characters.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Resolves OGNL-39. ASTTest wasn't handling the possibility of different object types being on the return stack of a ternary statement.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Resolves OGNL-41. Needed to add "(" around !org.ognl.StaticClass.method()" block to make javassist stfu.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-37. OgnlRuntime.getMethod() wasn't properly checking types using the new context.getCurrentType(). (need to kill off that old NodeType interface)
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-35. Boolean "&&" expressions were being evaluated during source generation regardless of whether either condition was true. Added check that throws UnsupportedCompilationException from ASTAnd until all conditions are true.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Let's just say it fixes most problems and leave it at that...
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Resolves OGNL-24. ListPropertyAccessor wasn't delegating to superclass for getSource in operations where a list object has been extended ..
  1. Prev
  2. Next