Skip to content

Please support Java 21 #71

@vpa1977

Description

@vpa1977

I was able to compile procyon with Java 21 using release target 8, but have encountered some test failures:

  • SwitchTests.testEnumSwitch - enum switch was decompiled as an ordinal switch
  • ThirdPartyTests.testUnboxToNumber - decompiled code contains Constable, not Number.
  • ThirdPartyTests.testLiteralAssignments - test specifies float numbers with excess precision, Java truncates those since 19.
  • ThirdPartyTests.testOptimizedVariables, testSwitchKrakatau, testWhileLoopsKrakatau - decompiled variable does not match ('b' vs 'x')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions