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

classes in javax.print that are serializable but don't define serialVersionUID

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.4.0, 1.4.2, 5.0
    • Fix Version/s: 5.0
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
      2d
    • Resolved In Build:
      tiger
    • CPU:
      generic
    • OS:
      generic, solaris_8

      Description

      If this is the wrong subcategory, please pass along.

      The following locations in J2SE's javax.print sources define serializable classes
      that don't define a serialVersionUID. These may result in an unintentional
      serialization incompatibility in the future.

      src/share/classes/javax/print/DocFlavor.java:1029: class javax.print.DocFlavor.URL
      src/share/classes/javax/print/DocFlavor.java:1218: class javax.print.DocFlavor.CHAR_ARRAY
      src/share/classes/javax/print/DocFlavor.java:1266: class javax.print.DocFlavor.STRING
      src/share/classes/javax/print/DocFlavor.java:1312: class javax.print.DocFlavor.READER
      src/share/classes/javax/print/DocFlavor.java:1359: class javax.print.DocFlavor.SERVICE_FORMATTED
      src/share/classes/javax/print/DocFlavor.java:431: class javax.print.DocFlavor
      src/share/classes/javax/print/DocFlavor.java:632: class javax.print.DocFlavor.BYTE_ARRAY
      src/share/classes/javax/print/DocFlavor.java:828: class javax.print.DocFlavor.INPUT_STREAM
      src/share/classes/javax/print/MimeType.java:65: class javax.print.MimeType
      src/share/classes/javax/print/attribute/HashAttributeSet.java:23: class javax.print.attribute
      src/share/classes/javax/print/attribute/HashDocAttributeSet.java:22: class javax.print.attribute
      src/share/classes/javax/print/attribute/HashPrintJobAttributeSet.java:22: class javax.print.attribute
      src/share/classes/javax/print/attribute/HashPrintRequestAttributeSet.java:22: class javax.print.attribute
      src/share/classes/javax/print/attribute/HashPrintServiceAttributeSet.java:21: class javax.print.attribute
      src/share/classes/javax/print/attribute/standard/Chromaticity.java:69: class javax.print.attribute.standard.Chromaticity
      src/share/classes/javax/print/attribute/standard/ColorSupported.java:40: class javax.print.attribute.standard.ColorSupported
      src/share/classes/javax/print/attribute/standard/Compression.java:28: class javax.print.attribute.standard.Compression
      src/share/classes/javax/print/attribute/standard/Copies.java:53: class javax.print.attribute.standard.Copies
      src/share/classes/javax/print/attribute/standard/CopiesSupported.java:28: class javax.print.attribute.standard.CopiesSupported
      src/share/classes/javax/print/attribute/standard/DateTimeAtCompleted.java:35: class javax.print.attribute.standard.DateTimeAtCompleted
      src/share/classes/javax/print/attribute/standard/DateTimeAtCreation.java:35: class javax.print.attribute.standard.DateTimeAtCreation
      src/share/classes/javax/print/attribute/standard/DateTimeAtProcessing.java:35: class javax.print.attribute.standard.DateTimeAtProcessing
      src/share/classes/javax/print/attribute/standard/Destination.java:38: class javax.print.attribute.standard.Destination
      src/share/classes/javax/print/attribute/standard/DocumentName.java:31: class javax.print.attribute.standard.DocumentName
      src/share/classes/javax/print/attribute/standard/Fidelity.java:33: class javax.print.attribute.standard.Fidelity
      src/share/classes/javax/print/attribute/standard/Finishings.java:204: class javax.print.attribute.standard.Finishings
      src/share/classes/javax/print/attribute/standard/JobHoldUntil.java:66: class javax.print.attribute.standard.JobHoldUntil
      src/share/classes/javax/print/attribute/standard/JobImpressions.java:58: class javax.print.attribute.standard.JobImpressions
      src/share/classes/javax/print/attribute/standard/JobImpressionsCompleted.java:40: class javax.print.attribute.standard.JobImpressionsCompleted
      src/share/classes/javax/print/attribute/standard/JobImpressionsSupported.java:30: class javax.print.attribute.standard.JobImpressionsSupported
      src/share/classes/javax/print/attribute/standard/JobKOctets.java:110: class javax.print.attribute.standard.JobKOctets
      src/share/classes/javax/print/attribute/standard/JobKOctetsProcessed.java:52: class javax.print.attribute.standard.JobKOctetsProcessed
      src/share/classes/javax/print/attribute/standard/JobKOctetsSupported.java:30: class javax.print.attribute.standard.JobKOctetsSupported
      src/share/classes/javax/print/attribute/standard/JobMediaSheets.java:50: class javax.print.attribute.standard.JobMediaSheets
      src/share/classes/javax/print/attribute/standard/JobMediaSheetsCompleted.java:40: class javax.print.attribute.standard.JobMediaSheetsCompleted
      src/share/classes/javax/print/attribute/standard/JobMediaSheetsSupported.java:30: class javax.print.attribute.standard.JobMediaSheetsSupported
      src/share/classes/javax/print/attribute/standard/JobMessageFromOperator.java:35: class javax.print.attribute.standard.JobMessageFromOperator
      src/share/classes/javax/print/attribute/standard/JobName.java:36: class javax.print.attribute.standard.JobName
      src/share/classes/javax/print/attribute/standard/JobOriginatingUserName.java:35: class javax.print.attribute.standard.JobOriginatingUserName
      src/share/classes/javax/print/attribute/standard/JobPriority.java:42: class javax.print.attribute.standard.JobPriority
      src/share/classes/javax/print/attribute/standard/JobPrioritySupported.java:32: class javax.print.attribute.standard.JobPrioritySupported
      src/share/classes/javax/print/attribute/standard/JobSheets.java:37: class javax.print.attribute.standard.JobSheets
      src/share/classes/javax/print/attribute/standard/JobState.java:31: class javax.print.attribute.standard.JobState
      src/share/classes/javax/print/attribute/standard/JobStateReason.java:40: class javax.print.attribute.standard.JobStateReason
      src/share/classes/javax/print/attribute/standard/JobStateReasons.java:50: class javax.print.attribute.standard.JobStateReasons
      src/share/classes/javax/print/attribute/standard/MediaName.java:28: class javax.print.attribute.standard.MediaName
      src/share/classes/javax/print/attribute/standard/MediaPrintableArea.java:62: class javax.print.attribute.standard.MediaPrintableArea
      src/share/classes/javax/print/attribute/standard/MediaSize.java:35: class javax.print.attribute.standard.MediaSize
      src/share/classes/javax/print/attribute/standard/MediaSizeName.java:29: class javax.print.attribute.standard.MediaSizeName
      src/share/classes/javax/print/attribute/standard/MediaTray.java:30: class javax.print.attribute.standard.MediaTray
      src/share/classes/javax/print/attribute/standard/MultipleDocumentHandling.java:149: class javax.print.attribute.standard.MultipleDocumentHandling
      src/share/classes/javax/print/attribute/standard/NumberOfDocuments.java:25: class javax.print.attribute.standard.NumberOfDocuments
      src/share/classes/javax/print/attribute/standard/NumberOfInterveningJobs.java:25: class javax.print.attribute.standard.NumberOfInterveningJobs
      src/share/classes/javax/print/attribute/standard/NumberUp.java:108: class javax.print.attribute.standard.NumberUp
      src/share/classes/javax/print/attribute/standard/NumberUpSupported.java:26: class javax.print.attribute.standard.NumberUpSupported
      src/share/classes/javax/print/attribute/standard/OrientationRequested.java:46: class javax.print.attribute.standard.OrientationRequested
      src/share/classes/javax/print/attribute/standard/OutputDeviceAssigned.java:31: class javax.print.attribute.standard.OutputDeviceAssigned
      src/share/classes/javax/print/attribute/standard/PDLOverrideSupported.java:26: class javax.print.attribute.standard.PDLOverrideSupported
      src/share/classes/javax/print/attribute/standard/PageRanges.java:89: class javax.print.attribute.standard.PageRanges
      src/share/classes/javax/print/attribute/standard/PagesPerMinute.java:27: class javax.print.attribute.standard.PagesPerMinute
      src/share/classes/javax/print/attribute/standard/PagesPerMinuteColor.java:38: class javax.print.attribute.standard.PagesPerMinuteColor
      src/share/classes/javax/print/attribute/standard/PresentationDirection.java:33: class javax.print.attribute.standard.PresentationDirection
      src/share/classes/javax/print/attribute/standard/PrintQuality.java:27: class javax.print.attribute.standard.PrintQuality
      src/share/classes/javax/print/attribute/standard/PrinterInfo.java:30: class javax.print.attribute.standard.PrinterInfo
      src/share/classes/javax/print/attribute/standard/PrinterIsAcceptingJobs.java:31: class javax.print.attribute.standard.PrinterIsAcceptingJobs
      src/share/classes/javax/print/attribute/standard/PrinterLocation.java:26: class javax.print.attribute.standard.PrinterLocation
      src/share/classes/javax/print/attribute/standard/PrinterMakeAndModel.java:24: class javax.print.attribute.standard.PrinterMakeAndModel
      src/share/classes/javax/print/attribute/standard/PrinterMessageFromOperator.java:39: class javax.print.attribute.standard.PrinterMessageFromOperator
      src/share/classes/javax/print/attribute/standard/PrinterMoreInfo.java:37: class javax.print.attribute.standard.PrinterMoreInfo
      src/share/classes/javax/print/attribute/standard/PrinterMoreInfoManufacturer.java:38: class javax.print.attribute.standard.PrinterMoreInfoManufacturer
      src/share/classes/javax/print/attribute/standard/PrinterName.java:29: class javax.print.attribute.standard.PrinterName
      src/share/classes/javax/print/attribute/standard/PrinterResolution.java:54: class javax.print.attribute.standard.PrinterResolution
      src/share/classes/javax/print/attribute/standard/PrinterState.java:30: class javax.print.attribute.standard.PrinterState
      src/share/classes/javax/print/attribute/standard/PrinterStateReason.java:50: class javax.print.attribute.standard.PrinterStateReason
      src/share/classes/javax/print/attribute/standard/PrinterStateReasons.java:65: class javax.print.attribute.standard.PrinterStateReasons
      src/share/classes/javax/print/attribute/standard/PrinterURI.java:30: class javax.print.attribute.standard.PrinterURI
      src/share/classes/javax/print/attribute/standard/QueuedJobCount.java:24: class javax.print.attribute.standard.QueuedJobCount
      src/share/classes/javax/print/attribute/standard/ReferenceUriSchemesSupported.java:44: class javax.print.attribute.standard.ReferenceUriSchemesSupported
      src/share/classes/javax/print/attribute/standard/RequestingUserName.java:36: class javax.print.attribute.standard.RequestingUserName
      src/share/classes/javax/print/attribute/standard/Severity.java:47: class javax.print.attribute.standard.Severity
      src/share/classes/javax/print/attribute/standard/SheetCollate.java:139: class javax.print.attribute.standard.SheetCollate
      src/share/classes/javax/print/attribute/standard/Sides.java:102: class javax.print.attribute.standard.Sides
      src/share/classes/javax/print/event/PrintEvent.java:15: class javax.print.event.PrintEvent
      src/share/classes/javax/print/event/PrintJobAttributeEvent.java:20: class javax.print.event.PrintJobAttributeEvent
      src/share/classes/javax/print/event/PrintJobEvent.java:20: class javax.print.event.PrintJobEvent
      src/share/classes/javax/print/event/PrintServiceAttributeEvent.java:22: class javax.print.event.PrintServiceAttributeEvent
      src/share/classes/sun/print/NumericField.java:12: class sun.print.NumericField
      src/share/classes/sun/print/Separator.java:12: class sun.print.Separator
      src/share/classes/sun/print/ServiceDialog.java:1016: class sun.print.ServiceDialog.PageSetupPanel
      src/share/classes/sun/print/ServiceDialog.java:1057: class sun.print.ServiceDialog.MarginsPanel
      src/share/classes/sun/print/ServiceDialog.java:1566: class sun.print.ServiceDialog.MediaPanel
      src/share/classes/sun/print/ServiceDialog.java:1762: class sun.print.ServiceDialog.OrientationPanel
      src/share/classes/sun/print/ServiceDialog.java:1893: class sun.print.ServiceDialog.AppearancePanel
      src/share/classes/sun/print/ServiceDialog.java:1939: class sun.print.ServiceDialog.ChromaticityPanel
      src/share/classes/sun/print/ServiceDialog.java:2023: class sun.print.ServiceDialog.QualityPanel
      src/share/classes/sun/print/ServiceDialog.java:2118: class sun.print.ServiceDialog.SidesPanel
      src/share/classes/sun/print/ServiceDialog.java:2221: class sun.print.ServiceDialog.JobAttributesPanel
      src/share/classes/sun/print/ServiceDialog.java:2399: class sun.print.ServiceDialog.IconRadioButton
      src/share/classes/sun/print/ServiceDialog.java:2445: class sun.print.ServiceDialog.ValidatingFileChooser
      src/share/classes/sun/print/ServiceDialog.java:480: class sun.print.ServiceDialog.GeneralPanel
      src/share/classes/sun/print/ServiceDialog.java:523: class sun.print.ServiceDialog.PrintServicePanel
      src/share/classes/sun/print/ServiceDialog.java:60: class sun.print.ServiceDialog
      src/share/classes/sun/print/ServiceDialog.java:717: class sun.print.ServiceDialog.PrintRangePanel
      src/share/classes/sun/print/ServiceDialog.java:890: class sun.print.ServiceDialog.CopiesPanel
      src/share/classes/sun/print/SunAlternateMedia.java:18: class sun.print.SunAlternateMedia

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jgodinez Jennifer Godinez (Inactive)
                Reporter:
                gafter Neal Gafter
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: