Proposal for adding O_DIRECT support into JDK 9
brian.burkhalter at oracle.com
Mon Aug 28 20:28:53 UTC 2017
I am unsure of the best way to get the native code to build as part of the test build. One example however of where this is done is in <JDK_REPO>/jdk/test/java/awt/JAWT but the test is a shell test and we are trying to move away from those. I do not know exactly what Alan intends by his comment. There are other tests which have pre-compiled shared libraries checked into the SCM. If there is a problem with the native library itself or in locating it, then I would think the test should fail and we would be alerted that there is a problem.
On Aug 28, 2017, at 12:46 PM, Lu, Yingqi <yingqi.lu at intel.com> wrote:
> Regarding to the native test, the easiest way I can think of is to call the “make” command from the Java test file (DirectIOTest.java). Please let me know if this is good enough or you have a better suggestion.
On Aug 28, 2017, at 5:49 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> […] one question on DirectIO is whether you place to convert that into a native test that is compiled in the build. It may otherwise get forgotten.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nio-dev