flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carol Frampton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-33155) Uncaught exception in compiler, when JRE 1.7 is used
Date Wed, 20 Feb 2013 19:57:15 GMT

    [ https://issues.apache.org/jira/browse/FLEX-33155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13582480#comment-13582480

Carol Frampton commented on FLEX-33155:


Area: API: Utilities
Synopsis: Updated sort behavior for Arrays and Collections may throw an IllegalArgumentException
Description: The sorting algorithm used by java.util.Arrays.sort and (indirectly) by java.util.Collections.sort
has been replaced. The new sort implementation may throw an IllegalArgumentException if it
detects a Comparable that violates the Comparable contract. The previous implementation silently
ignored such a situation.
If the previous behavior is desired, you can use the new system property, java.util.Arrays.useLegacyMergeSort,
to restore previous mergesort behavior.
Nature of Incompatibility: behavioral
RFE: 6804124

> Uncaught exception in compiler, when JRE 1.7 is used
> ----------------------------------------------------
>                 Key: FLEX-33155
>                 URL: https://issues.apache.org/jira/browse/FLEX-33155
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Compiler API
>    Affects Versions: Apache Flex 4.8 (parity release)
>         Environment: JRE version 1.7.0_05 , FlashBuilder 4.6 , Apache Flex 4.8(parity
>            Reporter: Sudhir
>              Labels: Compiler, java_1.7
>             Fix For: Apache Flex 4.9.0
>         Attachments: UncaughtException_Compiler.log
> Steps to Reproduce:
> 1. Download the Apache SDK using AIR tool (available at http://people.apache.org/~bigosmallm/installapacheflex/
) which also packages the SDK to use with Flash builder.
> 2. Download JRE 1.7
> 3. Install Flash Builder 4.6
> 4. Go to the installed FB location and delete the JRE folder already present in the FB
installed location
> 5. Copy the JRE 1.7 folder into the installed location. (jre folder should be renamed
from jre7 to jre)
> FB will now use JRE 1.7 instead of using the bundled 1.6
> 6. Configure FB to use Apache SDK which was downloaded in step 1. 
> 7. Create a Flex project using Apache SDK
> 8. Now create a new AS class inside the new project 
> Actual result: Internal build error in problems view. The error log says that there was
an uncaught exception in the compiler. 
> Expected result: There should be no such errors
> Workaround: Add a line "-Djava.util.Arrays.useLegacyMergeSort=true" in the FlashBuilder.ini

> Note: This issue is specific to Apache SDK. It is working fine with the released version
of Flex SDK 4.6

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message