aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <>
Subject [jira] [Assigned] (ARIES-1607) Add a flag to enable raw conversion when using generics
Date Sat, 08 Apr 2017 18:54:41 GMT


Guillaume Nodet reassigned ARIES-1607:

    Assignee: Guillaume Nodet

> Add a flag to enable raw conversion when using generics
> -------------------------------------------------------
>                 Key: ARIES-1607
>                 URL:
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>    Affects Versions: blueprint-core-1.6.2
>            Reporter: Jean-Philippe CLEMENT
>            Assignee: Guillaume Nodet
>            Priority: Critical
> Blueprint should only check constuctor and method arguments depending on their class
the way the JVM works at runtime.
> At runtime there is no difference between:
>  setSomething(List);
> and
>  setSomething(List<String>);
> Furthermore Java prevents having both methods above declared in the same class (same
applies if List were List<Object>). A List is a List no matter the generic type. The
generic type checking is made at compilation time. Blueprint is not a compiler :)
> Please add a flag to enforce or not the generic type checking!

This message was sent by Atlassian JIRA

View raw message