Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4074927

Illegal code compiles

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P5 P5
    • None
    • 1.1.2
    • tools
    • None
    • sparc
    • solaris_2.5.1



      Name: joT67522 Date: 08/27/97


      When one does:
      class toto {
        public Hashtable table = new Hashtable();
        public Object getFeature(Object key) {
          return toto.table.get(key);
        }
      }
      it compiles, while the spec says it should not.
      company - Dassault Systemes , email - ###@###.###
      ======================================================================

            dstoutamsunw David Stoutamire (Inactive)
            johsunw Joon Oh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: