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

Package oracle.help.viewer does not exist

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      windows_10

      Description

      ADDITIONAL SYSTEM INFORMATION :
      Windows 10
      Netbeans 8.2
      jdk1.8.0_191

      A DESCRIPTION OF THE PROBLEM :
      The Oracle Help for Java API Reference Release 12c (12.1.3) specifies a viewer class Viewer (java.lang.Object
       > oracle.help.viewer.Viewer). However the reference package does not exist in the release of ohj-12.2.1.0.0. and thus cannot be imported into a Java application.

      REGRESSION : Last worked in version 8u251

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      In a Java project, add the following compile time libraries:
      help-4_2-ehelp-integration.jar
      ohj.jar
      oracle_ice.jar
      share.jar
      jewt.jar

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      To be able to create an instance of the Viewer class
      ACTUAL -
      The import is flagged as "Cannot find symbol; symbol: class viewer; package: oracle.help

      ---------- BEGIN SOURCE ----------
      package myviewer;
      import oracle.help.viewer;
      /**
       *
       * @author Administrator
       */
      public class MyViewer {

        /**
         * @param args the command line arguments
         */
        public static void main(String[] args) {
          // TODO code application logic here
        }
      }
      ---------- END SOURCE ----------

      FREQUENCY : always


        Attachments

          Activity

            People

            Assignee:
            pnarayanaswa Praveen Narayanaswamy
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: