vieiro commented on PR #5379:
URL: https://github.com/apache/netbeans/pull/5379#issuecomment-1407675607

   > @vieiro I mean data types pool. Pool of JVM, not NB
   > 
   > If you run this code, for example:
   > 
   > > ```
   > >     String s1 = "test";
   > >     String s2 = new String("test");
   > > 
   > >     System.out.println(s1 == s2);
   > >     System.out.println(s1.equals(s2));
   > > ```
   > 
   > A result will:
   > 
   > > false
   > > true
   > 
   > If somebody want to do pool comparing he must use the intern() method for 
Strings.
   
   Exactly. The question is, where is this being done in all the modules you're 
changing, if any?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to