From: Peter D. <pe...@re...> - 2007-01-30 00:06:26
|
Hi, What compiler was this an error for? I ask because I suspect some of the code in the other tests have similar constructs ;) On 1/30/07, rg...@us... <rg...@us...> wrote: > Revision: 11394 > http://svn.sourceforge.net/jikesrvm/?rev=11394&view=rev > Author: rgarner > Date: 2007-01-29 16:01:35 -0800 (Mon, 29 Jan 2007) > > Log Message: > ----------- > Fix compile errors in InlineAllocation > > Modified Paths: > -------------- > rvmroot/trunk/testing/tests/gctest/src/InlineAllocation.java > > Modified: rvmroot/trunk/testing/tests/gctest/src/InlineAllocation.java > =================================================================== > --- rvmroot/trunk/testing/tests/gctest/src/InlineAllocation.java 2007-01-29 01:48:34 UTC (rev 11393) > +++ rvmroot/trunk/testing/tests/gctest/src/InlineAllocation.java 2007-01-30 00:01:35 UTC (rev 11394) > @@ -87,11 +87,11 @@ > */ > public static void main(String[] args) throws Exception { > Class clazz = Class.forName("InlineAllocation"); > - Method trivialJ = clazz.getDeclaredMethod("trivial", clazz); > + Method trivialJ = clazz.getDeclaredMethod("trivial", new Class[] {clazz}); > Method alloc1J = clazz.getDeclaredMethod("alloc1", (Class[])null); > Method alloc2J = clazz.getDeclaredMethod("alloc2", (Class[])null); > Method alloc3J = clazz.getDeclaredMethod("alloc3", (Class[])null); > - Method alloc4J = clazz.getDeclaredMethod("alloc4", Integer.TYPE); > + Method alloc4J = clazz.getDeclaredMethod("alloc4", new Class[] {Integer.TYPE}); > > VM_Method trivial = java.lang.reflect.JikesRVMSupport.getMethodOf(trivialJ); > VM_Method alloc1 = java.lang.reflect.JikesRVMSupport.getMethodOf(alloc1J); > > > This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Jikesrvm-commits mailing list > Jik...@li... > https://lists.sourceforge.net/lists/listinfo/jikesrvm-commits > -- Cheers, Peter Donald |