]> source.dussan.org Git - aspectj.git/log
aspectj.git
19 years agoremoved erroneous "s" from method name
acolyer [Sat, 23 Jul 2005 07:08:10 +0000 (07:08 +0000)]
removed erroneous "s" from method name

19 years agoadded extra utility method for warnings
acolyer [Sat, 23 Jul 2005 07:07:16 +0000 (07:07 +0000)]
added extra utility method for warnings

19 years agoupdate to expected messages for type pattern matching with generics
acolyer [Fri, 22 Jul 2005 15:38:36 +0000 (15:38 +0000)]
update to expected messages for type pattern matching with generics

19 years agoannotated lines that should produce compilation warnings
acolyer [Fri, 22 Jul 2005 15:38:00 +0000 (15:38 +0000)]
annotated lines that should produce compilation warnings

19 years agoalso support superinterfaces when converting an Eclipse TypeParameter into a TypeVariable
acolyer [Fri, 22 Jul 2005 15:37:06 +0000 (15:37 +0000)]
also support superinterfaces when converting an Eclipse TypeParameter into a TypeVariable

19 years agoimproved matching in canBeBoundTo to consider equality of all bounds when testing...
acolyer [Fri, 22 Jul 2005 15:36:32 +0000 (15:36 +0000)]
improved matching in canBeBoundTo to consider equality of all bounds when testing against a type variable reference

19 years agoremember source location when faulting in generic type
acolyer [Fri, 22 Jul 2005 15:35:54 +0000 (15:35 +0000)]
remember source location when faulting in generic type

19 years agochanged the serialized form of a WildTypePattern to remember generic info... standby...
acolyer [Fri, 22 Jul 2005 15:34:14 +0000 (15:34 +0000)]
changed the serialized form of a WildTypePattern to remember generic info... standby for mass updates of binary comparison tests.

19 years agofix #104212 very bad bug on static method call jp that has been around since java...
avasseur [Fri, 22 Jul 2005 14:57:40 +0000 (14:57 +0000)]
fix #104212 very bad bug on static method call jp that has been around since java 1.4 is there

19 years agoproper support for type variable across patterns in the Eclipse Source Type world...
acolyer [Thu, 21 Jul 2005 13:27:37 +0000 (13:27 +0000)]
proper support for type variable across patterns in the Eclipse Source Type world. Still need serialization support for this.

19 years agonew warnings for generics in patterns
acolyer [Thu, 21 Jul 2005 13:26:28 +0000 (13:26 +0000)]
new warnings for generics in patterns

19 years agochange from isTypeVariable to isTypeVariableReference
acolyer [Thu, 21 Jul 2005 13:26:10 +0000 (13:26 +0000)]
change from isTypeVariable to isTypeVariableReference

19 years agomore tests and refinement of existing tests
acolyer [Thu, 21 Jul 2005 13:25:36 +0000 (13:25 +0000)]
more tests and refinement of existing tests

19 years agofixes bug in test case caught by improved error messages in compiler
acolyer [Thu, 21 Jul 2005 13:25:14 +0000 (13:25 +0000)]
fixes bug in test case caught by improved error messages in compiler

19 years agodont go looking for generic types pre 1.5
aclement [Thu, 21 Jul 2005 10:13:00 +0000 (10:13 +0000)]
dont go looking for generic types pre 1.5

19 years agogenerics: fixes for decp testcases involving generic types targeted by parameterized...
aclement [Thu, 21 Jul 2005 10:01:29 +0000 (10:01 +0000)]
generics:  fixes for decp testcases involving generic types targeted by parameterized decps.  Type variables now persist in the system for longer... also LazyClassGen generates correct generic signatures for modified types.

19 years agotidy up after a run...
aclement [Thu, 21 Jul 2005 08:25:23 +0000 (08:25 +0000)]
tidy up after a run...

19 years agofix in ltw log + test + some doc on custom message handler is evil
avasseur [Thu, 21 Jul 2005 08:13:24 +0000 (08:13 +0000)]
fix in ltw log + test + some doc on custom message handler is evil

19 years agoone more passing test...
acolyer [Wed, 20 Jul 2005 16:18:53 +0000 (16:18 +0000)]
one more passing test...

19 years agowild type patterns with no type params ignore <...> when matching by name (raw match)
acolyer [Wed, 20 Jul 2005 16:18:21 +0000 (16:18 +0000)]
wild type patterns with no type params ignore <...> when matching by name (raw match)

19 years agohandle superinterfaces correctly for raw types
acolyer [Wed, 20 Jul 2005 16:17:52 +0000 (16:17 +0000)]
handle superinterfaces correctly for raw types

19 years agogenerics: testcase for decp'ing parameterized type onto a generic type that implement...
aclement [Wed, 20 Jul 2005 16:07:25 +0000 (16:07 +0000)]
generics: testcase for decp'ing parameterized type onto a generic type that implements a parameterized type using a type variable type parameter ;)

19 years agocommented out debug line...
aclement [Wed, 20 Jul 2005 16:02:45 +0000 (16:02 +0000)]
commented out debug line...

19 years agoensure that when parameterizing a member, we handle any types that are themselves...
acolyer [Wed, 20 Jul 2005 12:35:59 +0000 (12:35 +0000)]
ensure that when parameterizing a member, we handle any types that are themselves parameterized (eg. a return type List<N> should turn to List<String> when parameterized with String).

19 years agochanges to construction and representation of parameterized types, and enforcement...
acolyer [Wed, 20 Jul 2005 11:11:29 +0000 (11:11 +0000)]
changes to construction and representation of parameterized types, and enforcement of the constraint that type mungers always operate on the generic type (never raw or parameterized)

19 years agoorganized imports - wanted to trigger a build :)
aclement [Tue, 19 Jul 2005 07:08:32 +0000 (07:08 +0000)]
organized imports - wanted to trigger a build :)

19 years agoltw reweavable test for Mattew bug, fix some wrong getCoreType that makes some stderr...
avasseur [Mon, 18 Jul 2005 14:58:41 +0000 (14:58 +0000)]
ltw reweavable test for Mattew bug, fix some wrong getCoreType that makes some stderr output when closure are encountered on ltw / dump

19 years agofix LTW for JMX stuff, rename messageHolder, some doc on that + dump
avasseur [Mon, 18 Jul 2005 11:23:32 +0000 (11:23 +0000)]
fix LTW for JMX stuff, rename messageHolder, some doc on that + dump

19 years agomethod name in weaver refactored.
aclement [Mon, 18 Jul 2005 09:45:21 +0000 (09:45 +0000)]
method name in weaver refactored.

19 years agoMore bits of fix for pr98901 (annotation copying)
aclement [Mon, 18 Jul 2005 09:36:00 +0000 (09:36 +0000)]
More bits of fix for pr98901 (annotation copying)

19 years ago@DeclareAnnotation and guard to not use it in M3, doc update for M3
avasseur [Mon, 18 Jul 2005 09:26:20 +0000 (09:26 +0000)]
@DeclareAnnotation and guard to not use it in M3, doc update for M3

19 years agoFirst bits of fix for pr98901 (annotation copying)
aclement [Mon, 18 Jul 2005 08:44:04 +0000 (08:44 +0000)]
First bits of fix for pr98901 (annotation copying)

19 years agotestcases for pr98901 (annotations copied to targets of decannotation). Not yet...
aclement [Mon, 18 Jul 2005 08:34:11 +0000 (08:34 +0000)]
testcases for pr98901 (annotations copied to targets of decannotation).  Not yet wired into the full 150 suite.

19 years agoFix for pr103266: allow for nulls in the visitor (can happen if there are syntax...
aclement [Mon, 18 Jul 2005 08:27:44 +0000 (08:27 +0000)]
Fix for pr103266: allow for nulls in the visitor (can happen if there are syntax errors)

19 years agomoves forGenericType from UnresolvedType to ResolvedType. Return value still needs...
acolyer [Fri, 15 Jul 2005 18:12:53 +0000 (18:12 +0000)]
moves forGenericType from UnresolvedType to ResolvedType. Return value still needs changing... one step at a time!

19 years agomakes fromBinding in EclipseFactory an instance rather than static method. This paves...
acolyer [Fri, 15 Jul 2005 18:11:34 +0000 (18:11 +0000)]
makes fromBinding in EclipseFactory an instance rather than static method. This paves the way for fromBinding to return a ResolvedType (which needs the world that the instance contains) rather than an UnresolvedType.

19 years agoThis is the beginning of a significant refactoring needed to cleanly support generics...
acolyer [Fri, 15 Jul 2005 16:09:02 +0000 (16:09 +0000)]
This is the beginning of a significant refactoring needed to cleanly support generics. We need to be much crisper about when we have an unresolved type (plain old TypeX) and when we have a resolved type. This refactoring renames TypeX to UnresolvedType and ResolvedTypeX to ResolvedType. In addition, it moves a number of methods that were defined on TypeX but which can only be answered by resolved types down onto ResolvedType. At the moment, ResolvedType still extends UnresolvedType - but a ResolvedType is *not* a UnresolvedType and this inheritance of convenience will be broken down the line so that ResolvedType does not extend UnresolvedType. Full signature information can only be known for ResolvedTypes.

19 years agojust comments (honest ;) ) describing the format of signatures for TypeXs.
acolyer [Thu, 14 Jul 2005 15:59:16 +0000 (15:59 +0000)]
just comments (honest ;) ) describing the format of signatures for TypeXs.

19 years agoorganized imports PRE_ANDY
aclement [Wed, 13 Jul 2005 15:33:33 +0000 (15:33 +0000)]
organized imports

19 years agobeginnings of support for matching against type variables
acolyer [Wed, 13 Jul 2005 13:04:31 +0000 (13:04 +0000)]
beginnings of support for matching against type variables

19 years agoavoid losing type variable information when resolving bindings
acolyer [Wed, 13 Jul 2005 13:04:03 +0000 (13:04 +0000)]
avoid losing type variable information when resolving bindings

19 years agonow remembers its location for better error reporting
acolyer [Wed, 13 Jul 2005 13:03:35 +0000 (13:03 +0000)]
now remembers its location for better error reporting

19 years agotest case updates...
acolyer [Wed, 13 Jul 2005 13:02:54 +0000 (13:02 +0000)]
test case updates...

19 years agobetter error reporting when using type vars in inappropriate locations
acolyer [Wed, 13 Jul 2005 13:02:35 +0000 (13:02 +0000)]
better error reporting when using type vars in inappropriate locations

19 years agoadded an additional message operation to tidy up weaver code
acolyer [Wed, 13 Jul 2005 13:02:06 +0000 (13:02 +0000)]
added an additional message operation to tidy up weaver code

19 years agotest for parameterized type usage
acolyer [Wed, 13 Jul 2005 13:01:37 +0000 (13:01 +0000)]
test for parameterized type usage

19 years agonew message "a parameterized type pattern may not be used in a handler pointcut expre...
acolyer [Wed, 13 Jul 2005 13:00:59 +0000 (13:00 +0000)]
new message "a parameterized type pattern may not be used in a handler pointcut expression"

19 years agosometimes we get asked to resolve more than once, and that's ok...
acolyer [Wed, 13 Jul 2005 13:00:08 +0000 (13:00 +0000)]
sometimes we get asked to resolve more than once, and that's ok...

19 years agomore test cases covering generics in pointcut expressions
acolyer [Wed, 13 Jul 2005 12:59:45 +0000 (12:59 +0000)]
more test cases covering generics in pointcut expressions

19 years agodon't re-resolve already resolved types
acolyer [Wed, 13 Jul 2005 10:13:38 +0000 (10:13 +0000)]
don't re-resolve already resolved types

19 years agoteach a typex whether or not it represents a type variable
acolyer [Wed, 13 Jul 2005 10:13:10 +0000 (10:13 +0000)]
teach a typex whether or not it represents a type variable

19 years agoorganized imports
aclement [Wed, 13 Jul 2005 08:40:51 +0000 (08:40 +0000)]
organized imports

19 years agoAnt 1.6 antlib.xml support, per bug 103493
wisberg [Tue, 12 Jul 2005 21:00:30 +0000 (21:00 +0000)]
Ant 1.6 antlib.xml support, per bug 103493

19 years agohandles resolution of bindings when the pointcut uses type variables
acolyer [Tue, 12 Jul 2005 14:24:51 +0000 (14:24 +0000)]
handles resolution of bindings when the pointcut uses type variables

19 years agoa pointcut now has a simple list of type variable names in scope rather than a TypeVa...
acolyer [Tue, 12 Jul 2005 14:24:13 +0000 (14:24 +0000)]
a pointcut now has a simple list of type variable names in scope rather than a TypeVariableListPattern

19 years agotest that a signature with a generic declaring type does not match on the erasure...
acolyer [Tue, 12 Jul 2005 14:23:35 +0000 (14:23 +0000)]
test that a signature with a generic declaring type does not match on the erasure of the parameter types

19 years agoorganized imports
aclement [Tue, 12 Jul 2005 13:59:06 +0000 (13:59 +0000)]
organized imports

19 years agogenerics: new error messages.
aclement [Tue, 12 Jul 2005 13:58:17 +0000 (13:58 +0000)]
generics: new error messages.

19 years agoI needed to make some changes to resolveBindings, but the original method had degener...
acolyer [Tue, 12 Jul 2005 13:19:22 +0000 (13:19 +0000)]
I needed to make some changes to resolveBindings, but the original method had degenerated into such a mess that I've refactored it before continuing. This commit changes no functionality, it just makes the code more readable!

19 years agoparameterized members remember their erasure and this is used in member matching...
acolyer [Tue, 12 Jul 2005 11:09:22 +0000 (11:09 +0000)]
parameterized members remember their erasure and this is used in member matching so that a signature pattern based on the erasure of a signature can match parameterized member declarations.

19 years agotest that a the erasure of a signature matches a parameterized implementation of...
acolyer [Tue, 12 Jul 2005 11:08:09 +0000 (11:08 +0000)]
test that a the erasure of a signature matches a parameterized implementation of a method

19 years agotests for Huff's fix for 102746 - not hooked up b/c harness manages classpath.
wisberg [Mon, 11 Jul 2005 23:52:53 +0000 (23:52 +0000)]
tests for Huff's fix for 102746 - not hooked up b/c harness manages classpath.

19 years agoVariant of Huff's fix for 102746 - untested hypothesis
wisberg [Mon, 11 Jul 2005 23:51:52 +0000 (23:51 +0000)]
Variant of Huff's fix for 102746 - untested hypothesis

19 years ago99861 temp fix for deadlock when Sun' Unsafe.defineClass API is used (deadlock in...
avasseur [Mon, 11 Jul 2005 15:09:52 +0000 (15:09 +0000)]
99861 temp fix for deadlock when Sun' Unsafe.defineClass API is used (deadlock in JVMTI obviously, not tied to AJ, but bothers Ron)

19 years agofix 83935 where Jp / Pjp is an arg and bound in a formal binding as well as another...
avasseur [Mon, 11 Jul 2005 15:05:44 +0000 (15:05 +0000)]
fix 83935 where Jp / Pjp is an arg and bound in a formal binding as well as another (or 2+) used as implicit bindings in @AJ

19 years agoadd unresolved TypeVariableRefTypes which are created by EclipseFactory during conver...
acolyer [Mon, 11 Jul 2005 13:50:39 +0000 (13:50 +0000)]
add unresolved TypeVariableRefTypes which are created by EclipseFactory during conversion of bindings to TypeX, and resolved to TypeVariableReferenceTypes by the world.

19 years agoa simple type pattern for a generic type should match any parameterization of that...
acolyer [Mon, 11 Jul 2005 13:49:26 +0000 (13:49 +0000)]
a simple type pattern for a generic type should match any parameterization of that type

19 years agoadded one simple test for matching members of a parameterized type.
acolyer [Mon, 11 Jul 2005 13:48:57 +0000 (13:48 +0000)]
added one simple test for matching members of a parameterized type.
Took me 3 days to get it to pass!!!

19 years agochanged EclipseFactory.makeResolvedMember from static to non-static member and fully...
acolyer [Mon, 11 Jul 2005 13:48:13 +0000 (13:48 +0000)]
changed EclipseFactory.makeResolvedMember from static to non-static member and fully resolved all types involved.

19 years agogenerics: use raw type of iterator
aclement [Mon, 11 Jul 2005 10:53:01 +0000 (10:53 +0000)]
generics: use raw type of iterator

19 years agogenerics: modified to use built in types since otherwise world setup is painful.
aclement [Mon, 11 Jul 2005 10:52:46 +0000 (10:52 +0000)]
generics: modified to use built in types since otherwise world setup is painful.

19 years agogenerics: temporarily use the raw type when matching until the type pattern logic...
aclement [Mon, 11 Jul 2005 10:52:22 +0000 (10:52 +0000)]
generics: temporarily use the raw type when matching until the type pattern logic is aware

19 years agogenerics: polices the combinations of decp when using generics/raws/parameterized...
aclement [Mon, 11 Jul 2005 10:51:48 +0000 (10:51 +0000)]
generics: polices the combinations of decp when using generics/raws/parameterized types

19 years agogenerics: writes out correct class signature
aclement [Mon, 11 Jul 2005 10:51:20 +0000 (10:51 +0000)]
generics: writes out correct class signature

19 years agogenerics: improved type resolution, aware of raw/simple/parameterized/generic
aclement [Mon, 11 Jul 2005 10:51:05 +0000 (10:51 +0000)]
generics: improved type resolution, aware of raw/simple/parameterized/generic

19 years agogenerics: dont assume bcelmethod, it cant be resolvedmember
aclement [Mon, 11 Jul 2005 10:50:35 +0000 (10:50 +0000)]
generics: dont assume bcelmethod, it cant be resolvedmember

19 years agogenerics: signature unpacking.
aclement [Mon, 11 Jul 2005 10:50:15 +0000 (10:50 +0000)]
generics: signature unpacking.

19 years agogenerics: dont assume its a bcelmethod. When working with generic methods they are...
aclement [Mon, 11 Jul 2005 10:48:54 +0000 (10:48 +0000)]
generics: dont assume its a bcelmethod.  When working with generic methods they are merely 'resolvedmembers'

19 years agogenerics: now promotes simple types to raw types if we discover they are generic...
aclement [Mon, 11 Jul 2005 10:48:28 +0000 (10:48 +0000)]
generics: now promotes simple types to raw types if we discover they are generic during resolution.

19 years agogenerics: copes with '+' '-' in the signature, less than ideal...
aclement [Mon, 11 Jul 2005 10:47:42 +0000 (10:47 +0000)]
generics: copes with '+' '-' in the signature, less than ideal...

19 years agogenerics: allow for type variables that arrive in static methods and don't come from...
aclement [Mon, 11 Jul 2005 10:47:08 +0000 (10:47 +0000)]
generics: allow for type variables that arrive in static methods and don't come from the declaring type

19 years agogenerics: few bug fixes to ensure typex's know if they represent generics/raws or...
aclement [Mon, 11 Jul 2005 10:46:30 +0000 (10:46 +0000)]
generics: few bug fixes to ensure typex's know if they represent generics/raws or simples.

19 years agogenerics: lots of generic decp tests.
aclement [Mon, 11 Jul 2005 10:46:02 +0000 (10:46 +0000)]
generics: lots of generic decp tests.

19 years agogenerics: ask for the appropriate TypeX depending on the binding
aclement [Mon, 11 Jul 2005 10:45:27 +0000 (10:45 +0000)]
generics: ask for the appropriate TypeX depending on the binding

19 years agobut i only changed a comment...
acolyer [Mon, 11 Jul 2005 09:40:14 +0000 (09:40 +0000)]
but i only changed a comment...

19 years agofixes dumb array cast
acolyer [Mon, 11 Jul 2005 09:38:48 +0000 (09:38 +0000)]
fixes dumb array cast

19 years agoability to replace upper bound (used when fixing up circular dependencies)
acolyer [Mon, 11 Jul 2005 09:38:13 +0000 (09:38 +0000)]
ability to replace upper bound (used when fixing up circular dependencies)

19 years agotest case for Enum conversions
acolyer [Mon, 11 Jul 2005 09:37:21 +0000 (09:37 +0000)]
test case for Enum conversions

19 years agoanswer correct superclass and superinterfaces taking into account generic signature
acolyer [Mon, 11 Jul 2005 09:36:49 +0000 (09:36 +0000)]
answer correct superclass and superinterfaces taking into account generic signature

19 years agohandle recursive type variables such as Enum
acolyer [Mon, 11 Jul 2005 09:35:36 +0000 (09:35 +0000)]
handle recursive type variables such as Enum

19 years agobeginnings of proper type variable support in Eclipse type world
acolyer [Mon, 11 Jul 2005 09:34:44 +0000 (09:34 +0000)]
beginnings of proper type variable support in Eclipse type world

19 years agodo the right thing with ":" in an ftp
acolyer [Mon, 11 Jul 2005 09:32:20 +0000 (09:32 +0000)]
do the right thing with ":" in an ftp

19 years agogenerics: includes fix for generic signatures
aclement [Fri, 8 Jul 2005 16:31:44 +0000 (16:31 +0000)]
generics: includes fix for generic signatures

19 years agoexpose generic ClassTypeSignature for member resolving
acolyer [Fri, 8 Jul 2005 16:07:21 +0000 (16:07 +0000)]
expose generic ClassTypeSignature for member resolving

19 years agosupport for unpacking generic signature
acolyer [Fri, 8 Jul 2005 16:06:48 +0000 (16:06 +0000)]
support for unpacking generic signature

19 years agoavoid needless resolving
acolyer [Fri, 8 Jul 2005 16:06:18 +0000 (16:06 +0000)]
avoid needless resolving

19 years agoimproved tolerance for generics signature chars
acolyer [Fri, 8 Jul 2005 16:05:54 +0000 (16:05 +0000)]
improved tolerance for generics signature chars

19 years agosimplify signature processing and remove implicit extends
acolyer [Fri, 8 Jul 2005 16:05:19 +0000 (16:05 +0000)]
simplify signature processing and remove implicit extends

19 years agoadded getTypeVariables to interface
acolyer [Fri, 8 Jul 2005 16:03:45 +0000 (16:03 +0000)]
added getTypeVariables to interface

19 years agogive back parameterized versions of members for parameterized types
acolyer [Fri, 8 Jul 2005 16:03:21 +0000 (16:03 +0000)]
give back parameterized versions of members for parameterized types