Uploaded image for project: 'JikesRVM'
  1. RVM-853

Protocol handlers do not work with Jikes RVM

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.4
    • Component/s: Runtime: Class Library
    • Labels:
      None

      Description

      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)

        Attachments

          Activity

            People

            • Assignee:
              ebrangs Erik Brangs
              Reporter:
              suriyasubramanian Suriya Subramanian
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: