Error using static interface methods

Stephen Colebourne scolebourne at joda.org
Fri Feb 1 06:30:48 PST 2013


This morning I pulled and rebuilt configure/build/images NEWBUILD from
the repos in http://hg.openjdk.java.net/threeten/threeten which were
synced last night by Roger Riggs. Note the non mainline repo.

The static interface methods compile fine, but I'm unable to call them
without a verify error:

java.lang.VerifyError: Illegal type at constant pool entry 4 in class
tck.java.time.chrono.TCKChronoLocalDate
Exception Details:
  Location:
    tck/java/time/chrono/TCKChronoLocalDate.factory_from_TemporalAccessor()V
@8: invokestatic
  Reason:
    Constant pool index 4 is invalid
  Bytecode:
    0000000: bb00 0259 2ab7 0003 b800 044c 2b11 07dc
    0000010: 1006 101e b800 05b8 0006 b1

another example:

java.lang.VerifyError: Illegal type at constant pool entry 2 in class
tck.java.time.chrono.TCKChronoLocalDate
Exception Details:
  Location:
    tck/java/time/chrono/TCKChronoLocalDate.factory_from_TemporalAccessor_null()V
@1: invokestatic
  Reason:
    Constant pool index 2 is invalid
  Bytecode:
    0000000: 01b8 0002 57b1


It could be that the hotspot/langtools has a mismatch somewhere in
http://hg.openjdk.java.net/threeten/threeten.

Any thoughts?
Stephen


More information about the lambda-dev mailing list