nmjukin / google-sites-liberation

Automatically exported from code.google.com/p/google-sites-liberation
0 stars 0 forks source link

Code does not compile #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Follow steps outlined in bug 12 to fix pom.xml
2. run maven clean install
3. See lots of errors like this:

What is the expected output? What do you see instead?

/usr/local/google/src/gcode/google-sites-
liberation/src/main/java/com/google/sites/liberation/util/EntryType.java:[
71,8] inconvertible types
found   : com.google.gdata.data.sites.BaseContentEntry<capture#501 of ?>
required: com.google.gdata.data.sites.AnnouncementEntry

/usr/local/google/src/gcode/google-sites-
liberation/src/main/java/com/google/sites/liberation/util/EntryType.java:[
74,8] inconvertible types
found   : com.google.gdata.data.sites.BaseContentEntry<capture#903 of ?>
required: com.google.gdata.data.sites.AnnouncementsPageEntry

/usr/local/google/src/gcode/google-sites-
liberation/src/main/java/com/google/sites/liberation/util/EntryType.java:[
77,8] inconvertible types
found   : com.google.gdata.data.sites.BaseContentEntry<capture#935 of ?>
required: com.google.gdata.data.sites.AttachmentEntry

What version of the product are you using? On what operating system?

This is the source from branch store; revision 66a17bc522; with the patch 
(and hand-install of gdata libraries) as detailed in bug 12 applied.

I'm building this on Ubuntu Hardy

Original issue reported on code.google.com by jamezpol...@gmail.com on 29 Sep 2009 at 7:34

GoogleCodeExporter commented 8 years ago
This is a compiler bug.  http://bugs.sun.com/view_bug.do?bug_id=6548436  Use a 
different version of the compiler.

Original comment by gk5...@kickstyle.net on 1 Oct 2009 at 8:39

GoogleCodeExporter commented 8 years ago
Despite this being a complier bug, I went ahead and added a whole bunch of 
superfluous casts to workaround the issue.  There are TODOs to remove them when 
the 
bug goes away.

Original comment by gk5...@kickstyle.net on 1 Oct 2009 at 10:00