mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8259636: Check for buffer backed by shared segment kicks in in unexpected places
Reviewed-by: sundar, alanb, chegar
This commit is contained in:
parent
5f9cd72c54
commit
17b4db31cb
2 changed files with 10 additions and 2 deletions
|
@ -203,7 +203,7 @@ class Direct$Type$Buffer$RW$$BO$
|
|||
{
|
||||
#if[rw]
|
||||
super(mark, pos, lim, cap, segment);
|
||||
address = db.address() + off;
|
||||
address = ((Buffer)db).address + off;
|
||||
#if[byte]
|
||||
cleaner = null;
|
||||
#end[byte]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue