Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Compilation issue in RawString #1

Open
ramkrish86 opened this issue May 23, 2017 · 3 comments
Open

Compilation issue in RawString #1

ramkrish86 opened this issue May 23, 2017 · 3 comments

Comments

@ramkrish86
Copy link

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.

@leifan89
Copy link
Contributor

leifan89 commented May 23, 2017

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

@ramkrish86
Copy link
Author

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.

@ramkrish86
Copy link
Author

BTW am using Eclipse as my IDE.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants