make it compatiable with java 6(Now for raven, raven-stub and raven-log4j)