I just built and did a make test on the latest tcl java.  I get this
error:

tcljava/JavaDefineClassCmd.test


==== java::defineclass-2.1 loading a class
==== Contents of test case:

    set file  [open [file join $javaload_full_path Test1Cmd.class]]
    if {$system == "tclblend"} {
        fconfigure $file -translation binary
    }
    set bytes [read $file]
    close $file
    set class [java::defineclass $bytes]
    java::isnull $class

==== Result was:
1
---- Result should have been:
0
---- java::defineclass-2.1 FAILED


==== java::defineclass-2.2 instantiating a loaded class
==== Contents of test case:

    set file  [open [file join $javaload_path Test2Cmd.class]]
    if {$system == "tclblend"} {
        fconfigure $file -translation binary
    }
    set bytes [read $file]
    close $file
    set class [java::defineclass $bytes]
    set obj   [java::new Test2Cmd]
    java::isnull $obj

==== Test generated error:
unknown class "Test2Cmd"
-- 
Never apply a Star Trek solution to a Babylon 5 problem.
Larry W. Virden <mailto:[EMAIL PROTECTED]> <URL: http://www.purl.org/NET/lvirden/>
Unless explicitly stated to the contrary, nothing in this posting should 
be construed as representing my employer's opinions.
-><-

----------------------------------------------------------------
The TclJava mailing list is sponsored by Scriptics Corporation.
To subscribe:    send mail to [EMAIL PROTECTED]  
                 with the word SUBSCRIBE as the subject.
To unsubscribe:  send mail to [EMAIL PROTECTED] 
                 with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'. 
An archive is available at http://www.mail-archive.com/tcljava@scriptics.com

Reply via email to