When creating a project, I specify java-7-openjdk
in the JRE field. Without doing anything else, I create a class that calls Object.equals(Object o1, Object o2)
added to Java7.
public class Main { public static void main(String[] args) { boolean b = Object.equals(new World(), new World()); } }
What I get
equals cant be resolved or is not a field
What did I miss?