[Nice-commit] Nice/regtest/java access.nice,1.1,1.2
Brought to you by:
bonniot
From: Daniel B. <bo...@us...> - 2004-09-20 10:24:55
|
Update of /cvsroot/nice/Nice/regtest/java In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25363/regtest/java Modified Files: access.nice Log Message: Do not create custom constructors based on unaccessible parent constructors. Correct access checking for default (non-protected) visibility. Index: access.nice =================================================================== RCS file: /cvsroot/nice/Nice/regtest/java/access.nice,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** access.nice 19 Feb 2004 11:30:03 -0000 1.1 --- access.nice 20 Sep 2004 10:24:42 -0000 1.2 *************** *** 3,6 **** --- 3,10 ---- void testAccess() { + // This should call the J(Object) constructor since J(String) + // is not visible. + let j = new SubJ(""); + // TODO: This should call the access(Object) method, access(String) // is not visible. |