LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Find Resources
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cvs-checkins > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: cvs at opencores.org<cvs@o...>
    Date: Sat Aug 19 14:59:57 CEST 2006
    Subject: [cvs-checkins] MODIFIED: jop ...
    Top
    Date: 00/06/08 19:14:59

    Modified: jop/java/target/src/jdk/java/lang Object.java
    Log:
    Object.hashCode()


    Revision Changes Path
    1.2 jop/java/target/src/jdk/java/lang/Object.java

    http://www.opencores.org/cvsweb.shtml/jop/java/target/src/jdk/java/lang/Object.java.diff?r1=1.1&r2=1.2

    (In the diff below, changes in quantity of whitespace are not shown.)

    Index: Object.java
    ===================================================================
    RCS file: /cvsroot/martin/jop/java/target/src/jdk/java/lang/Object.java,v
    retrieving revision 1.1
    retrieving revision 1.2
    diff -u -b -r1.1 -r1.2
    --- Object.java 19 Feb 2004 13:21:30 -0000 1.1
    +++ Object.java 19 Aug 2006 12:59:57 -0000 1.2
    @@ -38,6 +38,8 @@

    package java.lang;

    +import com.jopdesign.sys.Native;
    +
    // import gnu.classpath.Configuration;

    /**
    @@ -180,6 +182,11 @@
    * @see #equals(Object)
    * @see System#identityHashCode(Object)
    */
    + public int hashCode()
    + {
    + return Native.toInt(this);
    + }
    +
    /*
    public int hashCode()
    {



     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.