[Nice-commit] Nice/testsuite/compiler/native retyping.testsuite,1.2,1.3
Brought to you by:
bonniot
From: <bo...@us...> - 2003-09-02 23:14:17
|
Update of /cvsroot/nice/Nice/testsuite/compiler/native In directory sc8-pr-cvs1:/tmp/cvs-serv3205/testsuite/compiler/native Modified Files: retyping.testsuite Log Message: When a method is retyped after it has been registered for dispatch, unregister it to avoid spurious coverage error. Index: retyping.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/native/retyping.testsuite,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** retyping.testsuite 22 Oct 2002 16:52:07 -0000 1.2 --- retyping.testsuite 2 Sep 2003 23:14:14 -0000 1.3 *************** *** 25,26 **** --- 25,42 ---- native int java.text.AttributedCharacterIterator.getRunLimit (java.text.AttributedCharacterIterator.Attribute); + + /// PASS + /// package a + /// Toplevel + + abstract class A implements javax.swing.Action { + putValue(x, y) {} + } + /// package b import a + /// Toplevel + <T> void putValue(javax.swing.Action, String, T) = + native void javax.swing.Action.putValue(String, Object); + + public class Flow4JEditPartFactory implements javax.swing.Action { + putValue(editPart, model) {} + } |