"ConcurrentModificationException" issue fixed

This commit is contained in:
Ralf Wisser
2023-10-05 11:20:38 +02:00
parent 6f4c54db90
commit 2bfbc6061e
4 changed files with 14 additions and 5 deletions
+4
View File
@@ -1,3 +1,7 @@
15.2.3
- The new "Tooltip Indicator" feature lets you see which user interface elements provide a tooltip.
- A rarely occurring "ConcurrentModificationException" issue was corrected.
15.2.2
- Automatic "Where" clause adjustment in SQL console did not work correctly for queries with an "Order by" clause, but no "Where".
This was corrected.
@@ -1512,10 +1512,12 @@ public class Session {
* @param owner the class that owns the properties
*/
public void removeSessionProperties(Class<?> owner) {
Iterator<Map.Entry<String, Object>> i = sessionProperty.entrySet().iterator();
while (i.hasNext()) {
if (i.next().getKey().startsWith(owner.getName() + ".")) {
i.remove();
synchronized (sessionProperty) {
Iterator<Map.Entry<String, Object>> i = sessionProperty.entrySet().iterator();
while (i.hasNext()) {
if (i.next().getKey().startsWith(owner.getName() + ".")) {
i.remove();
}
}
}
}
@@ -726,6 +726,8 @@ public abstract class DataModelManagerDialog extends javax.swing.JFrame {
public void windowActivated(WindowEvent e) {
}
});
UIUtil.initToolTips(this);
}
public static void start(String module, boolean withStartupWizzard, ExecutionContext executionContext) {
+2 -1
View File
@@ -2615,7 +2615,8 @@ public class UIUtil {
b = 7;
}
g2d.setColor(c instanceof JLabel || c instanceof JTextField? new Color(255, 255, 0, 128) : new Color(255, 255, 0));
g2d.setColor(((c instanceof JLabel) && ((JLabel) c).getIcon() == null) || c instanceof JTextField?
new Color(255, 255, 0, 128) : new Color(255, 255, 0));
g2d.fillPolygon(new int[] {x, x + b, x}, new int[] {y, y, y + b}, 3);
g2d.setColor(new Color(200, 200, 0));
g2d.drawPolygon(new int[] {x, x + b, x}, new int[] {y, y, y + b}, 3);