Skip to content

Bad bytecode when optimizer enabled #477

@revonateB0T

Description

@revonateB0T
Exception in thread "main" java.lang.VerifyError: Bad return type
Exception Details:
  Location:
    okio/Okio__OkioKt.buffer$43c083be(Lokio/Sink;)Lokio/RealBufferedSink; @17: areturn
  Reason:
    Type 'okio/BufferedSink' (current frame, stack[0]) is not assignable to 'okio/RealBufferedSink' (from method signature)
  Current Frame:
    bci: @17
    flags: { }
    locals: { 'okio/Sink' }
    stack: { 'okio/BufferedSink' }
  Bytecode:
    0000000: 2a12 01b8 000b bb00 0859 2ab7 000d c000
    0000010: 05b0                                   

        at top.kagg886.pmf.util.FileLogger.<init>(log.kt:2001)
        at top.kagg886.pmf.AppKt.setupEnv(App.kt:53907)
        at top.kagg886.pmf.MainKt.main(main.kt:2020)

FAILURE: Build failed with an exception.

See kagg886/Pixiv-MultiPlatform#83
Artifacts: https://github.com/kagg886/Pixiv-MultiPlatform/actions/runs/14911979685

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