Annotation-qualified optional disallowance of raw generic types

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P5
    • None
    • Affects Version/s: 6
    • Component/s: specification
    • x86
    • windows_xp

      A DESCRIPTION OF THE REQUEST :
      Mixing raw and parameterized generic types is error-prone. It would be useful to have a compiler option to reject use of raw types but to be able to annotate a class or method to exempt the annotated code from this behavior.

        Suggested annotation: @PermitRawTypes



      JUSTIFICATION :
        To avoid erroneous use of raw types.


      CUSTOMER SUBMITTED WORKAROUND :
      Eclipse now provides the desired compiler option, but without the permissive annotation.

            Assignee:
            Alex Buckley
            Reporter:
            Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: