Hi.I have a same problem. When I was trying to run CometdChat
Program,this warning be appeard : [2009-07-10 20:08:36 - cometdchat]
warning: Ignoring InnerClasses attribute for an anonymous inner class
that doesn't come with an associated EnclosingMethod attribute. (This
class was probably produced by a broken compiler.) What is it? What
should I do?
 I used JDK 1.6, eclipse-jee-ganymede-SR2-win32 and android-sdk-
windows-1.1_r1

regards


---------- Forwarded message ----------
From: Dan Bornstein <[email protected]>
Date: Mar 20, 10:42 am
Subject: tools dex
To: Android Developers


On Mar 20, 3:39 am, "[email protected]"

<[email protected]> wrote:
> Hi! I'm trying to use the "dex" tool with felix.jar. The result is the
> following:

> C:\Devel\android\tools>dx --dex--output=classes.dexE:\TELEFONICA
> \Devel\osgi-an
> droid\bin\felix.jar
> warning:IgnoringInnerClassesattribute for an anonymous inner class
> that doesn
> 't come with an associated EnclosingMethod attribute. (This class was
> probably p
> roduced by a broken compiler.)
> [...]

First of all, this is a warning and not an error. The resulting file
should run just fine, except that if you attempt to use reflection on
the inner classes in question, the answers you get back will not be
correct. (This is because the compiler that produced the files was
broken and didn't provide consistent information.)

> I can't fix this problem.

Yes, you probably can. Recompile the source for "felix.jar" with a
modern compiler, and the problem should disappear.

-dan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to