Skip to content

Processing 2.1 fails to compile all of its projects using JDK8 EA b119 error: The type java.util.Map$Entry cannot be resolved. #2260

@xranby

Description

@xranby

Processing 2.1 fails to compile all of its projects using JDK8 EA b119
error: The type java.util.Map$Entry cannot be resolved.

This issue is reported to:
https://bugs.openjdk.java.net/browse/JDK-8024935 - compilation succeeds in java7 but fails in java8
http://mail.openjdk.java.net/pipermail/quality-discuss/2013-December/000204.html

steps to reproduce:

Download JDK8 EA b119 from:

https://jdk8.java.net/download.html

cd processing-2.1

replace the bundled jdk inside processing with JDK8 EA b119

mv java java-bundled
mv jdk1.8.0 java

run

./processing

Press
Sketch->Run
without entering any code fails with the following output:

Annotation processing got disabled, since it requires a 1.6 compliant JVM
/tmp/sketch_131213a3040094527895471164temp/sketch_131213a.java:1: error: The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files
import processing.core.*;
^
1 problem (1 error)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions