﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2415	OpenJDK / IcedTea issues	sward	sward	"JOSM stops responding and CPU usage jumps up after adding a way, deselecting it, and trying to select something else.

Steps to reproduce:

 1. Start JOSM
 2. File→New
 3. Add a node
 4. Add another node (create a way)
 5. Return to select mode
 6. Add a tag to the way, which should be selected, e.g. test=test
 7. Deselect way ('''u'''nselect, or click in an empty area)
 8. Attempt to select one of the nodes

By bisecting working and not working revisions, I was able to trace the bug to [1353] (although I have no clue what change there could cause this behaviour).

This seems dependent on JRE, and may be a Java bug: The problem appears using a build of IcedTea Java 7:

  java version ""1.7.0""
  IcedTea Runtime Environment (build 1.7.0-b24)
  IcedTea Server VM (build 1.7.0-b24, mixed mode)

(I use this because it avoids a bug in previous Java versions where the [http://wiki.openstreetmap.org/wiki/JOSM#JOSM_seems_to_start_okay.2C_but_the_window_is_blank application window is blank] under a tiling window manager.)

I cannot reproduce when running the following Java version (Debian package openjdk-6-jre 6b14-1.5~pre1-5) under Xephyr:

  java version ""1.6.0_0""
  OpenJDK Runtime Environment (IcedTea6 1.5pre) (6b14-1.5~pre1-5)
  OpenJDK Server VM (build 14.0-b10, mixed mode)"	defect	closed	minor		Core		wontfix	java7 icedtea freeze cpu	sward
