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

JDK on Windiws95 cannot handle long class names.

XMLWordPrintable

    • x86
    • windows_95



      Name: akC45999 Date: 08/18/98



      Following JCK test passes both on WinNt and Solaris but fails on win95 with diagnostics:

      fldnmi00402m1d: java.lang.NoClassDefFoundError: javasoft/sqe/tests/vm/classfmt/fld/fldnmi004/fldnmi00402m1/k01234567890123456789/k01234567890123456789/k01234567890123456789/k01234567890123456789/k01234567890123456789/k01234567890123456789/k01234567890123456789/fldnmi00402m1c

      Used JDK is 1.2 FCS-F.

      ----------------------------------------------------- fldnmi00402m1.java
      package javasoft.sqe.tests.vm.classfmt.fld.fldnmi004.fldnmi00402m1;

      import java.io.PrintStream;

      class fldnmi00402m1d {

        public static java.lang.String s;
        public static javasoft.sqe.tests.vm.classfmt.fld.fldnmi004.fldnmi00402m1.k01234567890123456789.k01234567890123456789.k01234567890123456789.k01234567890123456789.k01234567890123456789.k01234567890123456789.k01234567890123456789.fldnmi00402m1c ac;

        static {
      ac = new javasoft.sqe.tests.vm.classfmt.fld.fldnmi004.fldnmi00402m1.k01234567890123456789.k01234567890123456789.k01234567890123456789.k01234567890123456789.k01234567890123456789.k01234567890123456789.k01234567890123456789.fldnmi00402m1c();
      s = ac.str;
      System.out.println(">>>>>>>>>>>>>>>>>> "+s);
        }

      }

      class fldnmi00402m1c{

       public static String str = "FLDNMI00401C";

      }

      public class fldnmi00402m1 {

         public static int run(String argv[], PrintStream out) {

      try{
      Class.forName("javasoft.sqe.tests.vm.classfmt.fld.fldnmi004.fldnmi00402m1.fldnmi00402m1d");
      }
      catch (ThreadDeath e) {
      throw e;
      }
      catch (Throwable e) {
      out.println("fldnmi00402m1d: "+e);
      return 2/*STATUS_FAILED*/;
      };


      return 0/*STATUS_PASSED*/;

        }

        public static void main(String argv[]) {
        System.exit(run(argv, System.out) + 95/*STATUS_TEMP*/);
        }

      }
      ---------------------------------------------------------

      ======================================================================

            Unassigned Unassigned
            rfqsunw Rfq Rfq (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: