Re: [LANG] FieldUtils forceAccess does not force access for final

2014-01-31 Thread Benedikt Ritter
code is currently factored means that > > you'd get write access when you only need read... > > > > Gary > > > > > > ---- Original message ---- > > From: Benedikt Ritter > > Date:01/30/2014 13:22 (GMT-05:00) > > To: Commons Developers List >

Re: [LANG] FieldUtils forceAccess does not force access for final

2014-01-30 Thread Gary Gregory
Benedikt Ritter > Date:01/30/2014 13:22 (GMT-05:00) > To: Commons Developers List > Subject: Re: [LANG] FieldUtils forceAccess does not force access for final > > So the point you're making is that accessibility alway includes write > access? > > > 2014/1/29 Gary Grego

Re: [LANG] FieldUtils forceAccess does not force access for final

2014-01-30 Thread Gary Gregory
Utils forceAccess does not force access for final So the point you're making is that accessibility alway includes write access? 2014/1/29 Gary Gregory > Hi All: > > I have a use case where I need to use reflection to set a public static > final Object. > > This does not wo

Re: [LANG] FieldUtils forceAccess does not force access for final

2014-01-30 Thread Benedikt Ritter
So the point you're making is that accessibility alway includes write access? 2014/1/29 Gary Gregory > Hi All: > > I have a use case where I need to use reflection to set a public static > final Object. > > This does not work with our FieldUtils class because the "forceAccess" > argument is onl

[LANG] FieldUtils forceAccess does not force access for final

2014-01-29 Thread Gary Gregory
Hi All: I have a use case where I need to use reflection to set a public static final Object. This does not work with our FieldUtils class because the "forceAccess" argument is only used to deal with field visibility by calling Field#setAccessible(boolean) Q1: Should "forceAccess" be expanded to