Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#8 Unsupported class version?

1.2
open
Swaroop Belur
5
2007-05-21
2007-05-21
pato135d
No

Hello:
I wanted to decompile a jar file and everything went fine... until I selected class files. I got this error:
"Unsupported Class specified as input to jdec: Invalid version number for class file 50.0"
I set Skip_class_Version_check=false.
And when it fails it takes me to an unknown class tree: UserTarget.class
I wonder if there is a plan to support newest class file specifications.
Thanks

Discussion

  • Swaroop Belur
    Swaroop Belur
    2007-05-22

    Logged In: YES
    user_id=1388728
    Originator: NO

    This is surprising because that flag set to true should not show up that message,
    Please can u try it again with set to true (Skip_class_Version_check) and paste the
    stack trace u get.

    The stack trace can either be in command prompt window or in the log files [ check both
    ui and decompiler log file]

    Regards
    swaroop belur

    ps: FYI 50 means java 6 and jdec does not officially support even 49[java 5]. Plan definitely
    includes working towards that. [Time is the only factor]

     
  • Swaroop Belur
    Swaroop Belur
    2007-05-22

    Logged In: YES
    user_id=1388728
    Originator: NO

    Also please attach the .class file. I will have a go at my end as well...

    -swaroop belur

     
  • pato135d
    pato135d
    2007-05-22

    troubling class file, source of it, and jdec log

     
    Attachments
  • pato135d
    pato135d
    2007-05-22

    Logged In: YES
    user_id=1596867
    Originator: YES

    I attached the source code and its class file. Also jdec log is included. If I try to decompile with skip_class_Version_check=false I get the "Unsupported Class specified as input to jdec: Invalid version number for
    class file 50.0". If I set it true, I get just "an error occurred when procesing task".
    If the class file is in a jar file I get: "RuntimeException occurred while processing please check up log files" Then appears: Jar Tab has been updated with directory containing decompiled files..." and a progress dialog keeps there.
    This is with skip_class_Version_check=true. If I set it again to false job seems to go fine, but the temporary folder contains files that can't be decompiled.
    File Added: error.zip

     
  • Logged In: NO

    This looks like a problem with update class version format which jdec as of now does not handle well.