This rule flags the method setMaxPriority on the class java.lang.ThreadGroup as its behavior has changed.
Per the API documentation, "If the pri argument is less than Thread.MIN_PRIORITY or greater than Thread.MAX_PRIORITY , the maximum priority of the group remains unchanged." Prior to JDK 7, the method did not behave as specified. The change in JDK 7 is to enforce this stated behavior.
For more information, see: