[jira] Created: (PLX-367) Reading of Classworlds configuration is sensitive to default encoding of executing JVM

View: New views
4 Messages — Rating Filter:   Alert me  

[jira] Created: (PLX-367) Reading of Classworlds configuration is sensitive to default encoding of executing JVM

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Reading of Classworlds configuration is sensitive to default encoding of executing JVM
--------------------------------------------------------------------------------------

                 Key: PLX-367
                 URL: http://jira.codehaus.org/browse/PLX-367
             Project: Plexus
          Issue Type: Bug
         Environment: Maven 2.0.8
            Reporter: Benjamin Bentmann
         Attachments: config-file-encoding.patch

Running Maven on a JVM with default encoding "UTF-16" crashes:
{noformat}
org.codehaus.classworlds.ConfigurationException: Unhandled configuration (1): <snip>
        at org.codehaus.classworlds.Configurator.configure(Configurator.java:382)
        at org.codehaus.classworlds.Launcher.configure(Launcher.java:156)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:426)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
{noformat}

For robustness, Plexus should use a fixed encoding when reading its configuration.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Closed: (PLX-367) Reading of Classworlds configuration is sensitive to default encoding of executing JVM

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/PLX-367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy closed PLX-367.
-----------------------------

      Assignee: Herve Boutemy
    Resolution: Fixed

applied in r7251, which will be released in 1.0-alpha-13

> Reading of Classworlds configuration is sensitive to default encoding of executing JVM
> --------------------------------------------------------------------------------------
>
>                 Key: PLX-367
>                 URL: http://jira.codehaus.org/browse/PLX-367
>             Project: Plexus
>          Issue Type: Bug
>         Environment: Maven 2.0.8
>            Reporter: Benjamin Bentmann
>            Assignee: Herve Boutemy
>         Attachments: config-file-encoding.patch
>
>
> Running Maven on a JVM with default encoding "UTF-16" crashes:
> {noformat}
> org.codehaus.classworlds.ConfigurationException: Unhandled configuration (1): <snip>
> at org.codehaus.classworlds.Configurator.configure(Configurator.java:382)
> at org.codehaus.classworlds.Launcher.configure(Launcher.java:156)
> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:426)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> {noformat}
> For robustness, Plexus should use a fixed encoding when reading its configuration.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: [jira] Created: (PLX-367) Reading of Classworlds configuration is sensitive to default encoding of executing JVM

by Jason van Zyl-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Benjamin just sign up to the project and I'll give you access. Maven  
committer generally just get access to Plexus. Then you can patch it  
yourself.

On 21-Mar-08, at 12:06 PM, Benjamin Bentmann (JIRA) wrote:

> Reading of Classworlds configuration is sensitive to default  
> encoding of executing JVM
> --------------------------------------------------------------------------------------
>
>                 Key: PLX-367
>                 URL: http://jira.codehaus.org/browse/PLX-367
>             Project: Plexus
>          Issue Type: Bug
>         Environment: Maven 2.0.8
>            Reporter: Benjamin Bentmann
>         Attachments: config-file-encoding.patch
>
> Running Maven on a JVM with default encoding "UTF-16" crashes:
> {noformat}
> org.codehaus.classworlds.ConfigurationException: Unhandled  
> configuration (1): <snip>
> at  
> org.codehaus.classworlds.Configurator.configure(Configurator.java:382)
> at org.codehaus.classworlds.Launcher.configure(Launcher.java:156)
> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:
> 426)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> {noformat} ac
>
> For robustness, Plexus should use a fixed encoding when reading its  
> configuration.
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the  
> administrators: http://jira.codehaus.org/secure/Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
----------------------------------------------------------

First, the taking in of scattered particulars under one Idea,
so that everyone understands what is being talked about ... Second,
the separation of the Idea into parts, by dividing it at the joints,
as nature directs, not breaking any limb in half as a bad carver might.

-- Plato, Phaedrus (Notes on the Synthesis of Form by C. Alexander)




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: [jira] Created: (PLX-367) Reading of Classworlds configuration is sensitive to default encoding of executing JVM

by Benjamin Bentmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Benjamin just sign up to the project and I'll give you access. Maven
> committer generally just get access to Plexus. Then you can patch it
> yourself.

Alright, sign up request is out. But be warned that I still prefer attaching
patches to JIRAs instead of committing directly, Plexus is just too
essential for the core of Maven and not everything that appears to be a
trivial fix is really safe to apply (just take MNG-3478 where 180 unit tests
told me everything was OK).


Benjamin


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email