Issue Type: Bug Bug
Assignee: Stephen Connolly
Created: 30/Jul/13 9:28 AM
Description:

I use the following signature:

<groupId>org.codehaus.mojo.signature</groupId>
<artifactId>java16</artifactId>
<version>1.1</version>

java.util.Locale.Category class was introduced in Java 7: http://docs.oracle.com/javase/7/docs/api/java/util/Locale.Category.html

If I declare unused variable:

java.util.Locale.Category c;

sniffer does not find it.

When I write:

java.util.Locale.Category c = java.util.Locale.Category.DISPLAY;

I get:
Undefined reference: java.util.Locale.Category java.util.Locale.Category.DISPLAY

Declaring a variable of type java.util.Locale.Category should be enough to receive an error.

Project: Mojo Animal Sniffer
Priority: Major Major
Reporter: Krzysztof Debski
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to