Skip to content

Patched bytecode fails verification on IBM J9 VM for AIX #5

@wrprice

Description

@wrprice

Failure:

Exception in thread "main" java.lang.VerifyError: JVMVRFY012 stack shape inconsistent; class=java/text/DigitList, method=shouldRoundUp(IZZ)Z, pc=19
        at java.text.DecimalFormat.<init>(DecimalFormat.java:3769)
        at sun.util.locale.provider.NumberFormatProviderImpl.getInstance(NumberFormatProviderImpl.java:192)
        at sun.util.locale.provider.NumberFormatProviderImpl.getNumberInstance(NumberFormatProviderImpl.java:161)
        at java.text.NumberFormat.getInstance(NumberFormat.java:886)
        at java.text.NumberFormat.getInstance(NumberFormat.java:872)
        at java.text.NumberFormat.getInstance(NumberFormat.java:453)
        at com.pros.java.text.SelfTest.stackoverflow24426438(SelfTest.java:181)
        at com.pros.java.text.SelfTest.run(SelfTest.java:86)
        at com.pros.java.text.DigitListPatch.main(DigitListPatch.java:107)

Environment:

java version "1.8.0"
Java(TM) SE Runtime Environment (build pap6480-20150129_02)
IBM J9 VM (build 2.8, JRE 1.8.0 AIX ppc64-64 Compressed References 20150116_231420 (JIT enabled, AOT enabled)
J9VM - R28_Java8_GA_20150116_2030_B231420
JIT  - tr.r14.java_20150109_82886.02
GC   - R28_Java8_GA_20150116_2030_B231420_CMPRSS
J9CL - 20150116_231420)
JCL - 20150123_01 based on Oracle jdk8u31-b12

Reproduced on release version 1.5 of the patch. All released versions to date are likely affected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions