Java中构造函数线程的方法引用安全吗?

for example, here is a class A, FunciontionInterface f= A::new, then I call f() in different threads, is it thread safe?

note: this is not a duplicate question of Are method References as method parameters thread safe in Java . Furthermore, I am asking the constructor method of objects, not a user-defined method.

评论