Re: [Simple-support] some issues
Brought to you by:
niallg
|
From: Niall G. <gal...@ya...> - 2007-06-05 09:05:20
|
Hi,
Thanks for this information, I have not yet built Simple on 1.6, I will attempt to build it today some time, and patch the 1.3 release (again). Can you show me some code that will cause the third error.
Cheers,
Niall
----- Original Message ----
From: Federico Fissore <fed...@fi...>
To: sim...@li...
Sent: Tuesday, June 5, 2007 9:24:46 AM
Subject: [Simple-support] some issues
here are three issues I'm having
The return type is incompatible with LinkedList<InputNode>.push(InputNode)
InputStack.java @ line 95
The return type is incompatible with LinkedList<OutputNode>.push(OutputNode)
OutputStack.java @ line 104
these two errors occur when you try to build simple against jdk >=1.6.
it's due to jdk6 having added "void push" method to LinkedList
they were present even in simple 1.2 (the first version I've used)
===========================
and here's the stack trace of the third error. this occurs since 1.3: I
haven't had it with 1.2.1
java.lang.ClassCastException:
sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl
at simple.xml.load.ReadPart.getDependant(ReadPart.java:113)
at simple.xml.load.MethodContact.<init>(MethodContact.java:79)
at simple.xml.load.MethodScanner.build(MethodScanner.java:285)
at simple.xml.load.MethodScanner.build(MethodScanner.java:258)
at simple.xml.load.MethodScanner.build(MethodScanner.java:234)
at simple.xml.load.MethodScanner.scan(MethodScanner.java:106)
at simple.xml.load.MethodScanner.<init>(MethodScanner.java:86)
at simple.xml.load.Scanner.method(Scanner.java:361)
at simple.xml.load.Scanner.process(Scanner.java:334)
at simple.xml.load.Scanner.scan(Scanner.java:248)
at simple.xml.load.Scanner.<init>(Scanner.java:104)
at simple.xml.load.Source.getName(Source.java:222)
at simple.xml.load.Traverser.getName(Traverser.java:192)
at simple.xml.load.Traverser.write(Traverser.java:137)
at simple.xml.load.Traverser.write(Traverser.java:120)
at simple.xml.load.Persister.write(Persister.java:440)
at simple.xml.load.Persister.write(Persister.java:422)
at simple.xml.load.Persister.write(Persister.java:403)
at simple.xml.load.Persister.write(Persister.java:513)
[... my test classes...]
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Simple-support mailing list
Sim...@li...
https://lists.sourceforge.net/lists/listinfo/simple-support
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
|