Skip to content

8292352: 32-bit Windows build failures after JDK-8290059#9875

Closed
shipilev wants to merge 1 commit intoopenjdk:masterfrom
shipilev:JDK-8292352-win32-testlib
Closed

8292352: 32-bit Windows build failures after JDK-8290059#9875
shipilev wants to merge 1 commit intoopenjdk:masterfrom
shipilev:JDK-8292352-win32-testlib

Conversation

@shipilev
Copy link
Member

@shipilev shipilev commented Aug 15, 2022

The affected file was added by JDK-8290059, and the code that fails the compilation is under #ifdef _WIN32, and it only (?) gets compiled for tests. Looks like we really need the "WINAPI" macro in the definition, so that we match the stdcall. See the example declaration in the docs.

Attn @JornVernee.

Additional testing:

  • Windows x86_32 builds, java/foreign tests now pass
  • Windows x86_64 builds, java/foreign tests still pass

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-8292352: 32-bit Windows build failures after JDK-8290059

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 9875

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

Using diff file

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

@bridgekeeper
Copy link

bridgekeeper bot commented Aug 15, 2022

👋 Welcome back shade! 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 Aug 15, 2022
@openjdk
Copy link

openjdk bot commented Aug 15, 2022

@shipilev To determine the appropriate audience for reviewing this pull request, one or more labels corresponding to different subsystems will normally be applied automatically. However, no automatic labelling rule matches the changes in this pull request. In order to have an "RFR" email sent to the correct mailing list, you will need to add one or more applicable labels manually using the /label pull request command.

Applicable Labels
  • build
  • client
  • compiler
  • core-libs
  • hotspot
  • hotspot-compiler
  • hotspot-gc
  • hotspot-jfr
  • hotspot-runtime
  • i18n
  • ide-support
  • javadoc
  • jdk
  • jmx
  • kulla
  • net
  • nio
  • security
  • serviceability
  • shenandoah

@shipilev
Copy link
Member Author

Ah, labels. Let's pretend this is the same as JDK-8290059.

/label add core-libs

@openjdk openjdk bot added the core-libs core-libs-dev@openjdk.org label Aug 16, 2022
@openjdk
Copy link

openjdk bot commented Aug 16, 2022

@shipilev
The core-libs label was successfully added.

@mlbridge
Copy link

mlbridge bot commented Aug 16, 2022

Webrevs

Copy link
Member

@tstuefe tstuefe left a comment

Choose a reason for hiding this comment

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

Looks good and trivial. This came up during the original PR discussion but we thought it would not be needed.

Cheers, Thomas

@openjdk
Copy link

openjdk bot commented Aug 16, 2022

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

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

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

8292352: 32-bit Windows build failures after JDK-8290059

Reviewed-by: stuefe

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 32 new commits pushed to the master branch:

  • f45b840: 8292384: Convert AdapterHandlerTable to ResourceHashtable
  • 0c67fba: 8289049: x86_32 build fails with GCC 11 due to newString646_US warning
  • bf7d6d3: 7132413: [macosx] closed/javax/swing/AbstractButton/5049549/bug5049549.java fails on MacOS
  • e230719: 8292448: Convert BitMapFragmentTable to ResourceHashtable
  • f75da22: 8292395: [testbug] VectorGatherScatterTest.java fails on SVE with -XX:MaxVectorSize=8 after JDK-8288397
  • 802ef38: 8292327: java.io.EOFException in InflaterInputStream after JDK-8281962
  • e61f6fc: 8292362: java/lang/Thread/jni/AttachCurrentThread/AttachTest.java#id1 failed on some platforms
  • 0bfb121: 8292051: jdk/internal/misc/TerminatingThreadLocal/TestTerminatingThreadLocal.java failed "AssertionError: Expected terminated values: [666] but got: []"
  • 1d9c2f7: 8292279: (fs) Use try-with-resources to release NativeBuffer
  • a25e1dc: 8292285: C2: remove unreachable block after NeverBranch-to-Goto conversion
  • ... and 22 more: https://git.openjdk.org/jdk/compare/e89abb7d2d902c6e6b3c9953fc6663de10db77b9...master

As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Aug 16, 2022
@shipilev
Copy link
Member Author

All right, thanks! If there are no other suggestions/complaints, I am going to integrate it.

@shipilev
Copy link
Member Author

/integrate

@openjdk
Copy link

openjdk bot commented Aug 17, 2022

Going to push as commit e81210f.
Since your change was applied there have been 32 commits pushed to the master branch:

  • f45b840: 8292384: Convert AdapterHandlerTable to ResourceHashtable
  • 0c67fba: 8289049: x86_32 build fails with GCC 11 due to newString646_US warning
  • bf7d6d3: 7132413: [macosx] closed/javax/swing/AbstractButton/5049549/bug5049549.java fails on MacOS
  • e230719: 8292448: Convert BitMapFragmentTable to ResourceHashtable
  • f75da22: 8292395: [testbug] VectorGatherScatterTest.java fails on SVE with -XX:MaxVectorSize=8 after JDK-8288397
  • 802ef38: 8292327: java.io.EOFException in InflaterInputStream after JDK-8281962
  • e61f6fc: 8292362: java/lang/Thread/jni/AttachCurrentThread/AttachTest.java#id1 failed on some platforms
  • 0bfb121: 8292051: jdk/internal/misc/TerminatingThreadLocal/TestTerminatingThreadLocal.java failed "AssertionError: Expected terminated values: [666] but got: []"
  • 1d9c2f7: 8292279: (fs) Use try-with-resources to release NativeBuffer
  • a25e1dc: 8292285: C2: remove unreachable block after NeverBranch-to-Goto conversion
  • ... and 22 more: https://git.openjdk.org/jdk/compare/e89abb7d2d902c6e6b3c9953fc6663de10db77b9...master

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Aug 17, 2022
@openjdk openjdk bot closed this Aug 17, 2022
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Aug 17, 2022
@openjdk
Copy link

openjdk bot commented Aug 17, 2022

@shipilev Pushed as commit e81210f.

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

@shipilev shipilev deleted the JDK-8292352-win32-testlib branch September 5, 2022 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core-libs core-libs-dev@openjdk.org integrated Pull request has been integrated

Development

Successfully merging this pull request may close these issues.

2 participants