#1 Files deleted

v1.0_(example)
closed-fixed
nobody
None
5
2006-05-17
2006-05-16
No

I have found a major bug in this release.

Just a few weeks ago I've tried to run Your app, it
didn't showed the decompiled source as expected, so I
tried to hack some settings. I can't remember the exact
ones right now, but it was something like that:

Output_Mode=file
Log_Mode=file
Output_Folder_Path=C:\
Output_File_Extension=jdec
LOG_LEVEL=1
Log_Path=C:\ UI_LOG_FILE_PATH=C:\ JAVA_CLASS_FILE=<some class file>
JAR_FILE_PATH=
Show_Imports=true
JDec_Option=decompileClass
Temp_Dir=C:\ Inner_Depth=0
Inline_Anonymous_Inner_Class_Content=false
Interpret_Exception_Table=true

I used some other dir than "C:\", I can't recall it
now, but after I started the app running, something
very wrong has happened.

Suddenly the files started to be deleted in the C
drive, and I mean ALL files, including Windows
installation and all other. I've noticed that only
after a while, when my QuickLaunch toolbar disappeared.
So I killed the app as soon as I had a chance, but it
was too late. After reboot (expecting to return the
QuickLaunch toolbar) I've got a very bad news, the
Windows installation was destroyed, and I had to
reinstall the system.

That is not the thing You expect from java decompiler.
Please can You double check the options and stop
deleting the files which shouldn't be.

Discussion

  • Swaroop Belur

    Swaroop Belur - 2006-05-17

    Logged In: YES
    user_id=1388728

    Hi
    First I would like to sincerely apologize for the error.
    Actually what the decompiler does is as follows...

    Before each run when jdec is started, The output folder
    is cleaned up. THe purpose of this is simple. THe intention
    is that onlu the current output files for that run be shown
    in the directory so that users will not get confused as to
    which output files jdec produced.

    As far as the log files are concerned. I have mentioned in
    the readme file that it should contain the full path
    of the file and also NO windows slash i.e \

    The path should be something like this

    c:/temp/jdec/log.txt

    Also for this release the output folder should EXIST and
    also log folder path SHOULD EXIST. i.e c:/temp/jdec

    This is how jdec works.

    AGAIN I REPEAT. THE PURPOSE OF CLEANING OUPPUT FOLDER IS
    SO THAT USER CAN ONLY FIND THE CURRENT OUTPUT FILES.

    THIS ERROR WAS FULLY UNINTENTIONAL. I DEEPLY REGRET IT.
    I AM VERY SORRY FOR THIS.

    This error will be rectified in next release
    Sorry for any trouble caused

    swaroop belur

     
  • Swaroop Belur

    Swaroop Belur - 2006-05-17

    Logged In: YES
    user_id=1388728

    THIS ISSUE HAS BEEN FIXED IN 1.0PATCH RELEASE.
    MARKING IT AS CLOSED

     
  • Swaroop Belur

    Swaroop Belur - 2006-05-17
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks