logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

Nice/src/gnu/bytecode Type.java,1.14,1.15 ArrayType.java,1.5,1.6 Access.jav: msg#00109

lang.nice.cvs

Subject: Nice/src/gnu/bytecode Type.java,1.14,1.15 ArrayType.java,1.5,1.6 Access.java,1.3,1.4

Update of /cvsroot/nice/Nice/src/gnu/bytecode
In directory sc8-pr-cvs1:/tmp/cvs-serv18702/src/gnu/bytecode

Modified Files:
Type.java ArrayType.java Access.java
Log Message:
Take into account that clone is a public method for arrays.


Index: Type.java
===================================================================
RCS file: /cvsroot/nice/Nice/src/gnu/bytecode/Type.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** Type.java 24 Jun 2003 20:07:38 -0000 1.14
--- Type.java 25 Aug 2003 22:30:00 -0000 1.15
***************
*** 198,201 ****
--- 198,203 ----
public final boolean isVoid () { return size == 0; }

+ public boolean isArray () { return false; }
+
/** Returns the primitive type corresponding to a signature character.
* @return a primitive type, or null if there is no such type. */

Index: ArrayType.java
===================================================================
RCS file: /cvsroot/nice/Nice/src/gnu/bytecode/ArrayType.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** ArrayType.java 19 Nov 2002 16:28:01 -0000 1.5
--- ArrayType.java 25 Aug 2003 22:30:00 -0000 1.6
***************
*** 24,27 ****
--- 24,29 ----
}

+ public final boolean isArray () { return true; }
+
public Type getImplementationType()
{

Index: Access.java
===================================================================
RCS file: /cvsroot/nice/Nice/src/gnu/bytecode/Access.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Access.java 25 Aug 2003 18:09:10 -0000 1.3
--- Access.java 25 Aug 2003 22:30:00 -0000 1.4
***************
*** 61,64 ****
--- 61,69 ----
return c == target;

+ // clone is the only method overriden for arrays, where it is public.
+ // (JLS-2 10.7)
+ if (m.getName().equals("clone") && receiver.isArray())
+ return true;
+
// PROTECTED
return c.getPackageName().equals(target.getPackageName())




-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0





Only community members can participate in forum threads. You must Register or log in to contribute.

<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo