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: Mon Jul 30 03:41:35 CEST 2007
    Subject: [cvs-checkins] MODIFIED: jop ...
    Top
    Date: 00/07/07 30:03:41

    Modified: jop/java/target/src/test/jvm/obj Clinit.java
    Log:
    add new test


    Revision Changes Path
    1.2 jop/java/target/src/test/jvm/obj/Clinit.java

    http://www.opencores.org/cvsweb.shtml/jop/java/target/src/test/jvm/obj/Clinit.java.diff?r1=1.1&r2=1.2

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

    Index: Clinit.java
    ===================================================================
    RCS file: /cvsroot/martin/jop/java/target/src/test/jvm/obj/Clinit.java,v
    retrieving revision 1.1
    retrieving revision 1.2
    diff -u -b -r1.1 -r1.2
    --- Clinit.java 31 Jul 2005 13:10:46 -0000 1.1
    +++ Clinit.java 30 Jul 2007 01:41:35 -0000 1.2
    @@ -17,6 +17,8 @@

    static int[] b = { 123, -123, 456, -456, 50000, -50000 };

    +static Object o = new Object();
    +
    public String getName() {
    return "Clinit";
    }
    @@ -44,6 +46,8 @@
    if (b[4]!=50000) ok = false;
    if (b[5]!=-50000) ok = false;

    + if (o==null) ok = false;
    +
    return ok;

    }



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