gwt-log compile-time incompatibility with java 6

58 views
Skip to first unread message

Mike Traum

unread,
Dec 28, 2014, 12:27:39 PM12/28/14
to gwt...@googlegroups.com
I don't know if this is intentional, but gwt-log is no longer (gwt-log 3.3.2) compile-time compatible with java 6. RC versions of gwt 2.6 had this issue which they resolved because gwt is still 6 compatible.

Here's the compile exception:
[INFO]    Loading inherited module 'com.allen_sauer.gwt.log.gwt-log-TRACE'
[INFO]       Loading inherited module 'com.allen_sauer.gwt.log.gwt-log-impl'
[INFO]          [ERROR] Unexpected error while processing XML
[INFO] java.lang.UnsupportedClassVersionError: com/allen_sauer/gwt/log/rebind/LogMessageFormatterGenerator : Unsupported major.minor version 51.0

Here's a look at the compiled file:
$ file LogMessageFormatterGenerator.class
LogMessageFormatterGenerator.class: compiled Java class data, version 51.0

It sounds like it wouldn't be a big deal to just compile for java 6 under java 7, but if you're in an environment that has a build server which is still on 6, it becomes more problematic.

Thanks,
Mike
 

Aravind Anantharaman

unread,
Jul 6, 2015, 6:57:13 AM7/6/15
to gwt...@googlegroups.com
Even I am facing the same .. Can any one help on this !!

I am using GWT :2.7
JAVA 1.6
gwt-log 3.3.2

Thanks in Advance.!!
Reply all
Reply to author
Forward
0 new messages