Hi Leonid,
I could not replicate the issue at my end. I did a test in ME 8.0 and 8.5. What exactly are you trying to do?
I have created a web project of J2EE level 5. Created an UML2 class diagram and added a class to it. Then added a property to the class and generated java class. It did well without java.lang.*
Thanks,
Chakri.