Java 7

45 views
Skip to first unread message

marzia...@yahoo.com

unread,
May 8, 2013, 9:50:09 AM5/8/13
to bin...@googlegroups.com
I found this library some time ago and it's wonderful. Congrats to Stephen it a fine piece of code...
I would like to use it now with java 7. Last release was more than 2 years ago (04.04.2011) in the meantime java 6 is eol.
I would appreciate if somebody more skilled than me could tick this project to work with java 7.
Is it possible ? Any guesstimate ?

Thanks,
Marzia

Stephen Haberman

unread,
May 10, 2013, 1:44:18 PM5/10/13
to bin...@googlegroups.com
Hi Marzia,

I haven't taken a look at extending support to Java 7--I guess I'd assumed
it should "just work". I can take a look at it sometime, probably next
week, but am already distracted for the next few days or so.

Are you running into any specific problems?

I'm glad you're enjoying bindgen!

Thanks,
Stephen

Bertrand Guay-Paquet

unread,
May 10, 2013, 1:49:33 PM5/10/13
to bin...@googlegroups.com
Hi,

If you look at the previous post to this ml, I explained some problems
with Java 7.

Here's a possible solution to loading the bindgen.properties file (not
sure if it works all the time)
File src = new
File(ServicesConfig.class.getProtectionDomain().getCodeSource().getLocation().toURI());

Regards,
Bertrand

Stephen Haberman

unread,
May 10, 2013, 1:56:14 PM5/10/13
to bin...@googlegroups.com
Hi Bertrand,

> If you look at the previous post to this ml, I explained some
> problems with Java 7.

Oh, well, that is embarrassing--sorry, I completely forgot about that.
I'll go take a look when I get a chance.

Thanks for reminding me!

- Stephen

Bertrand Guay-Paquet

unread,
May 10, 2013, 2:43:15 PM5/10/13
to bin...@googlegroups.com
No worries! I only wanted to make sure the work is not started from
scratch again. If I needed java7 support, I would've pushed the
investigation more.

marzia...@yahoo.com

unread,
May 13, 2013, 4:22:35 AM5/13/13
to bin...@googlegroups.com
Hi Bertrand,
you have already done all investigation around the issues regarding the jdk7 (your suggestion http://stackoverflow.com/questions/8185331/forward-compatible-java-6-annotation-processor-and-supportedsourceversion seemed very nice to me)  and I thank you... I opened a new thread just to raise a more attention/awareness as your thread was year and a half old and I was afraid that another post to it would pass unnoticed...
For what it serves my environment would be jdk7 with idea 12 and gradle 1.6...
Thank you all

Reply all
Reply to author
Forward
0 new messages