Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] jgit from master not buildable locally

On Tue, Feb 16, 2016 at 4:12 PM, Bossert, Andre <anb0s@xxxxxxxx> wrote:
Hello,

i've the latest JGit master from today and cannot compile it locally
in my Eclipse, because of:
...
The method ConcurrentHashMap.keySet() referenced in
org.eclipse.jgit.lib.RepositoryCache.getKeys() is not defined in the
bundle's required execution environment: JavaSE-1.7
...

If i change the execution environment to JavaSE-1.8 in MANIFEST.MF it
works. How does it work at CI server? Do i need something else for
local build, debug and test?

May be i missed some details from:
https://wiki.eclipse.org/EGit/Contributor_Guide

I can't reproduce this, also Java 7 has ConcurrentHashMap.keySet()

Did you install Execution environment descriptions
and mapped them to the respective JREs installed on your machine under
Preferences > Java > Installed JREs

-Matthias

Back to the top