Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
PAYARA-3796 Stop checking whether the JNDI name refers to a String ju… #4284
…st use toString instead if the lookup suceeds.
Fixes GH #3935
Signed-off-by: Steve Millidge email@example.com
This is a small enhancement it enables use of other types of custom JNDI resources other than Strings to be injected as ConfigProperties
The JNDI config source was explicitly testing whether the object looked up via JNDI was assignable to a String. This is unnecessarily restrictive therefore now it just does a toString.
Tested using the GH reproducer.
Test suites executed
Notes for Reviewers