Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8165935
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T19:41:25+00:00 2026-06-06T19:41:25+00:00

Can anybody put lime light on what possible problems might emerge if an application

  • 0

Can anybody put lime light on what possible problems might emerge if an application created instruments class files before loading them using custom loader. I have created a java application that does the same thing.

I read class files in the form of byte arrays
Then I instrument using asm library and then
Load them through custom class loader.

Is this procedure prone to failure if yes why??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T19:41:26+00:00Added an answer on June 6, 2026 at 7:41 pm

    The main problem with this is that it ties your application to the JVM. The Java community works very hard on keeping the JLS and the JVMS separate, so that Java could theoretically be used without the JVM, and there are two fairly widespread platforms where Java is actually used without the JVM: Android and GWT. If you don’t expect to ever need to run on a platform that doesn’t understand Java byte code, then you are fine.

    Note that static byte code manipulation stuff is perfectly okay. You can cross compile JVM byte code to Dalvik byte code after manipulating it. But if you wanted to do that at runtime, you would have to include the JVM-to-Dalvik cross compiler in your application … and it still wouldn’t work because the Dalvik VM simply doesn’t support dynamic byte code loading the same way the JVM does.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can anybody please put some light on the need of the method getTypeInstance(), which
Can anybody please tell me how to put array values into a string or
Can anybody give any working example of how to read/write Unicode text files using
can anybody explain why uploaded php files treated by a server as a text
Can anybody suggest me way to put audio data received over socket into Audio
Can anybody tell me how do I put span tag inside anchor tag? This
Can I put frame size in an array object?How?Can Anybody help me in this
can anybody shed some light on this ? I can't seem to be able
Can anybody please tell me why the removeEventListener call is not working? this.addEventListener(Event.ENTER_FRAME, eventCall,
Can anybody help me how can I invoke a JSP page from a Servlet

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.