I've a standalone compiled java application.
I don't have source files for this application and I am facing an issue.
I need to fix this issue and need to log some information.
I have only .class
files at my disposal.
Is it possible to modify these files to enable logging of some information?
Asked
Active
Viewed 161 times
1

Alexander Galkin
- 12,086
- 12
- 63
- 115

vvekselva
- 803
- 3
- 17
- 34
3 Answers
1
I believe you can use aspectj for this.. a quick google search gave me this link.. http://java.jiderhamn.se/2013/08/23/debugging-third-party-libraries-with-aspectj-and-maven/
see if this helps..

Yogesh_D
- 17,656
- 10
- 41
- 55
0
No, you won't. The only option left to you is, de-compile the class files and get the code.

sachin garg
- 1,316
- 15
- 27