hg: lambda/lambda/hotspot: Summary: Remove ACC_DEFENDER access flag reliance. Augment CP

Keith McGuigan keith.mcguigan at oracle.com
Fri Jun 15 13:35:25 PDT 2012


Just pushed a changeset to the jdk repository that should alleviate 
this: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/a6d1367431c0

--
- Keith

On 6/14/2012 7:15 PM, Keith McGuigan wrote:
>
> Sorry, I just realized now that the inference verifier is not happy with
> the way the JVM handles default methods after this change. If you're
> using a lambda JDK and dealing with older classfiles (<= version 49) you
> might run across a verification error: "Illegal use of nonvirtual
> function call". So either hold back on updating to this version of the
> hotspot sources, or use only newer classfiles.
>
> I'll put together a fix (and a test!) asap.
>
> --
> - Keith
>
> On 6/14/2012 5:25 PM, keith.mcguigan at oracle.com wrote:
>> Changeset: c88500860945
>> Author: kamg
>> Date: 2012-06-14 15:23 -0400
>> URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/c88500860945
>>
>> Summary: Remove ACC_DEFENDER access flag reliance. Augment CP
>>
>> ! src/share/vm/classfile/bytecodeAssembler.cpp
>> ! src/share/vm/classfile/bytecodeAssembler.hpp
>> ! src/share/vm/classfile/classFileParser.cpp
>> ! src/share/vm/classfile/defaultMethods.cpp
>> ! src/share/vm/interpreter/linkResolver.cpp
>> ! src/share/vm/memory/oopFactory.cpp
>> ! src/share/vm/memory/oopFactory.hpp
>> ! src/share/vm/oops/constMethodKlass.cpp
>> ! src/share/vm/oops/constMethodKlass.hpp
>> ! src/share/vm/oops/constMethodOop.hpp
>> ! src/share/vm/oops/instanceKlass.cpp
>> ! src/share/vm/oops/instanceKlass.hpp
>> ! src/share/vm/oops/instanceKlassKlass.cpp
>> ! src/share/vm/oops/klassVtable.cpp
>> ! src/share/vm/oops/methodOop.cpp
>> ! src/share/vm/oops/methodOop.hpp
>> ! src/share/vm/prims/jvm.h
>> ! src/share/vm/prims/methodHandleWalk.cpp
>> ! src/share/vm/utilities/accessFlags.hpp
>>
>>


More information about the lambda-dev mailing list