Discuss / Java / 使用虚拟线程时问题The method newVirtualThreadPerTaskExecutor() is undefined for the type Executors

使用虚拟线程时问题The method newVirtualThreadPerTaskExecutor() is undefined for the type Executors

Topic source

把preferences-Java-Compiler-Preview features with severity level option中warning改成info即可,发现再改回warning仍不报错,疑问。


  • 1

Reply