Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Compile with Java SE Development Kit 8u66 #7

Open
benhysell opened this issue Dec 8, 2015 · 3 comments
Open

Cannot Compile with Java SE Development Kit 8u66 #7

benhysell opened this issue Dec 8, 2015 · 3 comments

Comments

@benhysell
Copy link
Contributor

Just pulled down a fresh copy of the source and attempted to build with the latest Java 8 update 66 and received the following error:

[javac] C:\Github\mulgara\src\jar\util\java\org\mulgara\util\Multimap.java:105: error: name clash: remove(K,V) in Multimap and remove(Object,Object) in Map have the same erasure, yet neither overrides the other
[javac]   public boolean remove(K key, V value) {
[javac]                  ^
[javac]   where K,V are type-variables:
[javac]     K extends Object declared in class Multimap
[javac]     V extends Object declared in class Multimap

Not exactly sure what is going on here...didn't want to tinker too much before throwing up a flair and see if there was something simple I was missing.

Thanks!

@quoll
Copy link
Owner

quoll commented Dec 9, 2015

I've had a lot happening for some time now, and let Mulgara suffer some real bitrot. But I have a few weeks to myself at the moment, so this would seem like an opportune moment to get back into it. I'll check it out for you.

@quoll
Copy link
Owner

quoll commented Feb 4, 2016

JDK 1.8 introduced a handful of new methods to java.util.Map. Unfortunately, one of those methods uses the same name (as shown above). It's not too hard to rename the method. Unfortunately, the other methods listed are all missing implementations, so I need to do those too. It's a bit late right now, but I'll look into them

@benhysell
Copy link
Contributor Author

benhysell commented Jul 19, 2016

Have you had a chance to look further into compiling with a newer Java 8? Are there any other areas where we might stub our toes migrating to a newer Java?

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

No branches or pull requests

2 participants