0 Replies Latest reply on Feb 18, 2009 7:00 AM by (Erik_Tierney)

    [svn:fx-trunk] 4991: Fix bug ASC-3651 - NPE when compiling some tamarin tests under IBM jdk 1.6

      Revision: 4991
      Author: tierney@adobe.com
      Date: 2009-02-18 07:00:23 -0800 (Wed, 18 Feb 2009)

      Log Message:
      -----------
      Fix bug ASC-3651 - NPE when compiling some tamarin tests under IBM jdk 1.6

      We were modifying elements in a TreeMap after the had been inserted in a way that altered what the ordering of the TreeMap should be. This caused later lookups to fail, as the search algorithm would end up taking the wrong path through the Tree and never find some elements that were in fact in the TreeMap. Now, remove the element from the TreeMap before we alter it. Apparently we were just getting lucky that this worked with the sun JDK (and previous IBM jdks).

      bugs fixed: https://bugs.adobe.com/jira/browse/ASC-3651

      tests: flex checkintests, tamarin tests

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/ASC-3651
      http://bugs.adobe.com/jira/browse/ASC-3651

      Modified Paths:
      --------------
      flex/sdk/trunk/modules/asc/src/java/macromedia/asc/util/Context.java