Re: which compiler was used to compile?

From: Roedy Green (roedy_at_seewebsite.com)
Date: 10/28/03


Date: Tue, 28 Oct 2003 20:12:58 GMT

On Tue, 28 Oct 2003 07:23:39 -0000, "Chris Uppal"
<chris.uppal@metagnostic.REMOVE-THIS.org> wrote or quoted :

>There's be different
>versions of the class (in different jars) for each compiler. Each runtime
>class could check which compiler *it* was compiled with by accessing the field.

Don't you have to recompile the universe if you use a public static
final in case it has been inlined?

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming. 
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.


Relevant Pages

  • Re: which compiler was used to compile?
    ... > Don't you have to recompile the universe if you use a public static ... So any individual .class file will "know" which compiler was used to compile it ...
    (comp.lang.java.programmer)
  • Re: .NET Compiler optimization and component updates
    ... > This is a general question regarding how, and if, compiler optimization ... > techniques affect the general concept of being able to update a component of ... > an application without requiring a recompile of client code. ... > this in someway break the concept of being able to modify and redeploy server ...
    (microsoft.public.dotnet.general)
  • Re: Fw: New Cobol Releases (was FASTSRT)
    ... It is worthwhile to recompile programs that run though I advocate doing so ... code doesn't mean that the latest compiler will not yield a much more ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: One last chapter to review! Last chance! One-day only!
    ... > How could you escape it? ... > b) "ok, recompile stuff in this component, but it's internal only so ... It can be solved by a Lisp compiler: ... modules don't load a module directly but read its interface file. ...
    (comp.lang.lisp)
  • Re: Fw: New Cobol Releases (was FASTSRT)
    ... It is worthwhile to recompile programs that run though I advocate doing so ... code doesn't mean that the latest compiler will not yield a much more ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)