Well, it depends on your understanding of the concept of 'success';)
Seriously: the reason for the test you ripped out is that Java 6
introduced a change in the way '@Override' is interpreted, one that
does not mesh well with the way Android wants to use it. So you have
stuff that compiled, but that is no guarantee that it will actually
run correctly!

Considering what @Override actually does, however, the build you got
will probably actually work, it will only be when trying to compile
new Android code that you will have to no longer trust the @Override
annotation to correctly flag errors. Or at least I could believe that
if you also had no warnings.

Did any of the warnings have anything to do with methods being re-
defined?

On May 25, 10:31 am, "Robert P. J. Day" <[email protected]> wrote:
>   strictly for the entertainment value, i decided to follow the
> instructions here for 64-bit ubuntu:
>
>  http://source.android.com/source/download.html
>
>   as i have a perfectly stock install of ubuntu 10.04, i had to make a
> couple tweaks -- some of the packages in the "required list" have been
> slightly renamed and, since i didn't feel like regressing my java 6 to
> java 5, i cavalierly ripped out the test for the version of java that
> would normally cause the build to fail and typed "make".
>
>   a couple hours later, it finished:
>
> ...
> Generated: (out/target/product/generic/android-info.txt)
> Target system fs image:
> out/target/product/generic/obj/PACKAGING/systemimage_unopt_intermediates/system.img
> Install system fs image: out/target/product/generic/system.img
> Target ram disk: out/target/product/generic/ramdisk.img
> Target userdata fs image: out/target/product/generic/userdata.img
> Installed file list: out/target/product/generic/installed-files.txt
> $
>
>   am i to assume then that i successfully built the entire code base
> using java 6?  other than numerous compilation warnings, i didn't
> notice any build errors.
>
> rday
>
> --
>
> ========================================================================
> Robert P. J. Day                               Waterloo, Ontario, CANADA
>
>             Linux Consulting, Training and Kernel Pedantry.
>
> Web page:                                          http://crashcourse.ca
> Twitter:                                      http://twitter.com/rpjday
> ========================================================================
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow 
> athttp://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group 
> athttp://groups.google.com/group/android-beginners?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to