Uploaded image for project: 'WINDUPRULE - Red Hat Application Migration Toolkit rules'
  1. WINDUPRULE - Red Hat Application Migration Toolkit rules
  2. WINDUPRULE-944

Implement a rule to detect the use of JPEGImageDecoder and other internal classes

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • MTR-1.2.0
    • None
    • None
    • None
    • AMM Sprint 236, AMM Sprint 237, AMM Sprint 238, AMM Sprint 239
    • None

      Oracle JDK has some internal classes that are not part of OpenJDK. These include code that is used to read and write JPeg images, for example:

      com/sun/image/codec/jpeg/JPEGImageDecoder

      But generally everything under the com/sun/image/codec/jpeg package.

      This is a very old problem and application should have moved away from internal classes but we still encounter some that use them and break on OpenJDK.

      It would be nice to have a rule that can tell the customer to not use these classes, and instead use the official javax.imageio.ImageIO for similar functionality.

      For some additional information, please refer to this:

      https://access.redhat.com/solutions/443673

              Unassigned Unassigned
              mtorre@redhat.com Mario Torre
              Sachin Singla Sachin Singla
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: