Community
Participate
Working Groups
1. Open 1 Java Entity in the editor and view it in the Jpa Details view. 2. Close the Java editor. 3. Close the Project. The cached PersistentTypeDetailsPage in JpaDetailsView still contains the PerssitentType subject, thus the JpaProject is still hanging around. The issue is that the PersistentTypeDetailsPage subject is not set to null when the editor is closed. I tested this in debug by putting a breakpoint in JpaDetailsView.dispose and after step 3 I closed the JpaDetailsView and dug into the cache of details pages. Was also able to see the GenericJavaPersistentType2_0 object hanging around referenced by the PersistentTypeDetailsPage using the sun JDK leak tools that Brian mentioned recently.
Created attachment 172166 [details] proposed patch against head
resolved in HEAD for 2.3.1 maintenance
manually verified this in debug as described in the bug description