[jira] Created: (RVM-853) Protocol handlers do not work with Jikes RVM

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

[jira] Created: (RVM-853) Protocol handlers do not work with Jikes RVM

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

Reply to Author | View Threaded | Show Only this Message

Protocol handlers do not work with Jikes RVM
--------------------------------------------

                 Key: RVM-853
                 URL: http://jira.codehaus.org/browse/RVM-853
             Project: RVM
          Issue Type: Bug
          Components: Runtime: Class Library
            Reporter: Suriya Subramanian
         Attachments: protocol-handler-test.jar

Jikes RVM does not seem to support protocol handlers. http://www.j2ee.me/developer/onlineTraining/protocolhandlers/

I am attaching a jar file demonstrating this bug. The jar file contains source code as well. I got the source from jEdit editor's source. I modified it to have minimal code that exhibits the bug. jEdit is released under a GPL license. If this is an issue, let me know.

"java -jar protocol-handler-test.jar" works, while "rvm -jar protocol-handler-test.jar" does not. Here is the error with rvm:

Exception in thread "MainThread" java.net.MalformedURLException: Protocol handler not found: myprotocol
   at java.net.URL.<init>(URL.java:495)
   at java.net.URL.<init>(URL.java:327)
   at test.jikesrvm.Main.main(Main.java:15)


--
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

       

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jikesrvm-issues mailing list
Jikesrvm-issues@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-issues

[jira] Updated: (RVM-853) Protocol handlers do not work with Jikes RVM

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

Reply to Author | View Threaded | Show Only this Message


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

Suriya Subramanian updated RVM-853:
-----------------------------------

    Attachment: fix-protocol-handler.patch

Added a patch that fixes java.net.URL in GNU Classpath. This does the job for me. I am sure others can think of a better solution.

> Protocol handlers do not work with Jikes RVM
> --------------------------------------------
>
>                 Key: RVM-853
>                 URL: http://jira.codehaus.org/browse/RVM-853
>             Project: RVM
>          Issue Type: Bug
>          Components: Runtime: Class Library
>            Reporter: Suriya Subramanian
>         Attachments: fix-protocol-handler.patch, protocol-handler-test.jar
>
>
> Jikes RVM does not seem to support protocol handlers. http://www.j2ee.me/developer/onlineTraining/protocolhandlers/
> I am attaching a jar file demonstrating this bug. The jar file contains source code as well. I got the source from jEdit editor's source. I modified it to have minimal code that exhibits the bug. jEdit is released under a GPL license. If this is an issue, let me know.
> "java -jar protocol-handler-test.jar" works, while "rvm -jar protocol-handler-test.jar" does not. Here is the error with rvm:
> Exception in thread "MainThread" java.net.MalformedURLException: Protocol handler not found: myprotocol
>    at java.net.URL.<init>(URL.java:495)
>    at java.net.URL.<init>(URL.java:327)
>    at test.jikesrvm.Main.main(Main.java:15)

--
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

       

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jikesrvm-issues mailing list
Jikesrvm-issues@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-issues