Skip to main content

All Questions

Tagged with
1 vote
0 answers
56 views

What does stack=1 (or any integer value) mean in Java bytecode [duplicate]

I've been trying to understand how the bytecode of the following Java code works. I couldn't find the explanation of what the stack=1 and the stack=4 part mean. Java Code: public class ...
Youness's user avatar
  • 57
1 vote
0 answers
2k views

setting the target version to 1.8 still produce the class files with major version 52

I am trying to compile my java source code to target 1.8. I have set the following in the javac target. Ant version: Apache Ant(TM) version 1.9.4 compiled on April 29 2014 Java version: 1.8 <...
Mayuran's user avatar
  • 708
0 votes
0 answers
156 views

Visualized javap tool

Hello I've created this tool And I've added a feature that anyone can search for the info of a class without any package name. My question is now I want to add info of each method that means I need to ...
Vinod's user avatar
  • 9