|
|
Nice/testsuite/compiler/classes native.testsuite,1.8,1.9: msg#00013
|
Subject: |
Nice/testsuite/compiler/classes native.testsuite,1.8,1.9 |
Update of /cvsroot/nice/Nice/testsuite/compiler/classes
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31914/F:/nice/testsuite/compiler/classes
Modified Files:
native.testsuite
Log Message:
Testcase for bug where a retyping of a constructor makes static
fields/functions not accessable.
Index: native.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/classes/native.testsuite,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** native.testsuite 30 Nov 2003 14:24:35 -0000 1.8
--- native.testsuite 8 Dec 2004 01:10:27 -0000 1.9
***************
*** 56,57 ****
--- 56,63 ----
/// package b import a
{}
+
+ /// PASS bug
+ // retyping of constructor should not break usage of static fields/functions
+ String str = String.valueOf(true);
+ /// Toplevel
+ String String(char[]) = native new String(char[]);
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
|
| |