JDK 8u20 javac StackOverflowError at com.sun.tools.javac.code.Types.lub (regression)
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Mon Sep 15 21:12:18 UTC 2014
Thank you for the detailed information (sent privately) - a new bug has
been filed:
https://bugs.openjdk.java.net/browse/JDK-8058511
Maurizio
On 12/09/14 16:27, Maurizio Cimadamore wrote:
> Can you please send a test case?
>
> Thanks
> Maurizio
>
> On 12/09/14 16:19, Neon Ngo wrote:
>> When trying to build our project's code using JDK 8u20's, javac craps
>> out with a StackOverflowError.
>> This worked fine in all prior versions of t he JDK (e.g. 8u11, 7u67,
>> 6u45, etc.) so this is a regression in the compiler.
>> This happens on RHEL 5.10 64-bit, CentOS 6.5 32-bit & 64-bit, RHEL 7
>> 64-bit, etc.
>>
>> java version "1.8.0_20"
>> Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
>> Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)
>> javac 1.8.0_20
>>
>> The system is out of resources.
>> Consult the following stack trace for details.
>> java.lang.StackOverflowError
>> at com.sun.tools.javac.code.Types.lub(Types.java:3532)
>> at com.sun.tools.javac.code.Types.lub(Types.java:3616)
>> at com.sun.tools.javac.code.Types.lub(Types.java:3616)
>> at com.sun.tools.javac.code.Types.lub(Types.java:3616)
>> at com.sun.tools.javac.code.Types.lub(Types.java:3616)
>> ...
>>
>> This issue seems similar to JDK-8043725 javac fails with
>> StackOverflowException
>> https://bugs.openjdk.java.net/browse/JDK-8043725
>>
>> But the stack trace is different.
>>
>> We can always reproduce this problem.
>>
>> Regards,
>>
>> Neon
>
More information about the compiler-dev
mailing list