JDK-8297188 : java/nio/file/WatchService/LotsOfEvents.java fails intermittently
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 8u371
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: os_x
  • CPU: x86_64
  • Submitted: 2022-11-17
  • Updated: 2022-11-18
Related Reports
Relates :  
Description
java/nio/file/WatchService/LotsOfEvents.java fails intermittently, observed at OSX platform.

---------System.err:(14/765)----------
java.lang.RuntimeException: Unexpected event 'ENTRY_CREATE'
	at LotsOfEvents.drainAndCheckOverflowEvents(LotsOfEvents.java:116)
	at LotsOfEvents.testOverflowEvent(LotsOfEvents.java:83)
	at LotsOfEvents.main(LotsOfEvents.java:45)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
	at java.lang.Thread.run(Thread.java:750)

JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test

result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected event 'ENTRY_CREATE'


test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected event 'ENTRY_CREATE