How to interpret the "encoded" form of method signatures?

Discussion in 'Java' started by david.karr, Jun 16, 2009.

  1. david.karr

    david.karr Guest

    I've never known all the rules for interpreting "encoded" signatures
    like "package.class.func()Ljava/util/Set". I usually make a
    reasonable guess for what I think it specifies. I'd really like to
    know the exact rules, as strings like this often come up in exception
    stack traces. Where is this documented? Would the JLS cover this in
    a readable form?
    david.karr, Jun 16, 2009
    1. Advertisements

  2. Look at
    Mike Schilling, Jun 16, 2009
    1. Advertisements

  3. david.karr

    David Karr Guest

    Thanks. Understanding it completely actually requires moving up a
    page or two to section "4.3 Descriptors". This makes it all clear.
    David Karr, Jun 16, 2009
  4. david.karr

    Roedy Green Guest

    Roedy Green Canadian Mind Products

    If everyone lived the way people do in Vancouver, we would need three more entire planets to support us.
    ~ Guy Dauncey
    Roedy Green, Jun 16, 2009
  5. Joshua Cranmer, Jun 16, 2009
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.