You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "davisusanibar (via GitHub)" <gi...@apache.org> on 2023/06/29 15:12:51 UTC

[GitHub] [arrow] davisusanibar opened a new issue, #36390: [Java] Find a proper way to test VM options (share system property between Main/Test code)

davisusanibar opened a new issue, #36390:
URL: https://github.com/apache/arrow/issues/36390

   ### Describe the enhancement requested
   
   Java Test code and Java Main code cannot share system property variables.
   
   The current workaround is to use reflection on unit testing code to override main code system properties.
   
   We need a complete solution that covers JDK17+ Java versions without reflection access to test for example `System.getProperty(DEBUG_ALLOCATOR)` at https://github.com/apache/arrow/blob/main/java/memory/memory-core/src/main/java/org/apache/arrow/memory/BaseAllocator.java#L52
   
   
   
   ### Component(s)
   
   Java


-- 
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: issues-unsubscribe@arrow.apache.org.apache.org

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


[GitHub] [arrow] danepitkin commented on issue #36390: [Java] Find a proper way to test VM options (share system property between Main/Test code)

Posted by "danepitkin (via GitHub)" <gi...@apache.org>.
danepitkin commented on issue #36390:
URL: https://github.com/apache/arrow/issues/36390#issuecomment-1625544185

   14.0.0 works! Thanks @raulcd !


-- 
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: github-unsubscribe@arrow.apache.org

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


[GitHub] [arrow] raulcd commented on issue #36390: [Java] Find a proper way to test VM options (share system property between Main/Test code)

Posted by "raulcd (via GitHub)" <gi...@apache.org>.
raulcd commented on issue #36390:
URL: https://github.com/apache/arrow/issues/36390#issuecomment-1625105791

   @danepitkin @davisusanibar I am moving this to 14.0.0


-- 
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: github-unsubscribe@arrow.apache.org

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