jdk15 classes as jar

Hi!

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?

Ciao,
Mario

1 comment

Please sign in to leave a comment.