[Fb-contrib-commit] SF.net SVN: fb-contrib:[1370] trunk/fb-contrib/samples/CVAA_Sample.java
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2009-10-15 03:34:44
|
Revision: 1370
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1370&view=rev
Author: dbrosius
Date: 2009-10-15 03:34:37 +0000 (Thu, 15 Oct 2009)
Log Message:
-----------
add new detector CVAA - by Bhaskar Maddala
Added Paths:
-----------
trunk/fb-contrib/samples/CVAA_Sample.java
Added: trunk/fb-contrib/samples/CVAA_Sample.java
===================================================================
--- trunk/fb-contrib/samples/CVAA_Sample.java (rev 0)
+++ trunk/fb-contrib/samples/CVAA_Sample.java 2009-10-15 03:34:37 UTC (rev 1370)
@@ -0,0 +1,26 @@
+
+public class CVAA_Sample
+{
+ Base[] b2;
+ Derived[] d2;
+ class Base {}
+
+ class Derived extends Base {}
+
+ public void cvaa()
+ {
+ Derived[] d = new Derived[2];
+ cvaa_invoke(d, 5);
+ Base[] b = d;
+ cvaa_invoke(b, 5);
+ b2 = d;
+ d2 = d;
+ b[0] = new Base();
+
+ Integer[] a = new Integer[1];
+ System.arraycopy(a[0], 0, a, 1, 1);
+ }
+
+ private void cvaa_invoke(Base[] b, int n){
+ }
+}
Property changes on: trunk/fb-contrib/samples/CVAA_Sample.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|