it uses jbossweb-7.0.16.Final. Which uses jdt-3.7 that should have worked :-(
Could you try a piece java7 code and check if it compiles?
The problem is that i have set target-vm and source-vm and nothing happend, it still works under java 1.5. Ofcourse i have tried to use java 7 syntaxis in jsp after my adjustments and server restart. I still get compiler error org.apache.jasper.JasperException: Unable to compile class
it works for me (with latest EAP6).
source-vm="1.7 " (is the space really there?).
Of course no, sorry this is my mistake here. I tested this settings in JBoss several time (and not only i, my colleagues, too). In jboss configuration file all parameters were correct, but as i say it didn't work (