You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by GitBox <gi...@apache.org> on 2023/01/04 19:01:06 UTC

[GitHub] [groovy] royteeuwen commented on pull request #1836: GROOVY-10881: Make FastStringUtils work in an OSGi environment

royteeuwen commented on PR #1836:
URL: https://github.com/apache/groovy/pull/1836#issuecomment-1371305256

   > Will this cause many passes of class scanning and `DefaultFastStringService` instances? How are `loadService()` and `getService()` used?
   
   INSTANCE s a static field, meaning that at the class loading of FastStringUtils it will be initialized by calling loadService(). This will only be done once
   
   getService() will just return that same static instance all the time


-- 
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: notifications-unsubscribe@groovy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org