Bug 968279: Fix jboss[as|eap] java7 marker detection