Before, expressions like new java util ArrayList() or new .....java..util.ArrayList() can be treated as new java.util.ArrayList(), and can be parsed normally as if they were right. I added some code to ensure that only valid qualified ids are acceptable.

I add a test, and also checked that all the previous test have passed.

See #27133

Comment From: pivotal-cla

@lijinliangyihao Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-cla

@lijinliangyihao Thank you for signing the Contributor License Agreement!