×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Dec 2008
    Location
    Mumbai
    Posts
    199

    Smile Commented Code can increase jar size

    hi frnd

    can u help to clear my doubt that if i commented a lot of code in my application and i am not obfuscating my jar.can this commented code increase my jar file size..

    thanks in advance
    Ajay Prajapati
    Mobile Software Developer
    Mumbai,India

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: Commented Code can increase jar size

    No, commenting code will not increase the size of your JAR.

    Graham.

  3. #3
    Regular Contributor
    Join Date
    Feb 2008
    Posts
    174

    Re: Commented Code can increase jar size

    Quote Originally Posted by prajapati.ajay View Post
    hi frnd

    can u help to clear my doubt that if i commented a lot of code in my application and i am not obfuscating my jar.can this commented code increase my jar file size..

    thanks in advance
    commented code will be filtered at compilation only...Commented code is ignored by the compiler. so will not affect your jar size.
    Regards,
    Snehal

Similar Threads

  1. how to reduce the size of the jar file
    By j2me_beginner in forum Mobile Java General
    Replies: 7
    Last Post: 2009-11-18, 18:21
  2. Reduce the image size but increase the file size
    By agirllikeyou in forum Symbian
    Replies: 2
    Last Post: 2007-10-30, 08:02
  3. Jar Size optimization
    By Rozik in forum Mobile Java General
    Replies: 1
    Last Post: 2007-10-18, 14:57
  4. Link errors when trying to Display bitmap
    By Bkc82 in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2006-01-16, 22:46
  5. The correct meaning of MAX JAR size
    By bigrio in forum Mobile Java General
    Replies: 1
    Last Post: 2004-11-16, 10:30

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •