aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/itds
Commit message (Collapse)AuthorAgeFilesLines
* Add Java23 supportAndrew Clement2025-03-071-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The huge change with adopting Java23 is that 1.1 > 1.7 Java are now considered unsupported by Eclipse JDT, so the many thousands of tests we have that were specifying java versions lower than 1.8 were all failing with an unsupported version error. All those tests have had their versions bumped to 1.8.

That is why this commit includes so many changes. For example where we were specifying 1.5 - which was the case for many many generics/annotations tests, that is now 1.8. Also, some tests have been deleted because they make no sense now (verifying expected errors on Java 1.4 for example, errors that just can’t happen with minimum Java level 1.8). The biggest impact to tests was when bumping above 1.4 compliance suddenly there were 100s of adviceDidNotMatch messages. Some of these messages were actual indications of bad expectations in the test but many of them were just to-be-expected and were fixed either via an -Xlint:ignore option in the test spec or a SuppressAjWarnings in the test source.

One or two tests actually revealed real bugs that just didn’t surface with lower level java versions specified. A bare minimum of real Java 23 tests have been added just to get this sanity tested and committed. More would ideally be added. Other notable changes due to Eclipse JDT changes: org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/*.java Changes in here because there are now more validations on the code generator methods we were calling. Now you can’t start manipulating variables without having declared them as proper local variables, so those extra calls to define them have been added.
 org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom With needing to bump up the java versions, these classes had to be brought up to date with AST.JLS20 rather than only supporting versions 2/3. This was mostly copying patterns for the Eclipse classes.


* tests for pr62606 - itdcs don't run field initialisers in target type. ↵acolyer2005-11-0317-27/+28
| | | | Largely updates to existing tests to cope with new Lint warning.
* see pr112105 comment #13: new and modified testcodeaclement2005-10-261-0/+17
|
* some bridge method testcases and impl for 108101aclement2005-10-256-6/+17
|
* more design tests.aclement2005-10-202-0/+33
|
* I've tackled methods and ctor generic itds - now fields.aclement2005-10-191-0/+13
|
* generics tests revisted post all the recent changes - more of them now pass!aclement2005-10-1910-43/+67
|
* slightly changed parsing test.aclement2005-10-181-1/+1
|
* Updates for generic ITDs - see pr112105 for a description of all changes.aclement2005-10-142-2/+18
|
* generic itds - see pr112105aclement2005-10-113-0/+28
|
* two more bug testcases.aclement2005-08-241-0/+16
|
* whoops - did I forget to check this fix in earlier?aclement2005-08-241-1/+1
|
* generic itd bridge method test code.aclement2005-08-2411-1/+71
|
* genericitds: bridge method testcode.aclement2005-08-248-0/+210
|
* @override - another case involving abstract ITDsaclement2005-08-231-0/+17
|
* @override support for ITDs. Plus some binary weaving generic ITD tests.aclement2005-08-238-3/+34
|
* @override with ITDs - testcases.aclement2005-08-237-0/+133
|
* genericitds: tests moved around and activated in GenericsTestsaclement2005-08-2215-114/+38
|
* some binary weaving ITD tests, they dont pass yet.aclement2005-08-184-0/+54
|
* genericitds: more method/ctor ITDs that use their target types generic type ↵aclement2005-08-1512-0/+217
| | | | variables. plus some basic generic aspects that combine the building blocks
* genericitds: more method/ctor ITDs that use their target types generic type ↵aclement2005-08-144-5/+44
| | | | variables.
* genericitds: more combinations...aclement2005-08-1310-0/+162
|
* genericitds: method ITDs that use their target types generic type variables.aclement2005-08-1213-0/+212
|
* genericitds: Using target type variables in your ITD field declarations.aclement2005-08-121-0/+11
|
* genericitds: Using target type variables in your ITD field declarations.aclement2005-08-1215-0/+258
|
* genericitds: 2 big changes here: I've modifed the super/extends stuff so ↵aclement2005-08-092-5/+18
| | | | 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.
* some updates to make this sort-of-compileacolyer2005-08-081-1/+7
|
* genericitds: reusing similar specifications for type variables in the same ↵aclement2005-08-081-0/+30
| | | | 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>>'
* genericitds: test programs for ITDs targetting the different kinds of type.aclement2005-08-083-0/+105
|
* genericitds:aclement2005-08-081-0/+0
|
* genericitds: sharing type variables with generic type - parsing testaclement2005-08-081-0/+16
|
* genericitds: test programsaclement2005-08-087-0/+237
|
* genericitds: more combinationsaclement2005-08-033-0/+84
|
* genericitds: now we're getting silly..aclement2005-08-035-0/+132
|
* genericitds: more combinationsaclement2005-08-034-0/+81
|
* genericitds: the possibilities are endless.aclement2005-07-296-6/+105
|
* genericitds: using wildcard '? extends' with typevariables.aclement2005-07-291-0/+20
|
* genericitds: using wildcard '? extends Type'aclement2005-07-292-0/+41
|
* genericitds: using wildcard '? extends' with typevariables.aclement2005-07-292-0/+36
|
* changed dumb testcaseaclement2005-07-271-4/+5
|
* sick sick sick generic itd tests.aclement2005-07-263-0/+54
|
* generics: testcase - static generic method ITDaclement2005-07-261-0/+23
|
* Improved generic ITD tests.aclement2005-06-083-2/+5
|
* fix some glitches in test cases to ensure that these are legal AspectJ ↵acolyer2005-06-024-6/+6
| | | | declarations...
* GenericsWork: ITD testcodeaclement2005-06-029-0/+103