managed-commons / stab-language

Automatically exported from code.google.com/p/stab-language
Apache License 2.0
5 stars 3 forks source link

Annotation: SuppressWarnings does not suppress the specified warnings #45

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The following code 

using java.lang;
using java.util;

package test {

  public class Main {

    [SuppressWarnings({"unchecked"})]
    public List testWithoutWarnings(){
      return new ArrayList<String>();
    }

  }
}

does not suppress the specified warnings.

Original issue reported on code.google.com by ice.ta...@gmail.com on 8 Mar 2011 at 12:00