Main states it needs Java 1.7 to build:
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
There is no security patched version of Java 1.7 available in 2025 it is beyond end-of-life.
If I tried to build master using Java 21 then things are broken with:
Failed tests:
TestIterator.testNil:34 expected null, but was:<null>
Tests in error:
TestIterator.testBoolean:21 ClassCast class mjson.Json$BooleanJson cannot be c...
TestIterator.testNumber:45 ClassCast class mjson.Json$NumberJson cannot be cas...
TestIterator.testObject:88 ClassCast class mjson.Json$NumberJson cannot be cas...
TestIterator.testString:57 ClassCast class mjson.Json$StringJson cannot be cas...
TestJsonSchemaSuite.data:55 Runtime While adding tests from file /Users/Shared...
Tests run: 42, Failures: 1, Errors: 5, Skipped: 0
There is another reported issue that there is no tag for the latest version of the code on mvn central. There is no support branch like v1.4.x where we might expect the woking latest release version of the code if master may be pushed in a broken state.
In order to allow people to contribute I would suggest:
- Always push a git tag for any version release version.
- Branch the broken
master as a develop branch to back it up
- Reset the
master to commit with is the 1.4.2 release commit.
- Update the
develop branch to target source and binary versions to be 1.8 as no-one should be running java 1.7 anywhere at all.
- Raise an issue which explains what is the feature that is currently failing above as it is not clear what/why the code is not complete.
Thanks.
Main states it needs Java 1.7 to build:
There is no security patched version of Java 1.7 available in 2025 it is beyond end-of-life.
If I tried to build
masterusing Java 21 then things are broken with:There is another reported issue that there is no tag for the latest version of the code on mvn central. There is no support branch like
v1.4.xwhere we might expect the woking latest release version of the code ifmastermay be pushed in a broken state.In order to allow people to contribute I would suggest:
masteras adevelopbranch to back it upmasterto commit with is the 1.4.2 release commit.developbranch to target source and binary versions to be 1.8 as no-one should be running java 1.7 anywhere at all.Thanks.