Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Compilation error with Java 7 #132

Closed
ctasada opened this Issue Apr 3, 2013 · 5 comments

Comments

Projects
None yet
3 participants
Contributor

ctasada commented Apr 3, 2013

Hi,

Seems that Voldemort is not compiling in Java7.

OSX 1.8.2
Java: 1.7.0_17

Results in

[javac] /voldemort/src/java/voldemort/store/readonly/io/GroupIOException.java:18: error: addSuppressed(Throwable) in GroupIOException cannot override addSuppressed(Throwable) in Throwable
[javac]     public void addSuppressed(Throwable t) {
[javac]                 ^
[javac]   overridden method is final

If I switch to Java6 the code compiles properly.

I known it's not the recommended version, but since is now the only officially supported Java version I think it's something to consider.

Best Regards,
Carlos

Collaborator

zhongjiewu commented Apr 3, 2013

Added to run-class.sh

@zhongjiewu zhongjiewu closed this Apr 3, 2013

Collaborator

zhongjiewu commented Apr 3, 2013

Closed the wrong issue

@zhongjiewu zhongjiewu reopened this Apr 3, 2013

Collaborator

vinothchandar commented May 28, 2013

Carlos, can you send us a patch for this?

Contributor

ctasada commented May 29, 2013

Sure, give me a couple of days.

Contributor

ctasada commented May 30, 2013

Hi Vinoth,

Is this patch good?

rsynnott pushed a commit to rsynnott/voldemort that referenced this issue May 10, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment