Please create a pull request that adds or modifies an existing test in org.hibernate.test.hql.ASTParserLoadingTest that reproduces your issue.