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

  • SEARCH
  • Home
  • 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 7443837
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T11:23:45+00:00 2026-05-29T11:23:45+00:00

I was using javap to study the code produced for one of my classes

  • 0

I was using javap to study the code produced for one of my classes and noticed the following output:

...
frame_type = 255 /* full_frame */
  offset_delta = 11
  locals = [ class Test, double, int, double, double, bogus, bogus, int, int, class "[D" ]
  stack = []
...

What is the meaning of those “bogus” type/variable entries in the locals table? How are they caused? What is their impact on the resulting code?

The class file was produced using the Eclipse 3.7 compiler and javap came from OpenJDK-1.6b22.

  • 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-05-29T11:23:45+00:00Added an answer on May 29, 2026 at 11:23 am

    I came upon this little gem while going over the Javassist documentation:

    BOGUS

    public static final Type BOGUS

    Represents a non-accessible value. Code cannot access the value this
    type represents. It occurs when bytecode reuses a local variable table
    position with non-mergable types. An example would be compiled code
    which uses the same position for a primitive type in one branch, and a
    reference type in another branch.

    I presume that this ambiguity is what causes the “bogus” entries in the locals table as well…

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

Sidebar

Related Questions

I have few classes and functions in java code. one of the function is
I am using Java 1.4 with Log4J. Some of my code involves serializing and
I am developing a study project using the mosembro (mobile semantic browser) project inside
Using Java have the source code of a webpage stored in a string. I
I develop applications using PHP or Java and will study Perl for the first
I keep receiving the following error when attempting to unmarshall an xml document using
using java code in windows i need to download several files from a directory
Given the following code public interface Foo<T> { T get(); } @Remote public interface
Using java.util.regex.Matcher , are the following expressions for matched1 and matched2 equivalent? Is there
The javap command has several options, one of them is -l , which can

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.