leerho commented on code in PR #272:
URL: 
https://github.com/apache/datasketches-memory/pull/272#discussion_r2784866680


##########
datasketches-memory-java8/src/main/java/org/apache/datasketches/memory/internal/ResourceImpl.java:
##########
@@ -82,6 +82,8 @@ public abstract class ResourceImpl implements Resource {
   static final String NOT_MAPPED_FILE_RESOURCE = "This is not a memory-mapped 
file resource";
   static final String THREAD_EXCEPTION_TEXT = "Attempted access outside owning 
thread";
 
+  private static boolean JAVA_VERSION_WARNING_PRINTED = false;

Review Comment:
   Thanks! What I implemented so far is simpler, I think.  I'm sure using an 
Atomic Boolean will also work, but I'm not sure that Atomic Boolean is really 
necessary here since none of our sketches are thread safe anyway.



-- 
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]

Reply via email to