"Type may be weakened" bug?

With this inspection enabled and the "use righthand type as weakest type
in assignments" option enabled, IDEA flags the following:

private static final Logger LOG = Logger.getLogger(MyClass.class);

Logger.getLogger(Class) returns a Logger, so it seems to me this
inspection should not fire, based on the documentation of this
inspection. Am I missing something, or is this a bug?

(Build 7744.)

Please sign in to leave a comment.