Skip to content

Does jbmc build on MacOS? #6343

@markrtuttle

Description

@markrtuttle

CBMC version: 5.38
Operating system: MacOS 15.5.2 (Big Sur) on Apple M1

Does jbmc build on MacOS?

In the cbmc formula for brew, Lines 35-36 say that the java front end won't build on ARM.

I think the issue is that in OpenJDK 17.13 installed by brew under MacOS 15 on Apple M1, the March commit a0c3f242 deleted the methods isOtherUppercase and isOtherLowercase called on Line 5463 and Line 5529 of Character.java in DiffBlue's java-models-library submodule.

In fact, if I delete these lines, then jbmc compiles on MacOS 15 on Apple M1. Assuming brew installs OpenJDK 7.13 independent of ARM, isn't this a problem elsewhere? Is it possible to rewrite these two lines without invoking these methods?

Edit: Changed OpenJDK version from 7.13 to 17.13.

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