> Unsafe throws IAE for misusing static vs instance fields, and it's revealed 
> that AtomicXxxFieldUpdaters are using this mechanism to reject static fields. 
> This is not a good practice, but we can at least document this so we don't 
> accidentally introduce problems.

Chen Liang has updated the pull request incrementally with one additional 
commit since the last revision:

  Less specific reasons for IAE

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/25945/files
  - new: https://git.openjdk.org/jdk/pull/25945/files/71584eb3..d920ec13

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25945&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25945&range=04-05

  Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/25945.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25945/head:pull/25945

PR: https://git.openjdk.org/jdk/pull/25945

Reply via email to