Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #27885
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail |
|---|---|
| From | Jan Burse <janburse@fastmail.fm> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: how actually string store in java machine |
| Date | Thu, 27 Mar 2014 10:27:51 +0100 |
| Organization | albasani.net |
| Lines | 20 |
| Message-ID | <lh0qui$716$1@news.albasani.net> (permalink) |
| References | <8f7d9272-4b25-44c9-8c31-93ea754be4cb@googlegroups.com> <lgsflf$pua$1@dont-email.me> <lgslfc$k81$1@news.albasani.net> <lgslj6$k81$2@news.albasani.net> <b9f4j99knq24nqdmi1ultckkm82ecem7v6@4ax.com> <lgu1kt$ti$1@news.albasani.net> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | news.albasani.net 9utC1Vuk6AHePzJ1iYXtB4z9wsYVt/aXrkZDxQNNsqUEba5vD9DRKxgjqanlXUE2PSAbIgUw6XYCFc51v+nacQ== |
| NNTP-Posting-Date | Thu, 27 Mar 2014 09:27:46 +0000 (UTC) |
| Injection-Info | news.albasani.net; logging-data="mnTk0Ol4jCho0jCrqDiGhPF64Sfjyq0g0znvCOG1K9+4kpQO4dpFFiUJYudsSnHRLmUk+Fj/E9aMr2gL9n5Dj/3XBFulI64HcbTrrx/AEOjD+8t1FQWw24NMUa1gPTeH"; mail-complaints-to="abuse@albasani.net" |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0 SeaMonkey/2.25 |
| In-Reply-To | <lgu1kt$ti$1@news.albasani.net> |
| Cancel-Lock | sha1:RbQB9Xb+kbcsyRP/JI37a9n7lK0= |
| Xref | csiph.com comp.lang.java.programmer:27885 |
Show key headers only | View raw
Jan Burse schrieb:
> The bottom line could be, that we are not in position to
> say what the above program does alone from the Java
> Language Specification, since it is JVM implementation
> dependent. But I might be wrong.
I am wrong, see also other poster who looked up JLS.
Test results so far, for a slightly modified code:
public static void main(String[] args) {
String t1 = A.getT();
String t2 = B.getT();
System.out.println(t1==t2);
}
jdk1.5.0_22: true
jdk1.6.0_45: true
jdk1.7.0_51: true
jdk1.8.0: true
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
how actually string store in java machine Rishipal Singh <95rishipal@gmail.com> - 2014-03-25 09:56 -0700
Re: how actually string store in java machine Roedy Green <see_website@mindprod.com.invalid> - 2014-03-25 10:32 -0700
Re: how actually string store in java machine Roedy Green <see_website@mindprod.com.invalid> - 2014-03-25 10:33 -0700
Re: how actually string store in java machine Jeff Higgins <jeff@invalid.invalid> - 2014-03-25 13:49 -0400
Re: how actually string store in java machine Jan Burse <janburse@fastmail.fm> - 2014-03-25 20:29 +0100
Re: how actually string store in java machine Jan Burse <janburse@fastmail.fm> - 2014-03-25 20:31 +0100
Re: how actually string store in java machine Roedy Green <see_website@mindprod.com.invalid> - 2014-03-25 19:37 -0700
Re: how actually string store in java machine Jan Burse <janburse@fastmail.fm> - 2014-03-26 09:03 +0100
Re: how actually string store in java machine Jan Burse <janburse@fastmail.fm> - 2014-03-26 09:11 +0100
Re: how actually string store in java machine Jan Burse <janburse@fastmail.fm> - 2014-03-27 10:27 +0100
Re: how actually string store in java machine markspace <markspace@nospam.nospam> - 2014-03-26 08:32 -0700
Re: how actually string store in java machine Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-03-26 13:54 -0400
Re: how actually string store in java machine taqmcg@gmail.com - 2014-03-26 12:57 -0700
Re: how actually string store in java machine markspace <markspace@nospam.nospam> - 2014-03-26 16:37 -0700
Re: how actually string store in java machine Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-03-27 08:54 -0400
Re: how actually string store in java machine taqmcg@gmail.com - 2014-03-27 08:23 -0700
Re: how actually string store in java machine Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-03-27 11:50 -0400
Re: how actually string store in java machine taqmcg@gmail.com - 2014-03-28 06:58 -0700
Re: how actually string store in java machine Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-03-28 11:02 -0400
Re: how actually string store in java machine taqmcg@gmail.com - 2014-04-02 05:47 -0700
Re: how actually string store in java machine Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-04-02 10:15 -0400
Re: how actually string store in java machine taqmcg@gmail.com - 2014-04-03 08:58 -0700
Re: how actually string store in java machine Roedy Green <see_website@mindprod.com.invalid> - 2014-03-26 17:07 -0700
Re: how actually string store in java machine Jeff Higgins <jeff@invalid.invalid> - 2014-03-25 16:07 -0400
Re: how actually string store in java machine Jeff Higgins <jeff@invalid.invalid> - 2014-03-25 16:16 -0400
Re: how actually string store in java machine Jeff Higgins <jeff@invalid.invalid> - 2014-03-25 16:19 -0400
Re: how actually string store in java machine markspace <markspace@nospam.nospam> - 2014-03-25 14:00 -0700
Re: how actually string store in java machine Jeff Higgins <jeff@invalid.invalid> - 2014-03-25 17:21 -0400
Re: how actually string store in java machine Jeff Higgins <jeff@invalid.invalid> - 2014-03-26 11:40 -0400
Re: how actually string store in java machine Roedy Green <see_website@mindprod.com.invalid> - 2014-03-26 17:46 -0700
Re: how actually string store in java machine Lew <lewbloch@gmail.com> - 2014-03-25 15:07 -0700
csiph-web