Re: getField vs getDeclaredField in analysis SPI

2021-09-14 Thread Alan Woodward
21 9:59 AM >> To: dev@lucene.apache.org >> Subject: RE: getField vs getDeclaredField in analysis SPI >> >> Hi Alan, >> >> I will open an issue about this! >> >> Uwe >> >> - >> Uwe Schindler >> Achterdiek 19, D-28357 Bre

RE: getField vs getDeclaredField in analysis SPI

2021-09-13 Thread Uwe Schindler
gt; Subject: RE: getField vs getDeclaredField in analysis SPI > > Hi Alan, > > I will open an issue about this! > > Uwe > > - > Uwe Schindler > Achterdiek 19, D-28357 Bremen > https://www.thetaphi.de > eMail: u...@thetaphi.de > > > -Original Message

RE: getField vs getDeclaredField in analysis SPI

2021-09-13 Thread Uwe Schindler
Uwe > > - > Uwe Schindler > Achterdiek 19, D-28357 Bremen > https://www.thetaphi.de > eMail: u...@thetaphi.de > > > -Original Message- > > From: Alan Woodward > > Sent: Monday, September 6, 2021 3:48 PM > > To: dev@lucene.apache.org > > Subje

RE: getField vs getDeclaredField in analysis SPI

2021-09-06 Thread Uwe Schindler
e- > From: Alan Woodward > Sent: Monday, September 6, 2021 3:48 PM > To: dev@lucene.apache.org > Subject: Re: getField vs getDeclaredField in analysis SPI > > Thanks Uwe! > > > On 6 Sep 2021, at 13:11, Uwe Schindler wrote: > > > > Hi Alan, > &

Re: getField vs getDeclaredField in analysis SPI

2021-09-06 Thread Alan Woodward
Thanks Uwe! > On 6 Sep 2021, at 13:11, Uwe Schindler wrote: > > Hi Alan, > >> LUCENE-9281 moved the `lookupSPIName` method from >> AbstractAnalysisFactory to AnalysisSPILoader; the method is mostly the same, >> but one line has been changed from Class.getField() to >> Class.getDeclaredField().

RE: getField vs getDeclaredField in analysis SPI

2021-09-06 Thread Uwe Schindler
Hi Alan, > LUCENE-9281 moved the `lookupSPIName` method from > AbstractAnalysisFactory to AnalysisSPILoader; the method is mostly the same, > but one line has been changed from Class.getField() to > Class.getDeclaredField(). > This can fall foul of the Security Manager, which wants a higher level

getField vs getDeclaredField in analysis SPI

2021-09-06 Thread Alan Woodward
Hi all, LUCENE-9281 moved the `lookupSPIName` method from AbstractAnalysisFactory to AnalysisSPILoader; the method is mostly the same, but one line has been changed from Class.getField() to Class.getDeclaredField(). This can fall foul of the Security Manager, which wants a higher level of perm