[android-developers] Re: Why force java 1.5?

2009-07-28 Thread Mark Murphy
阿偉 wrote: > This is android-developers group, not android-sdk... > The subject said "discuss developing Android applications using the > Android framework..." > So I think the compiler issue is suitable here. And I don't believe > this is a porting issue. > Am I wrong? I would vote for android-pl

[android-developers] Re: Why force java 1.5?

2009-07-28 Thread 阿偉
Yes, I'm talking about Android OSP. This is android-developers group, not android-sdk... The subject said "discuss developing Android applications using the Android framework..." So I think the compiler issue is suitable here. And I don't believe this is a porting issue. Am I wrong? Anyway, I'm

[android-developers] Re: Why force java 1.5?

2009-07-27 Thread Dianne Hackborn
The original poster was talking about the platform build system, so sent this to the wrong place and caused some confusion. Chih-Wei, for future reference, questions related to the platform (as opposed to the SDK) should be posted to android-porting. On Mon, Jul 27, 2009 at 8:25 AM, Mark Murphy w

[android-developers] Re: Why force java 1.5?

2009-07-27 Thread Mark Murphy
Romain Guy wrote: > We recently changed our build system to force you to use javac 1.5. Which build system? SDK apps, or Android OSP? I seem to be able to build SDK apps with Java 1.6 without complaint on 1.5r3. I may have misinterpreted the OP -- I assumed he was talking about the SDK, since t

[android-developers] Re: Why force java 1.5?

2009-07-27 Thread Romain Guy
We recently changed our build system to force you to use javac 1.5. While you can build the system with javac 1.6 (and you can certainly build apps with 1.6), many members of the Android team still need to use javac 1.5 for various reasons (mostly because Mac OS X.) If someone uses javac 1.6, we a

[android-developers] Re: Why force java 1.5?

2009-07-27 Thread Fred Grott(shareme)
I seem to made a good Guess..Apache Harmony targets sun java 5 compliance.. Fred Grott http://mobilebytes.wordpress.com On Jul 27, 6:59 am, Mark Murphy wrote: > Chih-Wei wrote: > > Recently the build system will check if java version is 1.5, and stop > > if the version mismatch. > > No, it do

[android-developers] Re: Why force java 1.5?

2009-07-27 Thread Fred Grott(shareme)
Given the use of Harmony java classes it may be that harmony targeted their stuff for sun java 1.5 compliance..but that is just a guess On Jul 27, 6:59 am, Mark Murphy wrote: > Chih-Wei wrote: > > Recently the build system will check if java version is 1.5, and stop > > if the version mismatc

[android-developers] Re: Why force java 1.5?

2009-07-27 Thread Mark Murphy
Chih-Wei wrote: > Recently the build system will check if java version is 1.5, and stop > if the version mismatch. No, it doesn't. It probably checks for the Sun compiler, since the system requirements say that is required: http://developer.android.com/sdk/1.5_r3/requirements.html But I use Su