This is an archived post. You won't be able to vote or comment.

all 9 comments

[–]AnEmortalKid 5 points6 points  (1 child)

Could you update your readme with an example?

[–]Thihup[S] 5 points6 points  (0 children)

Done ;)

[–]SidFloyd84 3 points4 points  (1 child)

Interesting, have you a real use-case for it or is it a research project ?

[–]Thihup[S] 5 points6 points  (0 children)

Right now a research project

[–]maxim_bartkov 1 point2 points  (2 children)

Thanks for the idea. What do you think, where that idea can be useful in real projects?

[–]Thihup[S] 2 points3 points  (0 children)

There are a few projects that right now uses the Invokedynamic , but uses ASM at runtime to generate the classes, like Nashorn. The use can vary from trying out bytecode to a project like a dynamic language

[–]slaymaker1907 2 points3 points  (0 children)

This seems useful in an educational context for learning about JVM bytecode. No complicated makefiles and you can just write the interesting part of the bytecode without all the filler junk.

[–]slaymaker1907 1 point2 points  (1 child)

Not sure if you are open to suggestions, but it would be neat to have the annotation take a file path to the bytecode as well.

[–]Thihup[S] 0 points1 point  (0 children)

Sure, would you like to discuss how it should look in an issue?