jdk icon indicating copy to clipboard operation
jdk copied to clipboard

8295146: Newer C/C++ language features can be used in native code

Open TheShermanTanker opened this issue 1 year ago • 2 comments

Refactor code across the JDK to rely less on compiler extensions after JDK-8292008 and JDK-8247283.

I'm not entirely sure whether the alignment specified in src/jdk.jdwp.agent/share/native/libjdwp/ArrayReferenceImpl.c and src/java.security.jgss/share/native/libj2gss/GSSLibStub.c only benefits code compiled for Windows, so I left the _WIN32 check there for now


Progress

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

Issue

  • JDK-8295146: Newer C/C++ language features can be used in native code

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 10631

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

Using diff file

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

TheShermanTanker avatar Oct 10 '22 14:10 TheShermanTanker

:wave: Welcome back jwaters! 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.

bridgekeeper[bot] avatar Oct 10 '22 14:10 bridgekeeper[bot]

@TheShermanTanker The following labels will be automatically applied to this pull request:

  • core-libs
  • hotspot
  • security
  • serviceability

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

openjdk[bot] avatar Oct 10 '22 14:10 openjdk[bot]