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

JavaDoc spec have 2 missed classes

XMLWordPrintable

    • beta2
    • generic
    • generic
    • Verified



      Name: ssR10172 Date: 05/29/2001



      Official "JavaTM 2 Platform, Standard Edition, v 1.3 API Specification"
      describe 2 classes which are missed in JDK1.3.1 :

      api/org/omg/CORBA/Repository.html
      api/org/omg/CORBA/Initializer.html

      Spec mentions that class "Initializer" and interface "Repository"
      have package "org.omg.CORBA". But JDK runtime miss this classes and
      have the same classes with package name "com.sun.org.omg.CORBA".

      Here is test example and diagnostics:

      ------ test1.java -----
      package test;

      import com.sun.org.omg.CORBA.Initializer;
      import com.sun.org.omg.CORBA.Repository;

      public class test1 {}

      --------- end ---------

      ------ test2.java -----
      package test;

      import org.omg.CORBA.Initializer;
      import org.omg.CORBA.Repository;

      public class test2 {}

      --------- end ---------

      # javac -d . test1.java
      #
      # javac -d . test2.java
      test2.java:3: cannot resolve symbol
      symbol : class Initializer
      location: package CORBA
      import org.omg.CORBA.Initializer;
                           ^
      test2.java:4: cannot resolve symbol
      symbol : class Repository
      location: package CORBA
      import org.omg.CORBA.Repository;
                           ^
      2 errors
      #

      -------------------------------------------------------

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

            duke J. Duke
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: