]> source.dussan.org Git - aspectj.git/log
aspectj.git
19 years agotest cases for all examples in the new generics chapter of the ajdk
acolyer [Wed, 17 Aug 2005 08:37:11 +0000 (08:37 +0000)]
test cases for all examples in the new generics chapter of the ajdk

19 years agotest case for user list reported problem with annotations on an intermediate type...
acolyer [Wed, 17 Aug 2005 08:36:47 +0000 (08:36 +0000)]
test case for user list reported problem with annotations on an intermediate type in a hierarchy

19 years agofix for bug 98952: @AJ if pointcut
acolyer [Wed, 17 Aug 2005 08:36:18 +0000 (08:36 +0000)]
fix for bug 98952: @AJ if pointcut

19 years agore-enabling tests with @AJ processing in ajc since these now pass.
acolyer [Wed, 17 Aug 2005 08:35:38 +0000 (08:35 +0000)]
re-enabling tests with @AJ processing in ajc since these now pass.

19 years ago@AJ PTW polish as per aj$getInstance does not rethrow the exc but return null #92880
avasseur [Wed, 17 Aug 2005 07:39:47 +0000 (07:39 +0000)]
@AJ PTW polish as per aj$getInstance does not rethrow the exc but return null #92880

19 years agofix for Bugzilla Bug 107059
acolyer [Tue, 16 Aug 2005 09:29:35 +0000 (09:29 +0000)]
fix for Bugzilla Bug 107059
   parser crashes on call(void (@a *)(..)

19 years agoimplementation of parameterize with for EllipsisTypePattern
acolyer [Tue, 16 Aug 2005 09:28:57 +0000 (09:28 +0000)]
implementation of parameterize with for EllipsisTypePattern

19 years agoimplementation of parameterize with
acolyer [Tue, 16 Aug 2005 09:28:24 +0000 (09:28 +0000)]
implementation of parameterize with

19 years agoadded isAny() to enable easy testing for full wildcard
acolyer [Tue, 16 Aug 2005 09:28:07 +0000 (09:28 +0000)]
added isAny() to enable easy testing for full wildcard

19 years agotest for declare soft with type vars
acolyer [Tue, 16 Aug 2005 09:27:37 +0000 (09:27 +0000)]
test for declare soft with type vars

19 years agotests for pr106130 and pr107059
acolyer [Tue, 16 Aug 2005 09:27:21 +0000 (09:27 +0000)]
tests for pr106130 and pr107059

19 years agoajc-test drivers for 106130, 107059, and declare soft in generic aspect
acolyer [Tue, 16 Aug 2005 09:26:57 +0000 (09:26 +0000)]
ajc-test drivers for 106130, 107059, and declare soft in generic aspect

19 years agotest for declare soft in a generic aspect when using type vars
acolyer [Tue, 16 Aug 2005 09:26:05 +0000 (09:26 +0000)]
test for declare soft in a generic aspect when using type vars

19 years agotests for pr106130
acolyer [Tue, 16 Aug 2005 09:25:45 +0000 (09:25 +0000)]
tests for pr106130

19 years agotest for Bugzilla Bug 107059
acolyer [Tue, 16 Aug 2005 09:25:20 +0000 (09:25 +0000)]
test for Bugzilla Bug 107059
   parser crashes on call(void (@a *)(..)

19 years agoupdated message text...
acolyer [Tue, 16 Aug 2005 08:47:05 +0000 (08:47 +0000)]
updated message text...

19 years agoremoved 1.3 testing temporarily to keep build happy?
aclement [Tue, 16 Aug 2005 07:33:56 +0000 (07:33 +0000)]
removed 1.3 testing temporarily to keep build happy?

19 years agofix for 98952 : @AJ if pointcut
acolyer [Mon, 15 Aug 2005 16:54:37 +0000 (16:54 +0000)]
fix for 98952 : @AJ if pointcut

19 years agodebug?
aclement [Mon, 15 Aug 2005 16:32:14 +0000 (16:32 +0000)]
debug?

19 years agoupdated to push on genericIdentifiersLength stack rather than just move the stack...
acolyer [Mon, 15 Aug 2005 14:56:04 +0000 (14:56 +0000)]
updated to push on genericIdentifiersLength stack rather than just move the stack pointer.

19 years agoFix for pr92880: I've removed the exception clause from the declaration of ajc$getIns...
aclement [Mon, 15 Aug 2005 13:56:59 +0000 (13:56 +0000)]
Fix for pr92880: I've removed the exception clause from the declaration of ajc$getInstance() and modified the internals to return null if an exception occurs rather than rethrowing it.  I've only changed the code gen in the compiler layer, not in the weaver layer.  (interestingly with only my compiler layer change, no tests fail...)

19 years agoupdated parsing of type parameters in OnType of ITDs
acolyer [Mon, 15 Aug 2005 13:56:07 +0000 (13:56 +0000)]
updated parsing of type parameters in OnType of ITDs

19 years agogenericitds: more method/ctor ITDs that use their target types generic type variables...
aclement [Mon, 15 Aug 2005 09:27:16 +0000 (09:27 +0000)]
genericitds: more method/ctor ITDs that use their target types generic type variables. plus some basic generic aspects that combine the building blocks

19 years agogenericitds: more method/ctor ITDs that use their target types generic type variables.
aclement [Sun, 14 Aug 2005 17:13:23 +0000 (17:13 +0000)]
genericitds: more method/ctor ITDs that use their target types generic type variables.

19 years agogenericitds: more combinations...
aclement [Sat, 13 Aug 2005 15:41:23 +0000 (15:41 +0000)]
genericitds: more combinations...

19 years agogenericitds: method ITDs that use their target types generic type variables.
aclement [Fri, 12 Aug 2005 16:47:10 +0000 (16:47 +0000)]
genericitds: method ITDs that use their target types generic type variables.

19 years agofor one little change, this sure was a hell of a lot of work to track down. Fixes...
acolyer [Fri, 12 Aug 2005 16:00:00 +0000 (16:00 +0000)]
for one little change, this sure was a hell of a lot of work to track down. Fixes bug pr106130 where methods using iinc instructions with > 255 local vars were failing to generate wide versions of iinc instruction correctly.  Only change in the jar is to IINC class.

19 years agofor one little change, this sure was a hell of a lot of work to track down. Fixes...
acolyer [Fri, 12 Aug 2005 15:58:50 +0000 (15:58 +0000)]
for one little change, this sure was a hell of a lot of work to track down. Fixes bug pr106130 where methods using iinc instructions with > 255 local vars were failing to generate wide versions of iinc instruction correctly.

19 years ago-Xlint:xxx and -Xlintfile:xxx in aop.xml
avasseur [Fri, 12 Aug 2005 13:38:51 +0000 (13:38 +0000)]
-Xlint:xxx and -Xlintfile:xxx in aop.xml

19 years agotest cases for generic aspects can now be included in main suite
acolyer [Fri, 12 Aug 2005 11:44:25 +0000 (11:44 +0000)]
test cases for generic aspects can now be included in main suite

19 years agotest case and fix for (.....)+ type pattern parsing
acolyer [Fri, 12 Aug 2005 11:43:38 +0000 (11:43 +0000)]
test case and fix for (.....)+ type pattern parsing

19 years agogenericitds: field type mungers now understand a map from type variable names to...
aclement [Fri, 12 Aug 2005 11:02:56 +0000 (11:02 +0000)]
genericitds: field type mungers now understand a map from type variable names to positions (for generic itds).  Some changes to assignable rules to support the new possibilities.

19 years agogenericitds: when the compiler asks for a member that is in fact from an ITD on a...
aclement [Fri, 12 Aug 2005 11:01:44 +0000 (11:01 +0000)]
genericitds: when the compiler asks for a member that is in fact from an ITD on a generic type, we fix up the field and return it parameterized for the particular type.

19 years agogenericitds: loads of checks added for when specifying a generic target type for...
aclement [Fri, 12 Aug 2005 11:00:13 +0000 (11:00 +0000)]
genericitds: loads of checks added for when specifying a generic target type for an ITD.  Also builds the map from the names used in the ITD to the positions of the type variables in the generic type.

19 years agogenericitds: tells the member finder to remember the munger so it can correctly repla...
aclement [Fri, 12 Aug 2005 10:59:11 +0000 (10:59 +0000)]
genericitds: tells the member finder to remember the munger so it can correctly replace type variable refs for a target type.

19 years agogenericitds: dont lookup those type variables ...
aclement [Fri, 12 Aug 2005 10:58:37 +0000 (10:58 +0000)]
genericitds: dont lookup those type variables ...

19 years agogenericitds: on first construction of the ITD, it builds some 'placeholder' type...
aclement [Fri, 12 Aug 2005 10:57:38 +0000 (10:57 +0000)]
genericitds: on first construction of the ITD, it builds some 'placeholder' type parameters to keep the eclipse compiler happy, these will be replaced later by the InterTypeMemberFinder when the compiler asks for the field (if anyone uses it...)

19 years agogenericitds: Using target type variables in your ITD field declarations.
aclement [Fri, 12 Aug 2005 10:18:33 +0000 (10:18 +0000)]
genericitds: Using target type variables in your ITD field declarations.

19 years agogenericitds: fields using target types tvars: New parameterization class that wraps...
aclement [Fri, 12 Aug 2005 10:15:30 +0000 (10:15 +0000)]
genericitds: fields using target types tvars: New parameterization class that wraps an intertype field binding, like the one that wraps a normal field binding

19 years agoanother case of ArrayStoreException - a bug that Java generics would actually have...
acolyer [Fri, 12 Aug 2005 10:10:03 +0000 (10:10 +0000)]
another case of ArrayStoreException - a bug that Java generics would actually have prevented.

19 years agogenericitds: Using target type variables in your ITD field declarations.
aclement [Fri, 12 Aug 2005 10:08:09 +0000 (10:08 +0000)]
genericitds: Using target type variables in your ITD field declarations.

19 years agogenericitds: Using target type variables in your ITD field declarations.
aclement [Fri, 12 Aug 2005 08:28:21 +0000 (08:28 +0000)]
genericitds: Using target type variables in your ITD field declarations.

19 years agopatch from David Knibb (IBM) to make test more resilient to JVM differences in toStri...
acolyer [Fri, 12 Aug 2005 07:44:14 +0000 (07:44 +0000)]
patch from David Knibb (IBM) to make test more resilient to JVM differences in toString() implementation on annotations

19 years agoremove dependency on 1.5 API and bizarre unwanted import
acolyer [Fri, 12 Aug 2005 07:36:41 +0000 (07:36 +0000)]
remove dependency on 1.5 API and bizarre unwanted import

19 years agogeneric aspect testcases - woohoo!
acolyer [Thu, 11 Aug 2005 15:30:37 +0000 (15:30 +0000)]
generic aspect testcases - woohoo!

19 years agoinitial "parameterizeWith" support for declares
acolyer [Thu, 11 Aug 2005 15:30:19 +0000 (15:30 +0000)]
initial "parameterizeWith" support for declares

19 years agoearly "parameterizeWith" support for type patterns
acolyer [Thu, 11 Aug 2005 15:29:56 +0000 (15:29 +0000)]
early "parameterizeWith" support for type patterns

19 years agoearly "parameterizeWith" support for pointcuts
acolyer [Thu, 11 Aug 2005 15:29:35 +0000 (15:29 +0000)]
early "parameterizeWith" support for pointcuts

19 years agoproper handling of type variable signatures ("Txxx;")
acolyer [Thu, 11 Aug 2005 14:59:50 +0000 (14:59 +0000)]
proper handling of type variable signatures ("Txxx;")

19 years agoonly collect declares from concrete aspects
acolyer [Thu, 11 Aug 2005 14:59:14 +0000 (14:59 +0000)]
only collect declares from concrete aspects

19 years agoimplementation of parameterizeWith
acolyer [Thu, 11 Aug 2005 14:58:38 +0000 (14:58 +0000)]
implementation of parameterizeWith

19 years agodeclares from a parameterized super-aspect are now parameterized before returning...
acolyer [Thu, 11 Aug 2005 14:58:10 +0000 (14:58 +0000)]
declares from a parameterized super-aspect are now parameterized before returning to caller

19 years agofixed completely broken implementation of findAspectDeclaringParents and made sure...
acolyer [Thu, 11 Aug 2005 14:57:28 +0000 (14:57 +0000)]
fixed completely broken implementation of findAspectDeclaringParents and made sure that no declares can end up in the list of declares known to the world twice (this needed because declares are now added from concrete aspects so two concrete sub-aspects of the same abstract aspect will both pick up the same super declare)

19 years agoa declare parents in an abstract aspect has no effect unless at least one concrete...
acolyer [Thu, 11 Aug 2005 14:54:52 +0000 (14:54 +0000)]
a declare parents in an abstract aspect has no effect unless at least one concrete sub-aspect exists in the world

19 years agoforgot to add that one in my last commit
avasseur [Thu, 11 Aug 2005 11:02:08 +0000 (11:02 +0000)]
forgot to add that one in my last commit

19 years agoupdated to test for non-parameterized super aspect
acolyer [Thu, 11 Aug 2005 10:40:28 +0000 (10:40 +0000)]
updated to test for non-parameterized super aspect

19 years agowhen unpacking the generic signature of a nested type, we also need to take into...
acolyer [Thu, 11 Aug 2005 10:39:30 +0000 (10:39 +0000)]
when unpacking the generic signature of a nested type, we also need to take into account formal type parameters declared on the outer type.

19 years agouse $ not / to separate nested types in signatures
acolyer [Thu, 11 Aug 2005 10:38:59 +0000 (10:38 +0000)]
use $ not / to separate nested types in signatures

19 years agotest case for pr106634 :
acolyer [Thu, 11 Aug 2005 10:38:15 +0000 (10:38 +0000)]
test case for pr106634 :
  regression: argument causes BcelGenericSignatureToTypeXConverter.java:203

19 years agocheck that only abstract aspects can have type parameters, and that a generic super...
acolyer [Thu, 11 Aug 2005 10:37:26 +0000 (10:37 +0000)]
check that only abstract aspects can have type parameters, and that a generic super-aspect is fully parameterized in an extends clause.

19 years agoincludes fix in GenericSignatureParser to handle nested types properly.
acolyer [Thu, 11 Aug 2005 10:36:32 +0000 (10:36 +0000)]
includes fix in GenericSignatureParser to handle nested types properly.

19 years agoremoved hard-coded date of July 5th
acolyer [Thu, 11 Aug 2005 10:35:41 +0000 (10:35 +0000)]
removed hard-coded date of July 5th

19 years agoremoved import of non-existing file
acolyer [Thu, 11 Aug 2005 10:35:20 +0000 (10:35 +0000)]
removed import of non-existing file

19 years agofixed bug whereby we were adding a String into an array of Signature objects
acolyer [Thu, 11 Aug 2005 10:35:01 +0000 (10:35 +0000)]
fixed bug whereby we were adding a String into an array of Signature objects

19 years agoadd test for proxy weaving and jit class weaving, update ltw doc
avasseur [Thu, 11 Aug 2005 09:22:07 +0000 (09:22 +0000)]
add test for proxy weaving and jit class weaving, update ltw doc

19 years agotests and fix for bug pr106461:
acolyer [Wed, 10 Aug 2005 11:49:34 +0000 (11:49 +0000)]
tests and fix for bug pr106461:
 "org.aspectj.weaver.patterns.WildTypePattern.maybeGetCleanName(WildTypePattern.java:500)"

19 years agosupport for binding of parameterized types in after returning().
acolyer [Wed, 10 Aug 2005 08:39:35 +0000 (08:39 +0000)]
support for binding of parameterized types in after returning().

19 years agotest cases for after throwing and after returning with generic and parameterized...
acolyer [Wed, 10 Aug 2005 08:39:08 +0000 (08:39 +0000)]
test cases for after throwing and after returning with generic and parameterized types.

19 years agoensure that the generic signature information for advice is retained
acolyer [Wed, 10 Aug 2005 08:38:32 +0000 (08:38 +0000)]
ensure that the generic signature information for advice is retained

19 years agotests for args - this completes the implementation of generic and parameterized type...
acolyer [Tue, 9 Aug 2005 13:04:57 +0000 (13:04 +0000)]
tests for args - this completes the implementation of generic and parameterized type matching for ALL pointcuts in AspectJ 5. yay.

19 years agonow handles resolving of generic wildcards in type patterns
acolyer [Tue, 9 Aug 2005 13:04:18 +0000 (13:04 +0000)]
now handles resolving of generic wildcards in type patterns

19 years agomake sure that "all exact" testing takes into account subtype flags
acolyer [Tue, 9 Aug 2005 13:03:49 +0000 (13:03 +0000)]
make sure that "all exact" testing takes into account subtype flags

19 years ago>> and >>> are lexed as tokens by the JDT parser. We always want >,> and >,>,> -...
acolyer [Tue, 9 Aug 2005 13:03:22 +0000 (13:03 +0000)]
>> and >>> are lexed as tokens by the JDT parser. We always want >,> and >,>,> - yuck.

19 years agoensure we don't try and insert an instanceof test for a parameterized type
acolyer [Tue, 9 Aug 2005 13:02:45 +0000 (13:02 +0000)]
ensure we don't try and insert an instanceof test for a parameterized type

19 years agoI only changed a comment, honestly, I only changed a comment....
acolyer [Tue, 9 Aug 2005 13:02:11 +0000 (13:02 +0000)]
I only changed a comment, honestly, I only changed a comment....

19 years agoargs fully updated for generics and parameterized types
acolyer [Tue, 9 Aug 2005 13:01:44 +0000 (13:01 +0000)]
args fully updated for generics and parameterized types

19 years agodon't try and make BcelObjectTypes for parameterized types
acolyer [Tue, 9 Aug 2005 13:00:38 +0000 (13:00 +0000)]
don't try and make BcelObjectTypes for parameterized types

19 years agoresolved members never belong to raw types, but the backing generic type
acolyer [Tue, 9 Aug 2005 12:59:55 +0000 (12:59 +0000)]
resolved members never belong to raw types, but the backing generic type

19 years agoadded getSimpleName which looks better when used in error and warning messages
acolyer [Tue, 9 Aug 2005 12:59:26 +0000 (12:59 +0000)]
added getSimpleName which looks better when used in error and warning messages

19 years agoa type variable reference type should never be treated as a generic wildcard
acolyer [Tue, 9 Aug 2005 12:58:59 +0000 (12:58 +0000)]
a type variable reference type should never be treated as a generic wildcard

19 years agoa shadow now remembers the resolved version of its signature
acolyer [Tue, 9 Aug 2005 12:58:31 +0000 (12:58 +0000)]
a shadow now remembers the resolved version of its signature

19 years agosupport for coercion testing with parameterized types
acolyer [Tue, 9 Aug 2005 12:57:56 +0000 (12:57 +0000)]
support for coercion testing with parameterized types

19 years agoadded unchecked match warning
acolyer [Tue, 9 Aug 2005 12:57:09 +0000 (12:57 +0000)]
added unchecked match warning

19 years agoadded toGenericString
acolyer [Tue, 9 Aug 2005 12:56:54 +0000 (12:56 +0000)]
added toGenericString

19 years agosupport for coercion testing
acolyer [Tue, 9 Aug 2005 12:56:40 +0000 (12:56 +0000)]
support for coercion testing

19 years agonew tests cases for args with generics and generic methods in general
acolyer [Tue, 9 Aug 2005 12:56:00 +0000 (12:56 +0000)]
new tests cases for args with generics and generic methods in general

19 years agogenericitds: 2 big changes here: I've modifed the super/extends stuff so its only...
aclement [Tue, 9 Aug 2005 10:19:41 +0000 (10:19 +0000)]
genericitds:  2 big changes here:  I've modifed the super/extends stuff so its only in one place (UnresolvedType) - making it available through the type hierarchy.  I've modified the TypeMap in the World to avoid putting entries in the type map which might confuse us later.  This fix stops us putting parameterized types that are parameterized by type variables from a generic member into the typemap, since we may look them up later for another member that happened to use the same variable name but had different bounds specified.  I'm sure its not perfect yet, but it is definetly improved.  things like Enum<E> still go in the typemap since E is not a generic member type variable.

19 years agoGenericAspects: from AJDK
aclement [Tue, 9 Aug 2005 10:08:07 +0000 (10:08 +0000)]
GenericAspects: from AJDK

19 years agothis version is built with -1.3 ;)
acolyer [Tue, 9 Aug 2005 08:38:51 +0000 (08:38 +0000)]
this version is built with -1.3 ;)

19 years agosome updates to make this sort-of-compile
acolyer [Mon, 8 Aug 2005 15:57:29 +0000 (15:57 +0000)]
some updates to make this sort-of-compile

19 years agoupdated rules that allow ITDs on generic types using type parameters
acolyer [Mon, 8 Aug 2005 15:54:47 +0000 (15:54 +0000)]
updated rules that allow ITDs on generic types using type parameters

19 years agogenericitds: reusing similar specifications for type variables in the same aspect...
aclement [Mon, 8 Aug 2005 15:18:46 +0000 (15:18 +0000)]
genericitds: reusing similar specifications for type variables in the same aspect 'Comparable<? super T/P>'.  If our logic isnt working correctly, it reports a problem with calls to the second ITD thinking it is specified as '<P extends Object & Comparable<? super T>>'

19 years agogenericitds: test programs for ITDs targetting the different kinds of type.
aclement [Mon, 8 Aug 2005 15:16:15 +0000 (15:16 +0000)]
genericitds: test programs for ITDs targetting the different kinds of type.

19 years agoFix for pr98901: copying annotations to new members created via ITD !!
aclement [Mon, 8 Aug 2005 09:54:54 +0000 (09:54 +0000)]
Fix for pr98901: copying annotations to new members created via ITD !!

19 years agogenericitds:
aclement [Mon, 8 Aug 2005 09:06:58 +0000 (09:06 +0000)]
genericitds:

19 years agogeneric itds:
aclement [Mon, 8 Aug 2005 08:37:08 +0000 (08:37 +0000)]
generic itds:

19 years agogenericitds: sharing type variables with generic type - parsing test
aclement [Mon, 8 Aug 2005 08:36:05 +0000 (08:36 +0000)]
genericitds: sharing type variables with generic type - parsing test

19 years agogenericitds: test programs
aclement [Mon, 8 Aug 2005 08:33:09 +0000 (08:33 +0000)]
genericitds: test programs

19 years agotests and implementation for calls to bridge methods. This completes the implementati...
acolyer [Fri, 5 Aug 2005 10:19:23 +0000 (10:19 +0000)]
tests and implementation for calls to bridge methods. This completes the implementation of the call pointcut for generic and parameterized types.

19 years agotests and fix for call pointcut matching with various generic and parameterized types
acolyer [Fri, 5 Aug 2005 08:59:15 +0000 (08:59 +0000)]
tests and fix for call pointcut matching with various generic and parameterized types