Re: Dependeny on javax.swing
Attila Szegedi <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
On 2009.12.28., at 9:25, Daniel Dekany wrote: > Monday, December 28, 2009, 8:22:53 AM, Attila Szegedi wrote: > >> Well, if you can get them to whitelist those, purely data-structure >> manipulating interfaces and classes that are found in >> javax.swing.tree.*, that'd be a start. As I said, something similar >> ought to exist in java.util.* anyway... >> >> However, if that obstacle is alleviated, we'll probably still run >> into this problem with GAE having a broken reflection implementation: >> <http://www.mail-archive.com/[email protected]/msg00865.html> > > So can that be worked around in FreeMarker (and of so, with how much > work)? We'd need to make the members that are being reflectively accessed public. We're using this technique - reflective creation of own objects - for compatibility purposes; so it gracefully degrades on 1.4 and 1.3 JREs where the classes being instantiated, or their dependencies, might not be present (i.e. Enums). Attila. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev