[resending, it seems this did not get through the first time, which i
sent about 50 minutes ago]
Frank Martínez wrote:
> Hi Paul,
>
> On 11/2/07, Paul Sandoz <Paul.Sandoz_at_sun.com> wrote:
>> Hi Frank,
>>
>> The ASM scanner is picking up resource classes that are not root
>> resource classes.
>>
>> A root resource class is a class that is annotated with @UriTemplate. So
>> there is no need for the scanner to look for @UriTemplate and
>> @HttpMethod on methods. However the scanner should search for inner
>> public static classes annotated with @UriTemplate.
>>
>> Paul.
>>
>
> Fixed. Commited.
>
Great.
I havce included some tests that exercise the accessing of class files
and jars. These tests fail because the scanner is picking up package
scoped classes and package, private and protected inner classes.
I think we should, if possible, only pick up top-level and static inner
classes that are in the public scope, and provide warnings for any other
scope
Paul.
--
| ? + ? = To question
----------------\
Paul Sandoz
x38109
+33-4-76188109