Mark, On 4/22/14, 3:58 PM, Mark Thomas wrote: > On 22/04/2014 20:53, Christopher Schultz wrote: >> Mark/Konstantin, > >> On 4/18/14, 11:29 AM, kkoli...@apache.org wrote: >>> Author: kkolinko Revision: 1588102 Modified property: svn:log >>> >>> Modified: svn:log at Fri Apr 18 15:29:06 2014 >>> ------------------------------------------------------------------------------ >>> >>> > --- svn:log (original) >>> +++ svn:log Fri Apr 18 15:29:06 2014 @@ -1 +1,3 @@ Fix an Eclipse >>> nag +Correct signature of SSL.fipsModeGet(), +as native code is >>> implemented as throwing an Exception in this method. > >> Why single-out this method only to have its method signature >> changed? > >> Nearly every native method in SSL.java can throw an exception. I >> was just following convention. > > Because you documented the Exception in the Javadoc without declaring > it in the code and that triggered an IDE warning. The 8.0.x code is > kept warning free so either the Javadoc had to be removed or the > declaration corrected. Correcting the declaration seemed to be the > better option since it is possible for an exception to be thrown in > this case.
Fair enough. Shall we change the other methods in SSL.java as well? Any particular reason you removed the 'final' from fipsModeState? -chris
signature.asc
Description: OpenPGP digital signature