Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4068647

ClassCastException from remote objs in applets when skeletons are in CLASSPATH

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 1.1.4
    • 1.1.4
    • core-libs
    • None
    • 1.1.4
    • generic
    • generic
    • Not verified

      The stock example gets the following exception intermittently on the server when
      run on the latest promoted sparkler build ( sparkler_E ) on both solaris
      and win32. This seems to be a problem from the client side ( applet ) since
      the same server gets the exception sometimes when the appletviewer is started
      and not other times. It also seems to be aggravated by having set classpath='.'
      ( according to Peter Jones -- who is looking into the problem )

      The exception is :-

       Server RuntimeException; nested exception is:
      java.lang.ClassCastException: examples.rmi.stock.StockApplet




      peter.jones@East 1997-07-30
      This should happen (with JDK 1.1 sparkler "E") with any applet that exports
      an RMI remote object and its classes are visible from CLASSPATH.

            peterjones Peter Jones (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: