harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Luht (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1177) try/catch/return works incorrectly in some cases
Date Mon, 14 Aug 2006 15:25:15 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1177?page=comments#action_12427915 ] 
            
Anton Luht commented on HARMONY-1177:
-------------------------------------

Please close the issue: the bug is not reproduced on the latest build:

java version "1.5.0"
pre-alpha : not complete or compatible
svn = r431366, (Aug 14 2006), Windows/ia32/msvc 1310, debug build
http://incubator.apache.org/harmony
class java.lang.String




> 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

        

Mime
View raw message