Issue1080

classification
Title: support for annotations?
Type: rfe Severity: normal
Components: Core Versions: Jython 2.7
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: cprinos, fwierzbicki, kohsuke, tzellman, zyasoft
Priority: low Keywords:

Created on 2008-07-17.21:05:13 by cprinos, last changed 2014-06-19.07:39:19 by zyasoft.

Messages
msg3351 (view) Author: Chris Prinos (cprinos) Date: 2008-07-17.21:05:13
with decorator support in 2.5, will there also be compatibility with
java annotations? The simple case fails at runtime:

#----annot.py-----
import java.lang.Deprecated

@java.lang.Deprecated()
def foo():
    print 'foo'
    
foo()
#-------------

Traceback (most recent call last):
  File "annot.py", line 5, in <module>
    def foo():
TypeError: can't instantiate interface (java.lang.Deprecated)
msg4244 (view) Author: Jim Baker (zyasoft) Date: 2009-03-12.08:23:09
A big priority for future Java integration
msg8739 (view) Author: Jim Baker (zyasoft) Date: 2014-06-19.07:39:19
Such support is planned for Clamp, outside of Jython core. See https://github.com/jythontools/clamp/
History
Date User Action Args
2014-06-19 07:39:19zyasoftsetstatus: open -> closed
resolution: remind -> wont fix
messages: + msg8739
2013-02-19 18:53:29fwierzbickisetresolution: remind
versions: + Jython 2.7, - Deferred
2010-10-30 09:04:36tzellmansetnosy: + tzellman
2009-03-30 16:19:55fwierzbickisetassignee: fwierzbicki ->
2009-03-29 03:17:48kohsukesetnosy: + kohsuke
2009-03-14 14:18:43fwierzbickisetpriority: low
2009-03-12 08:23:09zyasoftsetnosy: + zyasoft
type: rfe
messages: + msg4244
versions: + Deferred, - 2.5alpha1
2008-11-01 13:55:13fwierzbickisetassignee: fwierzbicki
2008-11-01 13:54:56fwierzbickisetnosy: + fwierzbicki
components: + Core
2008-07-17 21:05:13cprinoscreate