| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
Advice calling protected super method causing java.lang.VerifyError 'Bad access to protected data'
Also expanded test to cover protected field access as well as methods
Fix required getting the correct receiver type for both field access and method
calls to correspond to Java's complicated rules for accessing protected
members (JLSv2 6.6.2 and mentioned in passing in JVMv2 5.4.4)
|
|
|
|
| |
numbers because Jim/Erik keep making the compiler/weaver faster!
|
|
|
|
| |
(split()) which I am now removing.
|
|
|
|
| |
generate a .csv file containing results.
|
|
|
|
|
| |
Better binary compatibility for advice method names
- I've run the tests a thousand times and they all pass, I'm still nervous about this first big commit though *gulp*
|
|
|
|
| |
duplicate warning or second join point for constructor-execution
|
|
|
|
|
|
| |
this is a long-standing bug that was masked by the weaver which
would always recompute this field. optimizations to the weaver made
this bug appear again.
|
|
|
|
|
|
|
| |
Make a full implementation of org.eclipse.jdt.core for use in AJDT
Pushdown of AjParser and AjScanner into shadows/org.eclipse.jdt.core.
New class DeclarationFactory handles creation of AJDT-specific types
on behalf of Parser.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Lazy instantiation of thisJoinPoint
Speed-ups of 10-100X are measured even when running a small test case with minimal GC issues.
The actual feature implemented is that thisJoinPoint objects are only created just before calling the method for advice that requires them. To take advantage of this feature you must use an if PCD or some other dynamic test that occurs in the PCD not the advice body to guard the expensive creation of the thisJoinPoint object.
-XlazyTjp flag must be passed to compiler to enable this feature.
If any around advice is present on the joinpoint then lazy instantiation
will be disabled. An Xlint warning will be displayed in this case.
As a related optimization, several helper methods were added to
Factory.makeJP to reduce the code size when thisJoinPoint is used.
|
|
|
|
|
| |
into this source - only the org.eclipse.jdt.core project should
contain links to other portions of eclipse source.
|
|
|
|
|
| |
removed unused imports, local variables, and private methods
(still there, just commented out).
|
| |
|
|
|
|
| |
out of memory error when compiling
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Erroneous exception conversion
and Bugzilla Bug 34206
before():execution(new(..)) does not throw NoAspectBoundException
All exceptions that occur during the static intialization of a persingleton
aspect will be swallowed. When using that aspect (via aspectOf())
a NoAspectBoundException will be thrown with the original exception
from the staitc initializer as the cause.
|
|
|
|
| |
compiler issues error on inner aspects when privilieged
|
|
|
|
|
|
|
|
| |
declaring interface methods should work as it does in interface
and Bugzilla Bug 45676
AspectJ enhanced code can not be used with plain old java anymo
and Bugzilla Bug 43972
Static crosscutting makes interfaces unusable for javac
|
|
|
|
|
|
|
|
| |
declaring interface methods should work as it does in interface
and Bugzilla Bug 45676
AspectJ enhanced code can not be used with plain old java anymo
and Bugzilla Bug 43972
Static crosscutting makes interfaces unusable for javac
|
|
|
|
| |
default mode (inherited behaviour from JDT).
|
|
|
|
| |
ConfigParser.java:132
|
|
|
|
| |
"declare soft" inside nested aspect does not work
|
| |
|
|
|
|
| |
convert Throwable obj to string and ajc aborts
|
|
|
|
|
|
|
| |
XLint warning for call PCD's using subtype of defining type
also added extraSourceLocations to IMessage+ for
message with multiple source lines
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
for nested files), because I think jre/ext dir is not - should confirm.
|
|
|
|
|
|
| |
from any peer directory/module, i.e., from one module
Also using canonical rather than absolute path to predict generated paths
|
| |
|
|
|
|
| |
IncompatibleClassChangeError at runtime when compiling with -1.4 option
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Language regression, or possible language improvement?
The problem was caused by moving name binding in pointcut declarations to
happen before declare parents are evaluated. Because of this, the
compiler doesn't know that ContainerDescriptor isa Key when resolving
the ContainerLoader.containerLoads reference.
The change in ordering was made to fix a bug reported in declare error
and declare soft whose pcds where being evaluated before name binding
had happened in the pointcut declarations. Unfortunately, declare error
and declare soft are concretized at the same time as declare parents
(and all other declares ;-), so this move also led to the regression
noted above.
|
|
|
|
|
|
|
|
|
|
|
| |
Bugzilla Bug 42740
declare error fails on pointcuts composed from multiple classes
Bugzilla Bug 42746
within() pcd is confused for certain declare softs
and probably:
Bugzilla Bug 42739
Compiler crash in ajc head (post 1.1.1 rc1)
|
| |
|
|
|
|
| |
percflow aspects compiled from jars share one instance for all entry points
|
|
|
|
| |
in AdviceActionDelegate). Fixed ASM/AJDT modifiers bug. Fixed ASM static initializers bug (we may want to change the way they show up, i.e. Added imports to ASM containment hierarchy. Fixed numerous AJBrwoser, JBuilder and NetBeans bugs.
|
| |
|
|
|
|
| |
clearing policy.
|
|
|
|
| |
order to support adding and removing relationships at any point in the compilation cycle, and to support external tools building relationships (e.g. JDT's incremental containment hierarchy builder). Also made inter-type declaration relationships show up in the model.
|
|
|
|
| |
Renamed model container class.
|
|
|
|
| |
output, and port of AJDT to new ASM APIs.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
interfaces". Containment hierarchy is done and tests added. Relationships are not done yet. All clients except AJDT ported. More UI porting in Swing clients required.
|