pcj
pcj copied to clipboard
Compilation issue in RawString
Just starting up with this library and trying to use it. Doing some learning. After I setup the project in IDE got a compilation issue at https://github.com/pmem/pcj/blob/master/src/main/java/lib/util/persistent/RawString.java#L35 The MemoryRegion is declared final but we do an assignment here. But while making or building there is no such error. If not, I can submit a PR for this.
Hi Ram, Thank you very much for pointing out the issue - we are surprised that this got past "make"! So you said that there is a compilation error in IDE, but no compilation error via "make"? Can you please tell us which IDE you are using, and what is the full text of the compilation error? Thanks! Lei
The final field RawString.region cannot be assigned
Seems the msg is right to me. But when I try to do the javac command line compilation using the targer/classes added to the class path then there is no compilation issue.
BTW am using Eclipse as my IDE.