Build error with -Werror
OpenJDK 18 on macOS/aarch64 generates build fatal warnings "non-transient instance field of a serializable class declared with a non-serializable type" due to some classes do not implement Serializable interface.
Classes/interfaces that must implement Serializable:
- interface
org.eolang.Phi - all generated classes extending
org.eolang.PhDefault, also these classes must provideserialVersionUID.
@Graur please, take care of this or delegate. I think we should add java version 18 to mvn.yml GitHub action, to make sure this bug won't happen again
@kerelape please take this task, the budget is 30 minutes
@kerelape What's up with this task?
@Graur maven does not understand -W
@kerelape Did you try to rise up java version to 18?
@Graur yes... It is openjdk 18, macos 1.13.6. Maybe I miss something? I have only updated the jdk and ran mvn ..., is there something else I need to do?
@kerelape Did you try to do this:
Classes/interfaces that must implement
Serializable:
- interface
org.eolang.Phi- all generated classes extending
org.eolang.PhDefault, also these classes must provideserialVersionUID.
?
@kerelape Did you try to do this:
Classes/interfaces that must implement
Serializable:
- interface
org.eolang.Phi- all generated classes extending
org.eolang.PhDefault, also these classes must provideserialVersionUID.?
I did make that. But I cannot check if it works because without that it works too.
@kerelape If so, just send us a pull request with mvn.yml changes and that's it
@kerelape If so, just send us a pull request with
mvn.ymlchanges and that's it
I am sorry, I will do so now
@kerelape @Graur what's up with this one?
@kerelape Do you have any progress here?
@Graur time to close this one?
@yegor256 @Graur All changes are in open PR. However there is an issue with tests on Win/JDK18.