hipchat-java icon indicating copy to clipboard operation
hipchat-java copied to clipboard

Java 7 support?!

Open ianaz opened this issue 10 years ago • 7 comments

Many of us still uses Java 7, especially in old projects. Would be possible to make a Java 7 compatible jar?

ianaz avatar Feb 18 '15 14:02 ianaz

+1. I sent the dev an email a few minutes ago with the same request

desrever-nu avatar Feb 19 '15 18:02 desrever-nu

Will try to look into some good ways for doing this.

evanwong avatar Feb 19 '15 19:02 evanwong

Hello, do you have any news regarding the compatibility with Java 7 ?

stemlaur avatar Mar 12 '15 07:03 stemlaur

Unfortunately not much update yet. Since I am using lambda in the implementation, I am not able to compile it using Java 7. Still trying to see if there is a good way of doing that.

evanwong avatar Mar 16 '15 14:03 evanwong

Thx @evanwong for your reply

stemlaur avatar Mar 17 '15 20:03 stemlaur

As I see, the only use of lambda is for the ExecutorService. I might take a look and submit a PR if I find the time for it.

stemlaur avatar Mar 31 '15 20:03 stemlaur

I actually found a good (seems to be) workaround using retrolambda. Tested it with Java7.

Gradle:

compile 'io.evanwong.oss:hipchat-java7:0.3.0'

Maven:

<dependency>
    <groupId>io.evanwong.oss</groupId>
    <artifactId>hipchat-java7</artifactId>
    <version>0.3.0</version>
</dependency>

evanwong avatar Apr 03 '15 20:04 evanwong