You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Geir Magnusson Jr (JIRA)" <ji...@apache.org> on 2006/08/14 18:23:14 UTC

[jira] Closed: (HARMONY-1177) try/catch/return works incorrectly in some cases

     [ http://issues.apache.org/jira/browse/HARMONY-1177?page=all ]

Geir Magnusson Jr closed HARMONY-1177.
--------------------------------------

    Resolution: Invalid

Closing by request of Anton.  It was a mistake.

> try/catch/return works incorrectly in some cases
> ------------------------------------------------
>
>                 Key: HARMONY-1177
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1177
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM, App-Oriented Bug Reports
>         Environment: Windows XP professional 
>            Reporter: Anton Luht
>
> This bug was found during investigation of activemq application failure on DRLVM + Harmony classlib
> The following code:
> import java.io.*; 
> import java.net.*;
> public class Test { 
>   public static void main(String[] args) throws Throwable { 
>       System.out.println(new Test().getString("abc").getClass());
>   } 
>  
>   public String getString(String arg) {
> 	try {
>             URL url = new URL(arg);
> 	    return "Y";
> 	} catch (MalformedURLException ex) {
>      	    return "Z";
>         }
>    }
> } 
> prints on RI
> class java.lang.String
> and on Harmony:
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r430763, (Aug 11 2006), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> class java.net.MalformedURLException

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