It is true that GIN is kind of unmaintained. There has been some internal
patches but nobody bothered moving the project out of Google code and
export those due to initial overhead.

Bu regardless, right now GIN uses reflection with a ClassLoader hack to
access types. And at least some code visible by GIN will be compiled by JDT
(e.g. super-source code, classes generated by other generators etc.) so it
will see java8 byte code (hence the error). I don't see a practical way to
make GIN work in a JDK 7 environment.

If there are other similar generators, they will not work in JDK7 as well
but I don't believe there are many like that.

On Thu, Feb 18, 2016 at 9:51 AM, Thomas Broyer <t.bro...@gmail.com> wrote:

>
>
> On Thursday, February 18, 2016 at 6:29:22 PM UTC+1, Jens wrote:
>>
>>
>> Isn't GIN unmaintained anyway?
>>>
>> (and what we're all waiting for is proper GWT support in Dagger 2 ;-) )
>>>
>>
>> I don't know. GIN works well and a ton of apps use it.
>>
>
> Well, at least it's not actively developed: with the last version released
> nearly 2.5 years ago, the last commit exactly two years ago tomorrow (on
> the Ant build, so without the need to re-release), and more importantly
> with the repository being archived on Google Code Hosting and not migrated
> to GitHub.
> That sounds like "unmaintained" to me.
>
>
>> A lot of these apps will probably not migrate to Dagger 2 anytime soon
>> (especially not if it takes ages for a PR to be accepted).
>>
>
> So they probably won't migrate to GWT 2.8 either.
>
>
>> Anyways any generator that tries to load JDT generated classes while
>> being executed with Java 7 will fail.
>>
>
> Just like when "-sourceLevel 7"  was added a few years back; except that
> at the time it would break DevMode also (it still does, the difference
> being that nobody will use it anymore).
>
>
>> I wouldn't bet that GIN is the only library affected. I just wanted to
>> note that the current situation is not "GWT 2.8 is fully compatible to Java
>> 7", its more like "GWT 2.8 might work with Java 7 depending on the library
>> you use" which is kind of a bad statement.
>>
>
> What GIN does with the classloader is clearly a hack, people using hacks
> shouldn't complain when the hacks stop working (remember CSS hacks?)
>
> YMMV.
>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Contributors" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-web-toolkit-contributors/eb227511-e93a-434d-9d1f-08784d75f4a9%40googlegroups.com
> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/eb227511-e93a-434d-9d1f-08784d75f4a9%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA3P043Po3XpfD-FikDc8tMZjH0Xx0_QA5SzfxBSTC-YKg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to