[WFLY-838] Don't throw exceptions for jsr 77 queryObjectNames()
Merge pull request #6578 from kabir/jsr77-fixes

[WFLY-838] Don't throw exceptions for jsr 77 queryObjectNames()