make images fails

Robert Field robert.field at oracle.com
Sat Dec 22 11:38:45 PST 2012


Yes, definitely a compiler bug.  The lambda method isn't seen within the 
scope of the class, because it is synthetic, by the compiler on reading 
in of the class file, so it appears to the compiler that the enclosing 
method attribute is referencing a non-existent method.  The VM doesn't 
care about such things, so execution should not be impacted (assuming 
you can compile without explicitly referencing those classes).

-Robert

On 12/22/12 09:29, Brian Goetz wrote:
> Yes, Robert has run into something similar, and we're looking into it.
> It may be a compiler bug, but it definitely gets tickled with "make
> images" and not when just doing an ordinary "make" (and setting
> JAVA_HOME to the build/blah/jdk directory.)
>
> On 12/22/2012 12:25 PM, Marc Petit-Huguenin wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>>
>> I have this error when building the images, even from a fresh build directory,
>> and I do not know how to fix it:
>>
>> error: bad class file:
>> /home/petithug/lambda/build/linux-x86_64-normal-server-release/images/lib/rt.jar(java/util/stream/IntPipeline$1.class)
>>       bad enclosing method attribute for class java.util.stream.IntPipeline$1
>>       Please remove or make sure it appears in the correct subdirectory of the
>> classpath.
>>
>> - --
>> Marc Petit-Huguenin
>> Email: marc at petit-huguenin.org
>> Blog: http://blog.marc.petit-huguenin.org
>> Profile: http://www.linkedin.com/in/petithug
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.12 (GNU/Linux)
>>
>> iQIcBAEBCAAGBQJQ1ez5AAoJECnERZXWan7EHu8P/A7fCnz/HtAulqRkt0thaz1m
>> LZOo1jiFlIx0QL+mSE8loC5FPiLZGt5jW3oE5Ues6y4KYGPr++Z+t9qeN6e8aEWn
>> Ot+jpLiDD6/FpweKrg2BD8WAqYc984B6YZby2boc+yVQFwO+sY32h1XBW9Jfrpju
>> kk+Dyt/ZlreITBcmWsIlMSj+H4HIFC6vX83OpLj+GISG/vHUZQIOe8GN2vyC6E9G
>> INuy7KW+2BEv6MY84DaeSICMDlCvXpYnWLTTA7JVEyKhOoBL5K8uHlQ4Hm+2SbPy
>> 5iYfetooac6xZCmqgimxKVkFzoJkfcTJfINm55Wd85n/fA8inaFvtKZbxJA9qvLe
>> tTQvxrbjLPrvMFFnrZNB8rooxo8o8e3AVWW1bKLqXaAMGHqLqlCTtAC7j9J3H3Ln
>> 0qgqxMIdVFoVbrFIjJzcnjISEWm5gg4BaphcgsDtIIVdQqKpchPrysr3E439ym+S
>> gIkwGsGLd6M91RqZGLxpUTJi9g95aWr6uprfPZGayUjKcR2c2fsaXIx+8OESugpA
>> lkTbIUYv85oCxOh1c2ACnsopeMLVUK3H2PBeokRAB6BkcLWaaivP5PZj40Y5/QFS
>> dWWHUjaNFstSy+P8bpSlnPaUN1JsDaaw63+wkVNO7czJUsrFnLrUHjpOKEKDqb/6
>> KVqBkLQniwdisk6UaDZo
>> =OLjz
>> -----END PGP SIGNATURE-----
>>



More information about the lambda-dev mailing list