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

8303828: [Solaris] Broken jdk8u build after JDK-8266391 #37

Closed

Conversation

adamfarley
Copy link

@adamfarley adamfarley commented Mar 9, 2023

Because Solaris currently lacks this class, the build breaks when compiling Metrics.java. Inserting a dummy class to fix that.

This takes the same approach as JDK-8303408, only on Solaris.

This change is being proposed directly to JDK8u because I'm not aware of Solaris platform support post-JDK8.

P.S. This PR is being created for jdk8u (as well as jdk8u-dev) as per this advice here.


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-8303828: [Solaris] Broken jdk8u build after JDK-8266391

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 37

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk8u/pull/37.diff

Because Solaris currently lacks this class, the build breaks
when compiling Metrics.java. Inserting a dummy class to fix that.

Signed-off-by: Adam Farley <adfarley@redhat.com>
@bridgekeeper
Copy link

bridgekeeper bot commented Mar 9, 2023

👋 Welcome back afarley! 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.

@jerboaa
Copy link
Contributor

jerboaa commented Mar 9, 2023

Please change the PR title to 8303828: [Solaris] Broken jdk8u build after JDK-8266391 so that it matches the JBS issue. Then, please enable testing on your fork. See Details link in Pre-submit test status which has instructions. Finally, switch the approval labels to jdk8u-critical-request (from jdk8u-fix-request). Thanks!

Copy link
Contributor

@jerboaa jerboaa left a comment

Choose a reason for hiding this comment

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

LGTM.

@adamfarley adamfarley changed the title Fix for build break on Solaris due to missing class 8303828: [Solaris] Broken jdk8u build after JDK-8266391 Mar 9, 2023
@openjdk
Copy link

openjdk bot commented Mar 9, 2023

@adamfarley This change now passes all automated pre-integration checks.

After integration, the commit message for the final commit will be:

8303828: [Solaris] Broken jdk8u build after JDK-8266391

Reviewed-by: sgehwolf, andrew

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been no new commits pushed to the master branch. If another commit should be pushed before you perform the /integrate command, your PR will be automatically rebased. If you prefer to avoid any potential automatic rebasing, please check the documentation for the /integrate command for further details.

As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@jerboaa, @gnu-andrew) but any other Committer may sponsor as well.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@openjdk openjdk bot added ready Pull request is ready to be integrated rfr Pull request is ready for review labels Mar 9, 2023
@mlbridge
Copy link

mlbridge bot commented Mar 9, 2023

Webrevs

@jerboaa
Copy link
Contributor

jerboaa commented Mar 9, 2023

@adamfarley The bug is approved, feel free to /integrate

@adamfarley
Copy link
Author

Thanks Severin. :)

@adamfarley
Copy link
Author

/integrate

@openjdk openjdk bot added the sponsor Pull request is ready to be sponsored label Mar 9, 2023
@openjdk
Copy link

openjdk bot commented Mar 9, 2023

@adamfarley
Your change (at version 8caab5d) is now ready to be sponsored by a Committer.

Copy link
Member

@gnu-andrew gnu-andrew left a comment

Choose a reason for hiding this comment

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

Makes sense. I guess we should have expected this after the AIX one. At least now we know who to contact for future issues that touch Solaris and AIX!

@gnu-andrew
Copy link
Member

@adamfarley, doesn't matter for this one (as the testers don't build on Solaris anyway obviously), but you should make sure to enable GitHub Actions in your fork for any future changes, so testing will run.

@gnu-andrew
Copy link
Member

/sponsor

@openjdk
Copy link

openjdk bot commented Mar 9, 2023

Going to push as commit ebbd3a8.

@openjdk openjdk bot added the integrated Pull request has been integrated label Mar 9, 2023
@openjdk openjdk bot closed this Mar 9, 2023
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review sponsor Pull request is ready to be sponsored labels Mar 9, 2023
@openjdk
Copy link

openjdk bot commented Mar 9, 2023

@gnu-andrew @adamfarley Pushed as commit ebbd3a8.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

@jerboaa
Copy link
Contributor

jerboaa commented Mar 14, 2023

This seems to have broken the build on linux and apparently on mac os on the rampdown tree. The issue seems to be that on the old build system solaris/classes are being merged on mac/linux/aix as well. So while it fixes the solaris build it breaks linux and mac. GHA would have caught it. Sigh.

@gnu-andrew
Copy link
Member

This seems to have broken the build on linux and apparently on mac os on the rampdown tree. The issue seems to be that on the old build system solaris/classes are being merged on mac/linux/aix as well. So while it fixes the solaris build it breaks linux and mac. GHA would have caught it. Sigh.

My bad. I should have required that run before allowing this one. It completely slipped my mind that the solaris directory was the generic directory on 8u and older.

@jerboaa
Copy link
Contributor

jerboaa commented Mar 14, 2023

This seems to have broken the build on linux and apparently on mac os on the rampdown tree. The issue seems to be that on the old build system solaris/classes are being merged on mac/linux/aix as well. So while it fixes the solaris build it breaks linux and mac. GHA would have caught it. Sigh.

My bad. I should have required that run before allowing this one. It completely slipped my mind that the solaris directory was the generic directory on 8u and older.

No worries. This solaris peculiarity slipped my mind as well...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

3 participants