neelrev / resting

Lightweight Java component to consume REST service and transform response into objects.
0 stars 0 forks source link

Eclipse Complier shows a warning #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Add all supporting + rest libraries to a project as external JAR

 - What is the expected output? What do you see instead?
No expected out put - but in console the following msg keeps popping up:
[2011-08-16 11:14:31 - MyAndroidApp] Dx warning: Ignoring InnerClasses 
attribute for an anonymous inner class
(com.thoughtworks.xstream.XStream$3) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly 
indicate that it is *not* an inner class.

 - What version of the product are you using? On what operating system?
Eclipse Indigo, Java 1.7, Android SDK 2.1

Original issue reported on code.google.com by amir.ga...@gmail.com on 16 Aug 2011 at 8:19

GoogleCodeExporter commented 9 years ago
Resting is compiled with Java 1.6. The inner class comes from the XStream API 
resting uses for parsing XMLs. Please check the compatibility of XStream - 
1.3.1 with Java 1.7 and raise an issue in XStream forums.

Original comment by sujata...@gmail.com on 12 Sep 2011 at 9:40