[kaffe] kjc generics bug

Matthias Pfisterer Matthias.Pfisterer at web.de
Mon Jan 19 10:52:02 PST 2004


Hi,

I found a bug in the generics support of kjc. The attached program 
produces an error:
---
artemis:~/java/genericstest>kjavac -generic FakeList.java
FakeList.java:39: error:Too less type arguments for type "FakeList"; 
required: 1 [JSR 41]
artemis:~/java/genericstest>kjavac -version
Version 2.1A released 11. February 2002
---
With the compiler if the Sun JDK 1.5.0, there is no error message.

Matthias

-- 
Matthias Pfisterer	<mailto:Matthias.Pfisterer at web.de>
Reuchlinstrasse 28	phone ++49-711-62 87 12
D-70176 Stuttgart	(in Deutschland 0711-62 87 12)
GERMANY

Work like you don't need the money.
Love like you've never been hurt.
Dance like nobody is watching.

Java Sound Resources (examples, FAQ, applications):
http://www.jsresources.org/

Tritonus, the open source implementation of the Java Sound API:
http://www.tritonus.org/
--------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FakeList.java
Type: text/java
Size: 824 bytes
Desc: not available
Url : http://pogo.kaffe.org/pipermail/kaffe/attachments/20040119/9e30ae12/FakeList-0002.bin


More information about the kaffe mailing list