logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Nice/testsuite/compiler/native retyping.testsuite,1.2,1.3: msg#00006

Subject: Nice/testsuite/compiler/native retyping.testsuite,1.2,1.3
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) {}
+ }




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf


<Prev in Thread] Current Thread [Next in Thread>