Update of /cvsroot/nice/Nice/regtest/java
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2646/regtest/java
Modified Files:
main.nice
Added Files:
access.nice
Log Message:
Postpone the distinction between protected and default until we have
implemented visibility in Nice.
--- NEW FILE: access.nice ---
package regtest.java;
void testAccess()
{
// TODO: This should call the access(Object) method, access(String)
// is not visible.
//new regtest.java.J.J().access("");
}
Index: main.nice
===================================================================
RCS file: /cvsroot/nice/Nice/regtest/java/main.nice,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** main.nice 19 Feb 2004 09:33:51 -0000 1.2
--- main.nice 19 Feb 2004 11:30:03 -0000 1.3
***************
*** 12,14 ****
--- 12,16 ----
{
jMethod(new SubJ(), new regtest.java.J.Other());
+
+ testAccess();
}
|