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

Closures support instead of anonymous inner classes

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.2.0, 1.3.0, 1.4.0, 1.4.2, 5.0, 6
    • specification
    • None
    • generic, x86
    • generic, linux, linux_redhat_9.0, windows_2000, windows_xp

      Look at JSR 241 <http://jcp.org/en/jsr/detail?id=241>.
      Particularly to closures <http://groovy.codehaus.org/closures.html>.

      I wish I could code this way Runnables, PropertyChangeListeners, ... all typical single method annonymous inner classes that clutter my code.
      ###@###.### 2004-03-16
      ###@###.### 2004-03-16

            abuckley Alex Buckley
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: