-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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. Mark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTVsnKAAoJEBDAHFovYFnnPDoP/Roc+9RwZnCSnZIj7Kf+Xrt9 Mu7VcrkxthxM4+QOtWXv75iQ9IWr+q2NGwwt6WbFjkfDRl3dYlMvvBwKlDYYTyZG PSLOJ38+LK+bufCLaFF2ZuXKnlQsEwiD3Sn9EqOJljlOtLhv+BjzOIEESMzaUTPC sgZs/d2GfiFBiYyiq6T2+zwisSbWCRw1/yE3Dv+cj1EKaC1oNlp8wv4yvap+wIRr RcszeZeIK3uID7gezZ74hu6eODRHPOYZeqtsu4jGLD7fD9Zh0B8hK4u3o/Mu2Al5 NGYDYAXmXGwS7PJIK37AonBO9vN4tEGbRhqhn4+F+ERGt30t4crbtXVziwJKJWYQ CV74o+nJhjd7nCUMmNqKuNzGsIKzE8b1nI61taI1pyMSa13CxXcVvDcdiCSnDqAT bgYF9bGyPi1YWAY5JwL4J8T5PwsGc996z/LyQQaPu65UGqNblyfT7WyUO79Pg4DS sW+eItWLiPbr1eAIEk2LEu7jlCmZ+ZQnDqzmcFSjvAQZYJwEZAIvSEDgsZ8H7TQJ 7dM/4DqQAXfi5RtsGXPmTp7V4tAE6e7zckIbJ+LZUtej6PsuApnMmTIIgoCwAkuz cIYyaaYik6eArPUjz7zsVIOsK/PO5wYebIxNCObPCGQ2D3eoC+VzQvl3vgu2SWLW n+5/rpv0/twEGzc13dxp =yA+j -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org