jdk15 classes as jar


I have a strange problem with IDEA Build 4155.

I have a class with an a method like:

public String getString(String key, Object .... values)

If I package this class in an jar and add this jar to the project
dependencies the ide marks all invocations like

getString("KEY", "VALUE") or getString("KEY", "VALUE1", "VALUE2") etc
as error.

"Cant apply getString(String, String) to getString(String, Object[])"

Looks like a bug, no?


1 comment
Comment actions Permalink

Does clearing IDEA caches help?


Please sign in to leave a comment.