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

Broken API names in API doc

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 7, 8, 9
    • Fix Version/s: tbd
    • Component/s: client-libs
    • Labels:

      Description

      A DESCRIPTION OF THE PROBLEM :
      1. http://docs.oracle.com/javase/7/docs/api/index.html?java/awt/Component.html
      For paint events, the new event is coalesced into a complex RepaintArea in the peer. > RepaintArea is deleted in 7.0

      2.http://docs.oracle.com/javase/7/docs/api/java/awt/GridBagConstraints.html
      GridBagConstraint->GridBagConstraints

      3.http://docs.oracle.com/javase/7/docs/api/java/awt/font/TextAttribute.html
      An intermediate weight between WEIGHT_LIGHT and WEIGHT_STANDARD.->EIGHT_REGULAR?

      4.http://docs.oracle.com/javase/7/docs/api/java/awt/image/BufferedImage.html
      the WriteableRaster of this BufferedImage.->WritableRaster

      5.http://docs.oracle.com/javase/7/docs/api/java/awt/image/renderable/RenderableImageOp.html
      Constructs a RenderedImageOp given a ...->RenderableImageOp

      6.http://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html
      The network class loader subclass must define the methods findClass and loadClassData ->loadClass?

      7.http://docs.oracle.com/javase/7/docs/api/java/lang/management/package-summary.html
        for (com.sun.management.GarbageCollectorMXBean gc : mxbeans) {->
        for (java.lang.management.GarbageCollectorMXBean gc : mxbeans) {

      8.http://docs.oracle.com/javase/7/docs/api/java/net/URLConnection.html
       Certain header fields are accessed frequently. The methods:
          getContentEncoding
          getContentLength
          getContentType
          getDate
          getExpiration
          getLastModifed
      ->getLastModified

      9.http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html
      BufferReader reader = Files.newBufferedReader(path, StandardCharsets.UTF_8);->BufferedReader

      10.http://docs.oracle.com/javase/7/docs/api/javax/security/sasl/SaslServer.html
        ldap.in = new SecureInputStream(ss, ldap.in);
            ldap.out = new SecureOutputStream(ss, ldap.out);-> Where are SecureInputStream and SecureOutputStream?

      11.http://docs.oracle.com/javase/7/docs/api/javax/swing/ScrollPaneLayout.html
       JScrollPaneLayout is responsible for...->ScrollPaneLayout

      12.http://docs.oracle.com/javase/7/docs/api/java/sql/SQLPermission.html
      Connection.setNetworktimeout->setNetworkTimeout

      A complete list of possible broken code names is as follows:
      PropertyChange
      RepaintArea
      AccessibleContainer
      SecurityEcxeption
      GridBagConstraint
      setattributeNameToDefault
      PageAttribute
      RenderinHints
      ButtonPeer
      CanvasPeer
      CheckboxPeer
      CheckboxMenuItemPeer
      ChoicePeer
      DesktopPeer
      DialogPeer
      InvalidDndOperationException
      FileDialogPeer
      FramePeer
      LabelPeer
      ListPeer
      MenuPeer
      MenuBarPeer
      MenuItemPeer
      PanelPeer
      PopupMenuPeer
      ScrollbarPeer
      ScrollPanePeer
      TextAreaPeer
      TextFieldPeer
      WindowPeer
      FontPeer
      MouseInfoPeer
      IllegalDnDOperationException
      DragSourceContextPeer
      ComponentPeer
      DropTargetContextPeer
      WEIGHT_STANDARD
      getDesignAxesLimits
      GENERAL_TRANSFORM
      TransferType
      TransferTypes
      WriteableRaster
      ArrayOutOfBoundsException
      ColorConverts
      ArrayIndexOutOfBoundException
      RenderedImageOp
      Beans.getInstanceof
      VetoableChange
      PropertyChangeVetoException
      BeanContextAvailableServiceEvent
      BeanContextServiceEvent
      BeanContextServicesProvider
      BeanContextServceProvider
      BeanContextService
      BeanContextshipEvent
      BeanContextPeer
      PropertyVetoedException
      BeanContextChildren
      ObjectInputstream
      NullReferenceException
      ProtocolVersion
      MODIFIER
      ObjectStream
      loadClassData
      classFileBuffer
      RegisterNatives
      ExType
      com.sun.management.GarbageCollectorMXBean
      getCollectionCount
      GcInfo
      getLastGcInfo
      divideToIntgralValue
      CookieHanlder
      NetscapeCookieSotre
      IPaddress
      getLastModifed
      fileNameMap
      DefaultUseCaches
      BufferReader
      UnicastRef
      UnicastServerRef
      LoadStoreParmeter
      FilePermissionCollection
      SocketPermissionCollection
      UnsolvedPermission
      KeyIDConflictException
      KeyAuthorizationFailureException
      ExpiredKeyException
      sun.security.acl
      sun.security.acl.AclImpl
      sun.net.www.content
      PolicyQualifiersRejected
      NameConstraints
      RSAParameterSpec
      getDriverProperties
      Connection.setNetworktimeout
      SQLData.getSQLType
      SQLData.writeSQ
      BinaryStream
      MaxFieldSize
      SQLstate
      setMaximumInteger
      FomattableFlags
      startDayOfMonth
      contextClassLoader
      getLockQueueLength
      ContextClassLoader
      SystemClassLoader
      ContextClassLoaders
      ResourceBunlde
      accessibleStateSet
      ImputStream
      CompletionStatusFailOnly
      ByteByffer
      AlgorithmIdentifer
      setDestinationOffsets
      getImageType
      getSourceXOffset
      getSourceYOffset
      getSourceWidth
      getSourceHeight
      prepareReiplacePixels
      IIMetadataFormatImpl
      ImageWrite
      getDefaultImageReadParam
      getDefaultImageWriteParam
      getNativeStreamMetadataFormat
      getNativeImageMetadataFormat
      IIOTreeInfo
      getMIMEType
      IIOExtraDataInfo
      CacheSize
      ConfigurationChangedNotification
      LastChangedTime
      DefaultDomain
      MBeanServerId
      ThingMBean
      MLET
      ModelMBeanParameterInfo
      ModelMBeanAttributeDescriptor
      ModelMBeanConstructor
      MBeanDescriptor
      ModelMBeanNotfication
      ModelMBeanNotification
      attributeChangeNotification
      attributeChangeNotifications
      RequiredModelMbean
      RequireModelMBean
      modelMBeanInfo
      InvalidTargetTypeException
      PersistPolicy
      AssociatorNames
      IsReadable
      IsWritable
      JXMServiceURL
      sendPastNotifications
      SizeLimitExceedException
      InsufficientResourceException
      SUBSTREE_SCOPE
      VirtualListReplyControl
      SSLsession
      SSLContextImpl
      JOB_CANCELLED
      MultiPrintService
      RequestingUser
      PrintRequestAttributeSe
      PrintRequest
      CANCELED_BY_USER
      CANCELED_BY_OPERATOR
      CANCELED_AT_DEVICE
      COMPLETED_SUCCESSFULLY
      COMPLETED_WITH_WARNINGS
      COMPLETED_WITH_ERRORS
      useCodebaseOnly
      RepositoryId
      getGlobalScope
      getEngineByMimetype
      com.sun.security.auth.module.UnixLoginModule
      com.sun.security.auth.module.Krb5LoginModule
      UnixLoginModule
      Krb5LoginModule
      LdapResult
      sendBindRequest
      SecureInputStream
      SecureOutputStream
      sendBindResponse
      readBindRequest
      sendErrorResponse
      NoSuchCallbackException
      SoundBank
      getPoolConnection
      com.sun.rowset
      SqlType
      RowSetReaderImpl
      RowSetListerner
      RowSetFactoryImpl
      CachedRowSetImpl
      RIOptimisticProvider
      RowSetWriterImpl
      RIOptismisticProvider
      FilteredRowSetImpl
      JdbcRowSetImpl
      JoinRowSetImpl
      CachedRowSet.unsetKeyColumns
      JointRowSet
      JoinRowSet
      FilterRowSet
      WebRowSetImpl
      SQLInputImpl.readXXX
      SQLOutputImpl.writeXXX
      setSyncProvider
      getSyncProvider
      XMLWriter
      RIXMLProvider
      SyncResolver
      com.sun.rowset.CachedRowSetImpl
      RIXmlProvider
      GRADE_MODIFIED_AT_COMMIT
      SyncProviderExceptiom
      BorderPainted
      AccessibleAWTBoxFiller
      AccessibleAWTBox
      configureListCellRenderer
      debugGraphicsOptions
      JDesktop
      ExternalWindow
      DesktopManger
      Live_DRAG_MODE
      UL.getRef
      AbstractFormat
      DataModel
      DefaultListSelecitonModel
      JMenuitem
      MenuMouseDragEvent
      AccessibleJMenuItme
      JMenuItemUI
      JMenuElement
      getLengthOfTask
      JRootpane
      AdjustmentLister
      ModelChanged
      TabPane
      setDisableIconAt
      columnHeaderView
      JViewPort
      StateChanged
      UIDefault
      JScrollPaneLayout
      JScrollPane
      IllegalArugmentException
      translateMouseEvent
      classForName
      MouseDragged
      JCellEditor
      getCellEditorComponent
      ListDataModel
      JPoupMenu
      ShellFolder
      JFileChooserUI
      UIComponent
      getMinimalSize
      BasicButton
      BasicCheckboxMenuItem
      CheckboxUI
      BasicCheckboxUI
      BasicListCellRenderer
      ListCellRender
      addComboBoxListeners
      UIView
      updateLayoutStateNeeded
      BasicMenuItem
      BasicMessagePaneUI
      yesNoOptions
      yesNoCancelOptions
      BasicPanel
      JProgessBar
      BasicRadioButtonMenuItem
      SpinnerListUI
      ScrollableTabPanel
      InputPosition
      JCaret
      BasicToggleButton
      setBorderNormal
      TreeMouseListener
      TreeState
      defaultCellRenderer
      VisibleTreeNode
      treeDidChange
      BasicViewport
      CheckboxIcon
      OrganicCheckBoxUI
      MetalCheckboxUI
      MetalComboBox
      DirectoryComboBox
      BasicProgressBar
      horizontalThumbIcon
      verticalThumbIcon
      MetalToggleButton
      MotifButtonUI
      AudioButtonUI
      AutoMulti
      ScrollBarSlider
      ScrollBarThumb
      MenuItemAccelerator
      PopupMenuSeparator
      RegionButtonMenuItem
      ScrollBarTrack
      SliderThumb
      SliderTrack
      TabbedPaneContent
      TabbedPaneTab
      TabbedPaneTabArea
        ToolBarContent
        ToolBarDragWindow
        ToolBarSeparator
      TreeCell
      SynthComboBoxRenderer
      SynthGraphicUtils
      JListBox
      TreeNodews
      getDocumentLength
      getViewIndexByPosition
      CaretColor
      paintLayeredHighlight
      DefaultHighlighther
      LayeredHighlightPainter
      LogicalView
      UndoPosRef
      DefaultTextFormatter
      getSupportsIncrement
      getPartialView
      ALIGN_JUSTIFED
      BidiLevel " )
      RIGHT_TAB
      JTextController
      JTextAction
      maxZoneSize
      maxZonesLoaded
      DocumentListers
      resetButtonText
      submitButtonText
      AreaAction
      BaseAction
      HeadAction
      IsndexAction
      LinkAction
      MapAction
      MetaAction
      StyleAction
      TitleAction
      TextAreaDocument
      NameAttribute
        TokenThreshold
      EndTagTypes
      StartTagTypes
      ChangedUpdate
      RemovedUpdate
      InsertUpdate
      FrameView
      HRuleView
      BRView
      FrameSetView
      DefaultMutableNode
      MutableNode
      getStartPostion
      XAER_RMFAILED
      lexicalXSDQname
      MechanismType
      XSLTransformParameterSpec
      URLEndpoint
      FaultCode
      getSOAPPart
      supportDTD
      isRepairingNamespaces
      CharacterStream
      XMLSchema
      SecurityManger
      ServletContext
      HttpServletRequest
      HttpServletResponse
      XPathExpression.evalute
      OutpuStream
      PolicyType
      PolicyErrorCode
      StringValue
      org.omg.CORBA.Any
      TypeCoded
      PrimitiveDef
      org.omg.CORBA.Object
      InterfaceDef
      RebindPolicy
      LocateReply
      OperationDef
      InvocationPolicy
      org.omg.CORBA.ORBClass
      org.omg.CORBA.ORBSingletonClass
      ORBSingletonClass
      PolicyList
      UnknownExceptionInfo
      NamingContect
      BindingList
      LocationForward
      LoggingInterceptor
      ORBInitializerClass
      ThreadPolcy
      SYNC_NONE
      SYNC_WITH_SERVER
      SYNC_WITH_TARGET
      SendingContext.CodeBase
      com.sun.org.omg.SendingContext
      DOCUMENT_TYPE
      DOMError.relatedData
      AddEventListener
      AbstractView
      ACTION_TYPES
      NodeFilter
      SHOW_ATTRIBUTE
      SHOW_DOCUMENT
      SHOW_DOCUMENT_TYPE
      SHOW_NOTATION
      SHOW_ENTITY
      SHOW_DOCUMENT_FRAGMENT
      listenertype
      secondaryLoop
      componentOrientation
      visibleAmount
      iconImage
      baselineOffsets
      characterCount
      alphaPremultiplied
      tranferType
      transfertype
      setcopies
      propertyEditor
      addChildren
      tragetChild
      printwriter
      setExcutable
      Putfield
      typecode
      readlong
      roundingMode
      Inetaddress
      keepalive
      ~validOps
      marshalledobject
      Keystore
      keystores
      keystore
      keypair
      basicConstraints
      keyIdentifier
      getMesasge
      setPattern " )
      markholder
      stampholder
      ismethodname
      javamethodname
      dotall
      accessibleText
      accessibleSelection
      accessibleValue
      encrypedData
      dstRegion
      Classtype
      memoryUsage
      langException
      operationInfo
      getnumber
      refaddr
      theValue
      defaultvalue
      theAttribute
      Severit
      defaultRealm
      soundbanks
      soundbank
      actionlisteners
      radiobutton
      viewportView
      parentRow
      lineStyle
      uiDefault
      synthSet
      attributeset
      Tabset
      contentModel
      childIndicies
      newvalue
      redoText
      undoText
      filemanager
      getBqual
      getGtrid
      faultcode
      faultstring
      deleteNode
      defaultNamespace
      schemLanguage
      bindingProvider
      GraphicsEnviroment
      EndpointReferece
      CONSTANT_String
      CONSTANT_Integer
      CONSTANT_InvokeDynamic
      CONSTANT_Methodref
      CONSTANT_InterfaceMethodref
      CONSTANT_Fieldref









      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Please globally search these broken code names and fix them.

      URL OF FAULTY DOCUMENTATION :
      http://docs.oracle.com/javase/7/docs/api/overview-summary.html

        Attachments

          Activity

            People

            • Assignee:
              serb Sergey Bylokhov
              Reporter:
              erikj Erik Joelsson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: