[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] Compilation error in Java 7

Hi Devs,

I have a code segment as follows.

IQuery<IInstallableUnit> it = null;

Following is my dependency

ÂÂÂÂÂÂÂ <dependency>
ÂÂÂÂÂÂÂÂÂÂÂ <groupId>org.eclipse.equinox</groupId>
ÂÂÂÂÂÂÂÂÂÂÂ <artifactId>org.eclipse.equinox.p2.metadata</artifactId>
ÂÂÂÂÂÂÂÂÂÂÂ <version>2.1.0.v20110510</version>
ÂÂÂÂÂÂÂ </dependency>

when I try to compile in Java 6 it works perfectly. But when I tried to compile with java 7 it gives me the following error.

java: type org.eclipse.equinox.p2.query.IQuery does not take parameters

Any idea what I'm doing wrong here? Do we need a later version in order to work with Java 7?

Regards,
Aruna