Openfire JDK compatibility problems

Hi! I recently started developing plugin for Openfire server (3.7.1) and got

**com.thoughtworks.qdox.parser.ParseException ** syntax error @[28,24] BUT THERE IS NO ANY SYNTAX ERRORS!

Can somebody explain why Openfire still uses java 1.5 ? and why sources compiled using QDox Parser?**
**

I’ve already got such exception with **enum (**and found solution from forum that at the end of enum add “;” semicolon **) but in this class there is no any enums. **What should i do to get it compiled?

After some investigation found that qdox version is old (1.6.1)

Problem disappeared after updating qdox to 1.6.3

Hope that somebody update qdox.jar in main openfire repo.