Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #11281

Re: Strange problem with .jar and .class files

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Strange problem with .jar and .class files
Date 2012-01-12 09:40 -0800
Organization Canadian Mind Products
Message-ID <vk6ug7hg84mh19ij20vpjf6kn9buppbhat@4ax.com> (permalink)
References <86312e3c-b1cd-47d6-819f-5337ac665d00@t13g2000yqg.googlegroups.com>

Show all headers | View raw


On Thu, 12 Jan 2012 03:40:56 -0800 (PST), Eric Tonissen
<EricTonissen@zonnet.nl> wrote, quoted or indirectly quoted someone
who said :

>Is it possible that the compiler includes information into the .class
>files, so it doesn't need the other .class files anymore?

static finals can get converted to int or String literals that no
longer reference the original class.  That is why you need clean
compiles if you have inter class references of static finals that you
have changed.

The compiler has to be able to see everything referenced, either as
source on the sourcepath or class files on the classpath 
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
One of the most useful comments you can put in a program is 
"If you change this, remember to change ?XXX? too".
 

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Strange problem with .jar and .class files Eric Tonissen <EricTonissen@zonnet.nl> - 2012-01-12 03:40 -0800
  Re: Strange problem with .jar and .class files Jeff Higgins <jeff@invalid.invalid> - 2012-01-12 10:33 -0500
    Re: Strange problem with .jar and .class files Lew <noone@lewscanon.com> - 2012-01-12 08:14 -0800
      Re: Strange problem with .jar and .class files Jeff Higgins <jeff@invalid.invalid> - 2012-01-12 12:34 -0500
        Re: Strange problem with .jar and .class files Lew <lewbloch@gmail.com> - 2012-01-12 13:42 -0800
          Re: Strange problem with .jar and .class files Jeff Higgins <jeff@invalid.invalid> - 2012-01-12 19:38 -0500
            Re: Strange problem with .jar and .class files Lew <noone@lewscanon.com> - 2012-01-12 21:05 -0800
              Re: Strange problem with .jar and .class files Jeff Higgins <jeff@invalid.invalid> - 2012-01-13 03:41 -0500
                Re: Strange problem with .jar and .class files Jeff Higgins <jeff@invalid.invalid> - 2012-01-13 04:08 -0500
                Re: Strange problem with .jar and .class files Lew <noone@lewscanon.com> - 2012-01-13 07:40 -0800
                Re: Strange problem with .jar and .class files Jeff Higgins <jeff@invalid.invalid> - 2012-01-13 12:55 -0500
                Re: Strange problem with .jar and .class files Lew <lewbloch@gmail.com> - 2012-01-13 15:34 -0800
                Re: Strange problem with .jar and .class files Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-01-13 21:45 -0400
  Re: Strange problem with .jar and .class files Roedy Green <see_website@mindprod.com.invalid> - 2012-01-12 09:40 -0800
  Re: Strange problem with .jar and .class files Eric Tonissen <EricTonissen@zonnet.nl> - 2012-01-13 02:24 -0800
    Re: Strange problem with .jar and .class files Lew <noone@lewscanon.com> - 2012-01-13 07:42 -0800
      Re: Strange problem with .jar and .class files Jeff Higgins <jeff@invalid.invalid> - 2012-01-13 13:18 -0500
        Re: Strange problem with .jar and .class files Lew <lewbloch@gmail.com> - 2012-01-13 15:40 -0800

csiph-web