Update of /cvsroot/nice/Nice/src/gnu/expr
In directory sc8-pr-cvs1:/tmp/cvs-serv3351/src/gnu/expr
Modified Files:
PrimProcedure.java
Log Message:
Check that calls to protected Java methods are valid access-wise.
Index: PrimProcedure.java
===================================================================
RCS file: /cvsroot/nice/Nice/src/gnu/expr/PrimProcedure.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** PrimProcedure.java 8 Aug 2003 19:16:32 -0000 1.8
--- PrimProcedure.java 25 Aug 2003 18:09:10 -0000 1.9
***************
*** 431,435 ****
comp.error('e', arg_error);
! compile(getStaticFlag() ? null : method.getDeclaringClass(), args, comp, target);
}
--- 431,441 ----
comp.error('e', arg_error);
! try {
! compile(getStaticFlag() ? null : method.getDeclaringClass(), args, comp, target);
! }
! catch (VerificationError e) {
! throw bossa.util.User.error(bossa.util.Location.make(exp),
! e.getMessage());
! }
}
|