Git Product home page Git Product logo

Comments (14)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 14, 2024
Can confirm this is an open issue with class-level annotations also.

Original comment by [email protected] on 3 Dec 2008 at 11:09

from jarjar.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 14, 2024
This currently prevents applications that use Guice from using jarjar on the 
application.  After jarjar'ing the application, Guice complains that they 
annotaions are missing.

Original comment by bsoutham on 30 Jan 2009 at 12:31

from jarjar.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 14, 2024
Funny story, I was using guice too.

Original comment by [email protected] on 30 Jan 2009 at 5:15

from jarjar.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 14, 2024
I'm trying to Jar Jar the google collections API, most famous for it's
incompatibilities over the years.  

And I am having the seeing the same issue with the 1.0 rc2 version.

Has anyone found a workaround?


Original comment by [email protected] on 4 Aug 2009 at 11:05

from jarjar.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 14, 2024
I hit the same problem, have done some investigation, and have an initial patch.

The issue seems to be in ASM, used by jarjar for the renaming of types.  It 
variously
doesn't attempt to rename annotation related types or calls what seems to be the
wrong method to do so (mapType calls that I think should be mapDesc).

I attach two patches - one for ASM that fixes the issue for me, and another for
jarjar with a test for annotation repackaging.  The test would probably now be 
better
rewritten as an ASM test.  I patched ASM from the 3.1 tag but it also applies 
cleanly
to trunk (not otherwise tested).

To test the patch you need to build and replace jarjar's 
lib/asm-commons-3.1.jar.

I guess the next step is to raise an ASM bug.  I'll leave that for the moment 
in case
someone here wants to pick that up.

Original comment by matt%[email protected] on 15 Nov 2009 at 11:55

Attachments:

from jarjar.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 14, 2024
I have submitted a bug for this to the asm issue tracker here -
http://forge.ow2.org/tracker/index.php?func=detail&aid=314481&group_id=23&atid=1
00023

Original comment by [email protected] on 18 Nov 2009 at 7:00

from jarjar.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 14, 2024
([email protected]) commentor 5 - could you post your updated fixed copy of the 
jarjarlinks jar here?

Original comment by [email protected] on 18 Nov 2009 at 9:52

from jarjar.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 14, 2024
Attached.  This is jarjar trunk r128 with asm-commons 3.1 with my patch.

I'm new to both jarjar and ASM so I'd advise waiting for some review before 
using it
for anything other than testing.

Original comment by matt%[email protected] on 18 Nov 2009 at 10:40

Attachments:

from jarjar.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 14, 2024
Thanks a lot. It seems to work for me.

Original comment by [email protected] on 19 Nov 2009 at 7:04

from jarjar.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 14, 2024
Ok it seems asm framework has committed your patch.
http://forge.ow2.org/tracker/?func=detail&atid=100023&aid=314481&group_id=23


Original comment by [email protected] on 22 Nov 2009 at 8:39

from jarjar.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 14, 2024
For the record the patch was committed to asm trunk in r1412.

Original comment by matt%[email protected] on 22 Nov 2009 at 10:09

from jarjar.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 14, 2024
ASM 3.3 has now been released, which includes the fix from above.

Original comment by matt%[email protected] on 30 May 2010 at 6:12

from jarjar.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 14, 2024

Original comment by hayward.chan on 10 Feb 2011 at 12:28

  • Changed state: Accepted

from jarjar.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 14, 2024
1.1 should fix this (by upgrading asm from 3.1 to 3.3.1).

Original comment by hayward.chan on 10 Feb 2011 at 12:49

  • Changed state: Fixed

from jarjar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.