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

overridding synchronized method with non-synchronized method should error

    XMLWordPrintable

Details

    • sparc
    • solaris_2.5

    Description

       
      > From ###@###.### Thu Mar 14 16:46 PST 1996
      > Return-Path: <###@###.###>
       
      > - If a method is overridden in a subclass where:
      > the superclass implementation defined the method synchronized,
      > and the subclass omits the synchronized,
      > the compiler does not complain. This is REALLY BAD.
      > FURTHERMORE, the runtime seems not synchronize when the
      > subclassed method calls super.method(). I have not conclusively
      > established that this is happening, but it certainly behaved as
      > though it was.

      Attachments

        Activity

          People

            fyellinsunw Frank Yellin (Inactive)
            bhagen Benjamin Hagen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: