[kaffe] failed regression tests on ppc-linux
Hey, this is what resulted after the titanic build and test on linux/ppc ( MkLinx, Mach kernel) -Ric begin 644 ppc-failed.tar.gz M'XL(([EMAIL PROTECTED]%R`.U8RW+:,!1ES5=HLBDLZEJ2'Y1E MVZ3-3?)E/R`:LM$Q;8\C3IWU[EMAIL PROTECTED]:0INALL'3/O:-A=,[EMAIL PROTECTED] M*B@(*P'00C#,$FB06B0=GXM,,*#,$TCC,T)H:/PQ0.0'[EMAIL PROTECTED](-* MEXH][.;MB[]1?9HJ+/[EMAIL PROTECTED]:,[EMAIL PROTECTED](--V,[`\\D;U?F(MFZ%= MG=LUL:JRW[GA]/Q.`;B7^-I_Z9OU\^'5O]^_8X=?K'6QX:,8A5[_ MQ\`MJRC7KP'QGR!I!FOVE6U:6-/=:^M]Q62LJZF]\?D`++'^41Q'46C[ M/TJPU_\QX/5_VKBBZIZ+16L#!D.\BZP3_\1CES_ARG$=OZ/XQ!Y_1\#U(4 M--*E89J^KIJ05-9[EMAIL PROTECTED])X+.1H/[EMAIL PROTECTED] M-PEJJH+N30H,^0[EMAIL PROTECTED]/:HN\J.!+BTWAQ\FJX)-7O*L[NVH38?X?%) MF-^,NP[POT?PCAQ_3]-[8N_Z?]F%/#Z/P9F.C,[EMAIL PROTECTED]P]4CGS$P7`MQQG/ M%E2YVW+^D-%,5Y/@=%X#NZ)!,RJ2.CF(=3WKS6P3K_IC226Q:Q-A/(]K'- M'G5CFW[P;!Q,WV*4/QDKZUFRN17KDA_WQE)LN5,C`;''M\*ER%_GY; M81)WWS2QG0%S1VK,+/6M5;+73#J1)T=]4[1H=DC?U?3H?3L)NOB5?ZHG M%;T*O=R1K(^PZ-K+'WT=TR4S0[EMAIL PROTECTED]).38*-`1L\4=]6YB9MO[:WW]A MLO[^TIMOX/X]3[_S'0ND%)[EMAIL PROTECTED]DI,(Z.RB6EY+WEV4[(YFRMY JMUYZ`YJ,N\25-6SR$G@:8Y6'AX'AX'AX'AX'QS^%O]L`B1(`*``` ` end ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] failed regression tests
As Rob says in http://www.kaffe.org/pipermail/kaffe/2003-July/042912.html, for now, if you use jikes 1.18 you should pass all the regression tests. or you can use KJC but make sure you pass the -noverify flag to kaffe to get over KJC's internal error. or add KJC's jar to the bootclasspath, I would like to change test/regression/TestScript.in so that make check can work with KJC. ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] failed regression tests
Hi all, hi, * KaffeInternal.java: * /* Expected Output: java.lang.NoClassDefFoundError: kaffe/lang/ThreadStack */ what i got: java.lang.SecurityException: Prohibited package: kaffe/lang/ThreadStack I believe that what I got is the expected behavior, only that between the writing of the regression test and now the exception thrown for a class attempting to access something that it should not be accessing has changed. perhaps the expected output of the regression test should be updated? The NoClassDefFoundError is correct, I think. The SecurityException is because a non-primordial class loader has found the class file and is trying to define the class. However, the class file should only be in the boot class path and not the regular class path. So, you should make sure that rt.jar is not in CLASSPATH. Also, the current CVS version doesn't work for me at all: error compiling: java.lang.VerifyError: final method printArgs declared in class at/dms/kjc/CReferenceType is overriden in class at/dms/kjc/CClassNameType at at.dms.kjc.KjcTypeFactory.init(KjcTypeFactory.java:51) at at.dms.kjc.Main.createEnvironment(Main.java:235) at at.dms.kjc.Main.run(Main.java:116) at at.dms.kjc.Main.compile(Main.java:69) at at.dms.kjc.Main.main(Main.java:60) FAIL: HelloWorldApp.java Rob tim ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] failed regression tests
Hi Tim, The NoClassDefFoundError is correct, I think. The SecurityException is because a non-primordial class loader has found the class file and is trying to define the class. However, the class file should only be in the boot class path and not the regular class path. So, you should make sure that rt.jar is not in CLASSPATH. thanks :) i had stuck the rt.jar in my CLASSPATH a couple months ago for some side project i was working on and simply left it there. i'm all set now. Also, the current CVS version doesn't work for me at all: error compiling: java.lang.VerifyError: final method printArgs declared in class at/dms/kjc/CReferenceType is overriden in class at/dms/kjc/CClassNameType at at.dms.kjc.KjcTypeFactory.init(KjcTypeFactory.java:51) at at.dms.kjc.Main.createEnvironment(Main.java:235) at at.dms.kjc.Main.run(Main.java:116) at at.dms.kjc.Main.compile(Main.java:69) at at.dms.kjc.Main.main(Main.java:60) FAIL: HelloWorldApp.java this actually means that my verifier is working correctly :) i checked by using BCEL's JustIce verifier on at.dms.kjc.CCClassNameType and it rejected that class for the same reason. i'm going to email the KJC folks about this and see what they think. for now, i could simply change the printArgs method in CReferenceType to not be final so that we can run regression tests using KJC. is it cool to change the KJC source in kafe CVS's source tree? for now, if you use jikes 1.18 you should pass all the regression tests. or you can use KJC but make sure you pass the -noverify flag to kaffe to get over KJC's internal error. or add KJC's jar to the bootclasspath. cheers, Rob ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] failed regression tests
--- Rob Gonzalez [EMAIL PROTECTED] wrote: Hi Tim, The NoClassDefFoundError is correct, I think. The SecurityException is because a non-primordial class loader has found the class file and is trying to define the class. However, the class file should only be in the boot class path and not the regular class path. So, you should make sure that rt.jar is not in CLASSPATH. thanks :) i had stuck the rt.jar in my CLASSPATH a couple months ago for some side project i was working on and simply left it there. i'm all set now. brief, helpful and up-to-the-point responses to weird issues ... that means Tim must be back from holidays ;) this actually means that my verifier is working correctly :) i checked by using BCEL's JustIce verifier on at.dms.kjc.CCClassNameType and it rejected that class for the same reason. i'm going to email the KJC folks about this and see what they think. for now, i could simply change the printArgs method in CReferenceType to not be final so that we can run regression tests using KJC. is it cool to change the KJC source in kafe CVS's source tree? I think the right way is as you propose: to go ahead and fix kjc. But you should check with jim first to see how far the effort to import kjc (and other external jars) into kaffe's CVS has come. See http://www.kaffe.org/pipermail/kaffe/2003-June/042806.html and please ignore the following licensing discussion ;) cheers, dalibor topic __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] failed regression tests
Hi Rob, --- Rob Gonzalez [EMAIL PROTECTED] wrote: * ThreadState.java: * /* Expected Output: Success. Success. Success. Success. Success. Success. Success. Success. Success. Success. */ what i got: Success. Success. Success. Success. Success. Success. Success. Success. Success. Success. interesting, eh? it turns out that my compiler (jikes 1.18) is spitting out tons of lexical warning messages such as: Issued 10 lexical warnings in ThreadState.java: 46. assert(false, main + e); ^^ *** Lexical Warning: The use of assert as an identifier is deprecated, as it is now a keyword. Use -source 1.4 if you intended to make use of assertions. these warnings are confusing the testing script. when i run jikes with the -nowarn option, this test is successful, as are: finaltest.java SortTest.java MapTest.java LineNumberReaderTest.java the regression scripts should definitely be ignoring the compiler output when checking to see if a test succeeds. I'd prefer to fix the regression test not to generate any warnings ;) The thread state example seems to be trivial enough: just rename assert to check, and it should be fixed. Since you're already wrestling with jikes 1.18, could you take a shot at fixing the warnings? If you don't have the time, I'd do it myself. * KaffeInternal.java: * /* Expected Output: java.lang.NoClassDefFoundError: kaffe/lang/ThreadStack */ what i got: java.lang.SecurityException: Prohibited package: kaffe/lang/ThreadStack I believe that what I got is the expected behavior, only that between the writing of the regression test and now the exception thrown for a class attempting to access something that it should not be accessing has changed. perhaps the expected output of the regression test should be updated? Weird. worked fine for me with kjc, two days ago. I'll give it another shot today. * DoublePrint.java: * * InnerTest.java: * both seem to fail due to bugs in jikes 1.18, see http://www.kaffe.org/pipermail/kaffe/2003-May/042293.html for a reference. cheers, dalibor topic __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] failed regression tests
Hi Dalibor, the regression scripts should definitely be ignoring the compiler output when checking to see if a test succeeds. I'd prefer to fix the regression test not to generate any warnings ;) The thread state example seems to be trivial enough: just rename assert to check, and it should be fixed. Since you're already wrestling with jikes 1.18, could you take a shot at fixing the warnings? If you don't have the time, I'd do it myself. done. * KaffeInternal.java: * /* Expected Output: java.lang.NoClassDefFoundError: kaffe/lang/ThreadStack */ what i got: java.lang.SecurityException: Prohibited package: kaffe/lang/ThreadStack I believe that what I got is the expected behavior, only that between the writing of the regression test and now the exception thrown for a class attempting to access something that it should not be accessing has changed. perhaps the expected output of the regression test should be updated? Weird. worked fine for me with kjc, two days ago. I'll give it another shot today. I still get the problem, but i'm using jikes 1.18 and not kjc. Rob ___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe