On Wed, Jan 17, 2007 at 09:00:56PM +0100, Michael Hanke wrote:
> > Looks like all the errors related to the generic notation. 
> > Can you try compiling the file
> > 
> >     http://www.cse.ohio-state.edu/~gurari/temp/Xtpipes.java
> > 
> > It is the original program with the generic notation removed.  It
> > compiles under sun's java. If so, I'll add a short perl script to the
> > instructions for applying the cleaning phase.
> It works!
> 
I was too quick (this happens to often).

I redownloaded tex4ht upstream sources and updated Xtpipes.java to check
it again. Some errors are back:

javac -1.5 *.java */*.java */*/*.java -d out/

----------
1. WARNING in xtpipes/Xtpipes.java (at line 481)
        BufferedReader br = null;
                       ^^
The local variable br is never read
----------
2. WARNING in xtpipes/Xtpipes.java (at line 625)
        String root = node.getAttributes()
               ^^^^
The local variable root is never read
----------
----------
3. ERROR in xtpipes/lib/ScriptsManager.java (at line 20)
        Stack<Object[]> stack = new Stack<Object[]>();
        ^^^^^
The type Stack is not generic; it cannot be parameterized with arguments 
<Object[]>
----------
4. ERROR in xtpipes/lib/ScriptsManager.java (at line 20)
        Stack<Object[]> stack = new Stack<Object[]>();
                                    ^^^^^
The type Stack is not generic; it cannot be parameterized with arguments 
<Object[]>
----------
5. ERROR in xtpipes/lib/ScriptsManager.java (at line 53)
        stack.push( state );
        ^^^^^
stack cannot be resolved
----------
6. ERROR in xtpipes/lib/ScriptsManager.java (at line 57)
        stack.push( state );
        ^^^^^
stack cannot be resolved
----------
7. ERROR in xtpipes/lib/ScriptsManager.java (at line 67)
        Object [] state = (Object []) stack.pop();
                                      ^^^^^
stack cannot be resolved
----------


I guess in the previous run there where some bytecode file from the
sun-java run left over.

Cheers,

Michael

-- 
GPG key:  1024D/3144BE0F Michael Hanke
http://apsy.gse.uni-magdeburg.de/hanke
ICQ: 48230050


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to