mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[test-framework] Store LocalDateTime together with project creation trace
GitOrigin-RevId: 65273a219cc8c037f6997ef2867eeb7af331889f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9ddba01ff3
commit
2ee3ec3072
@@ -51,6 +51,7 @@ import java.lang.invoke.MethodHandles
|
||||
import java.lang.invoke.MethodType
|
||||
import java.nio.file.ClosedFileSystemException
|
||||
import java.nio.file.Path
|
||||
import java.time.LocalDateTime
|
||||
import java.util.concurrent.atomic.AtomicReference
|
||||
|
||||
internal val projectMethodType: MethodType = MethodType.methodType(Void.TYPE, Project::class.java)
|
||||
@@ -389,7 +390,7 @@ open class ProjectImpl(parent: ComponentManagerImpl, filePath: Path, projectName
|
||||
|
||||
private fun storeCreationTrace() {
|
||||
if (ApplicationManager.getApplication().isUnitTestMode) {
|
||||
putUserData(CREATION_TRACE, ExceptionUtil.currentStackTrace())
|
||||
putUserData(CREATION_TRACE, "${LocalDateTime.now()}@${ExceptionUtil.currentStackTrace()}")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user