Backport of the "missing clinit attribute" javac error to 1.7?

Dawid Weiss dawid.weiss at gmail.com
Fri Oct 17 18:50:32 UTC 2014


Thanks, I appreciate it, Vicente.

Dawid

On Fri, Oct 17, 2014 at 8:23 PM, Vicente-Arturo Romero-Zaldivar
<vicente.romero at oracle.com> wrote:
> Hi Dawid,
>
> Thanks for your mail. We will check if the bug can be backported. You can
> always create a bug report for javac 7. For this case I have created a
> backport entry [1] to track this issue.
>
> Thanks,
> Vicente
>
> [1] https://bugs.openjdk.java.net/browse/JDK-8061361
>
>
> On 10/07/2014 12:21 AM, Dawid Weiss wrote:
>>
>> Hello compiler folks!
>>
>> I've encountered the (known and resolved in 1.8) problem with javac
>> failing on annotations with static final fields requiring complex
>> initialization. The failure manifests itself on the latest 1.7 with
>> (edited):
>>
>> [ERROR] /.../MyClass.java:[186,17] annotation foo.MyAnnotation is
>> missing value for the attribute <clinit>
>>
>> This seems to be:
>>
>> https://bugs.openjdk.java.net/browse/JDK-8013485
>>
>> Are there any chances of backporting this patch to 1.7? ECJ compiles
>> such code without a glitch and so does 1.8 javac, of course.
>>
>> Dawid
>
>


More information about the compiler-dev mailing list