Commits

Author Commit Message Labels Comments Date
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes for OGNL-119. ASTChain had bug in indexed setter evaluation loop which caused it improperly not detect valid indexed set operations. Thanks to Max Bowsher for pointing that out.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
May fix OGNL-144. Impossible to tell without knowing more but PropertyDescriptors aren't guaranteed to have read methods anyways so ..
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
One more improvement for OGNL-115 constant modification bug handling in ASTConst class itself.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes for OGNL-115. ASTConst needed to cause unsupported compilation exceptions to be thrown when the first stack member is a constant during setter generations as constants aren't obviously CONSTANT and not changeable.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Updated to latest slightly improved javacc version and re-generated language parser.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Minor syntax cleanup.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Removed unecessary getPropertyClass from PropertyAccessor interface.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNl-121.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Misc tests.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-136. Added checks for volatile && synthetic methods.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Resolves OGNL-133. Brought back old OgnlRuntime.callMethod method and added deprecated info for it.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Resolves OGNL-141. Added runtime optimization for method invocations such that knowledge of whether or not the method needs synchronized invocations because of private access (or whether or not security checks needs to be done) is cached - thus avoiding synchronized blocks altogether on methods that have been invoked at least once already.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Minor improvements to remove redundant expression evaluations during compilation.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Reduced some overhead with unneccesarily getting values from expressions when compiling.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Testing list expressions.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes for OGNL-125. OgnlException now properly initializes wrapped exceptions.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-126 and OGNL-80. Added more support for generics.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Added specific test for OGNL-129. Appears to be working correctly already.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Additional unit tests for OGNL-131. Found problem but real fix is needed in Tapestry.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixed ASTProperty bug that only shows up in jre 1.6. Wasn't able to resolve simple getValue() property because a hasValue() method existed.. Changed to use propery descriptor first and fall back to propertyaccessors when that is null so that actual settable/gettable properties are found first.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes for OGNL-130. Two dimensional List access was improperly stealing pre-cast statements from ASTProperty children.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
More OgnlRuntime fixes for varargs handling.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Implemented workaround for OGNL-127 that simply causes the old OGNL reflection method to be used on varargs methods.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Added in as much support for varargs method calling as possible for OGNL-127, only to find out that javassist blows up on it. ..
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-128. Addex explicit check for String types on the context stack in numeric expressions.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Reverting previous check in changes....Changed my mind about not supporting these half native / half reflection situations.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
FIxes OGNL-117 by detecting attempts to use reflective indexed property accessor and throwing unsupported exceptions when found.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes for OGNL-122. OgnlOps should be converting Number based object instances to BigDecimal using the String constructor - as stated in the BigDecimal javadocs.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Performance enhancements for source compilations.
jkuh...@d4b077e3-5828-0410-b394-cb2b42183085
Fixes OGNL-113. ObjectPropertyAccessor wasn't handling the case where an object would return null from toString(). This is questionable but whatever..
  1. Prev
  2. Next