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

rmic failed with error: Class java.awt.Panel not found in class java.applet.Applet when remote object extends java.applet.Applet

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      This failure is from a historical corba SQE test case product/rmi-jrmp/Juicer.

      It can be reproduced with following steps.
      1. Create AppletServer.java with following content:

      import java.awt.Panel;

      public class AppletServer extends java.applet.Applet implements java.rmi.Remote {
      Panel panel = null;
      }
      2. compile it with ${jigsaw_jdk}/bin/javac AppletServer.java
      3. execute ${jigsaw_jdk}/bin/rmic AppletServer

      It will immediately failed with
      error: Class java.awt.Panel not found in class java.applet.Applet


        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dfuchs Daniel Fuchs
              Reporter:
              xiaofeya Xiaofeng Yang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: