Page 1 of 1

Problem compiling JLSCP: method does not override a method f

Posted: Sat Feb 28, 2009 9:58 pm
by count_fuzzball
I've a problem compiling the cvs of JLSCP with the 1.5.0 version of java/jdk from my distribution.

I get this:

andrew@System1337:~/linux-sampler/jlscp$ ant build-lib
Buildfile: build.xml

clean-lib:
[delete] Deleting directory /home/andrew/linux-sampler/jlscp/lib

build-manifest:
[mkdir] Created dir: /home/andrew/linux-sampler/jlscp/lib/build

build-lib:
[javac] Compiling 84 source files to /home/andrew/linux-sampler/jlscp/lib/build
[javac] /home/andrew/linux-sampler/jlscp/src/org/linuxsampler/lscp/Client.java:5473: method does not override a method from its superclass
[javac] @Override
[javac] ^
[javac] Note: /home/andrew/linux-sampler/jlscp/src/org/linuxsampler/lscp/Client.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error

BUILD FAILED
/home/andrew/linux-sampler/jlscp/build.xml:9: Compile failed; see the compiler error output for details.

Total time: 2 seconds
How can I fix this? I'm running Debian Lenny.

Re: Problem compiling JLSCP: method does not override a method f

Posted: Sat Feb 28, 2009 10:40 pm
by grishata
Interesting how I missed that error. Fixed.