petersomogyi commented on issue #1060: HBASE-23347 Allow custom authentication 
methods for RPCs; addendum
URL: https://github.com/apache/hbase/pull/1060#issuecomment-576203449
 
 
   The test fails to instantiate the 2 provider classes:
   `java.lang.NoSuchMethodException: 
org.apache.hadoop.hbase.security.provider.TestSaslClientAuthenticationProviders$ConflictingProvider1.<init>()`
   
   I found a [JDK bug report](https://bugs.openjdk.java.net/browse/JDK-8189233) 
with the same symptoms where it is described in the last comment why this is 
the correct behavior.
   
   tl;dr The default constructor won't be public for these classes so we either 
need to make the 2 classes public or explicitly add a public constructor.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to