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

Vicente-Arturo Romero-Zaldivar vicente.romero at oracle.com
Fri Dec 13 08:41:54 PST 2013


Hi Xerxes,

I have been looking for the source of GenericRawMap class, the one in 
the original bug description, but I had no luck. Could you please send 
it to me?

Thanks,
Vicente

On 13/12/13 16:07, Balchandra Vaidya wrote:
> [cc'd compiler-dev at openjdk.java.net]
>
>
> On 12/13/13 12:00 PM, Balchandra Vaidya wrote:
>>
>> Hi Xerxes,
>>
>> Thank you for your feedback. I have updated the bug
>> https://bugs.openjdk.java.net/browse/JDK-8024935 with
>> your instruction to reproduce the issue below.
>>
>>
>> Thanks,
>> Balchandra
>>
>>
>> On 12/13/13 11:20 AM, Xerxes Rånby wrote:
>>> 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 a reproducer/reduced test case for:
>>> https://bugs.openjdk.java.net/browse/JDK-8024935 - compilation 
>>> succeeds in java7 but fails in java8
>>>
>>> I do not have any account at bugs.openjdk.java.net that I can use to 
>>> update this bug,
>>> feel free to attach the information below to the bug.
>>>
>>> steps to reproduce:
>>>
>>> #Download processing 2.1 from:
>>> https://processing.org/download/
>>>
>>> tar zxvf processing-2.1-linux32.tgz
>>> 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)
>>
>



More information about the compiler-dev mailing list