Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8299227: host exif.org not found in link in doc comment #11768

Closed
wants to merge 2 commits into from

Conversation

kumarabhi006
Copy link
Contributor

@kumarabhi006 kumarabhi006 commented Dec 22, 2022

Broken links are replaced by the similar links fixed in JDK-8288527 for file src/java.desktop/share/classes/javax/imageio/plugins/tiff/ExifTIFFTagSet.java.


Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue

Issue

  • JDK-8299227: host exif.org not found in link in doc comment

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/11768/head:pull/11768
$ git checkout pull/11768

Update a local copy of the PR:
$ git checkout pull/11768
$ git pull https://git.openjdk.org/jdk pull/11768/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 11768

View PR using the GUI difftool:
$ git pr show -t 11768

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/11768.diff

@bridgekeeper
Copy link

bridgekeeper bot commented Dec 22, 2022

👋 Welcome back abhiscxk! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk openjdk bot added the rfr Pull request is ready for review label Dec 22, 2022
@openjdk
Copy link

openjdk bot commented Dec 22, 2022

@kumarabhi006 The following label will be automatically applied to this pull request:

  • client

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command.

@openjdk openjdk bot added the client client-libs-dev@openjdk.org label Dec 22, 2022
@mlbridge
Copy link

mlbridge bot commented Dec 22, 2022

Webrevs

@jayathirthrao
Copy link
Member

Since this is a simple change we can still push it to JDK20.

@prrace
Copy link
Contributor

prrace commented Dec 22, 2022

The suggestion was to fix this doc bug in JDK20. So this is the wrong repo.
You need to withdraw this PR and resubmit against JDK 20
Remember JDK 20 fixes are forward ported to JDK mainline, not the other way around.

@@ -78,7 +78,7 @@
* <tr>
* <td>Exif JPEG</td>
* <td>Exif-specific JPEG compression (see note following this table)</td>
* <td><a href="http://www.exif.org/Exif2-2.PDF">Exif 2.2 Specification</a>
* <td><a href="https://www.cipa.jp/std/documents/e/DC-008-2012_E.pdf">Exif 2.2 Specification</a>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW the link at the other end is EXIF 2.3 .. so you probably want to fix the text too.

@@ -78,7 +78,7 @@
* <tr>
* <td>Exif JPEG</td>
* <td>Exif-specific JPEG compression (see note following this table)</td>
* <td><a href="http://www.exif.org/Exif2-2.PDF">Exif 2.2 Specification</a>
* <td><a href="https://www.cipa.jp/std/documents/e/DC-008-2012_E.pdf">Exif 2.2 Specification</a>
* (PDF), section 4.5.5, "Basic Structure of Thumbnail Data"</td>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is now 4.5.8

@@ -574,7 +574,8 @@ <h3><a id="Compression">Compression</a></h3>
<th scope="row">9</th>
<td>Exif JPEG</td>
<td>Exif-specific JPEG compression (see note following this table)</td>
<td><a href="http://www.exif.org/Exif2-2.PDF">Exif 2.2 Specification</a>
<td><a href="https://www.cipa.jp/std/documents/e/DC-008-2012_E.pdf">
Exif 2.2 Specification</a>
(PDF), section 4.5.5, "Basic Structure of Thumbnail Data"</td>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is now 4.5.8

@@ -1614,7 +1614,7 @@ Java_com_sun_imageio_plugins_jpeg_JPEGImageReader_setSource
/*
* For EXIF images, the APP1 will appear immediately after the SOI,
* so it's safe to only look at the first marker in the list.
* (see http://www.exif.org/Exif2-2.PDF, section 4.7, page 58)
* (see https://www.cipa.jp/std/documents/e/DC-008-2012_E.pdf, section 4.7, page 58)
*/
#define IS_EXIF(c) \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Page number is no longer correct

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should be page 83

@@ -1715,7 +1715,7 @@ Java_com_sun_imageio_plugins_jpeg_JPEGImageReader_readImageHeader
* - we got JFIF image
* Must be YCbCr (see http://www.w3.org/Graphics/JPEG/jfif3.pdf, page 2)
* - we got EXIF image
* Must be YCbCr (see http://www.exif.org/Exif2-2.PDF, section 4.7, page 63)
* Must be YCbCr (see https://www.cipa.jp/std/documents/e/DC-008-2012_E.pdf, section 4.7, page 63)
Copy link
Contributor

@prrace prrace Dec 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Page number is no longer correct - think p88 now

@kumarabhi006
Copy link
Contributor Author

I will raise a PR for JDK20 repo with suggested changes.
Thank you.

@kumarabhi006
Copy link
Contributor Author

Withdrawing this PR.
I will submit for JDK20 repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client client-libs-dev@openjdk.org rfr Pull request is ready for review
Development

Successfully merging this pull request may close these issues.

3 participants