You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by sc...@btopenworld.com on 2003/09/03 13:36:45 UTC

Re: [lang] Applet usage

[lang] should be mostly usable in an Applet. (Hopefully SystemUtils should be now). If you find something that isn't, patches and discussion would be great ;-)

Stephen


>  from:    Paul Libbrecht <pa...@activemath.org>
> This looks interesting... Dare I ask how much of this is meant to be  
> applet-friendly.
> 
> This looks to be enhancement, there is no more something like a static  
> System.getProperties() which I think I remember having seen earlier.  
> And System.getProperty() seem to restricted to allowed ones.
> 
> However I see the use of the Class.getDeclaredConstructors() or  
> Class.getDeclaredFields() at many places. Although this sounds to be a  
> good design approach it is sadly not applet-friendly... (ask Sun why, I  
> never understood, they say it's to understand the class and possibly  
> reverse-engineer or something like that).
> 
> And maybe there are other issues.
> I shall start proposing patches  when I'll use it in this setting but I  
> would look forward to hear if other people use it in a sandboxed way  
> (e.g. JNLP no-permissions, or applets).
> 
> Thanks.
> 
> Paul
> 
> 
> On Mercredi, sept 3, 2003, at 04:13 Europe/Paris, Henri Yandell wrote:
> 
> >
> > The Commons Lang team are proud to announce the version 2.0 release of
> > their set of Java libraries which enhance the standard Java core of
> > java.lang and java.util.
> >
> > The Lang webpage may be seen at  
> > http://jakarta.apache.org/commons/lang.html.
> >
> > There have been lots of additions, some changes and a bunch of
> > deprecations. The release notes available at
> > http://www.apache.org/dist/jakarta/commons/lang/RELEASE-NOTES.txt give  
> > an
> > overview of the new version, but the JDiff output at
> > http://jakarta.apache.org/commons/lang/Commons-Lang-1.0.1-to-2.0/ 
> > changes.html
> > is the most in depth description of the changes since Lang 1.0.1.
> >
> > Any bugs, complaints and ideas for improvements are all gratefully
> > received via Bugzilla or the Commons-User mail list, both linked to  
> > from
> > the Commons Lang webpage.
> >
> >
> > Henri Yandell
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-user-help@jakarta.apache.org
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: [lang] Applet usage

Posted by Paul Libbrecht <pa...@activemath.org>.
As I mentionned, I see at least usage Class.getDeclaredFields() and 
Class.getDeclaredMethods() to be a problem and it looks mostly 
repetetively used as a pattern for which, probably, Class.getMethods() 
and Class.getFields() might be a good replacement (which works).

This was a problem on BeanUtils and removing the "declared" has made it 
work.

Paul


On Mercredi, sept 3, 2003, at 13:36 Europe/Paris, 
scolebourne@btopenworld.com wrote:

> [lang] should be mostly usable in an Applet. (Hopefully SystemUtils 
> should be now). If you find something that isn't, patches and 
> discussion would be great ;-)
>
>>  from:    Paul Libbrecht <pa...@activemath.org>
>> However I see the use of the Class.getDeclaredConstructors() or
>> Class.getDeclaredFields() at many places. Although this sounds to be a
>> good design approach it is sadly not applet-friendly... (ask Sun why, 
>> I
>> never understood, they say it's to understand the class and possibly
>> reverse-engineer or something like that).


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org