Several blocks in Java Edition cannot be waterlogged despite being able to be waterlogged in Bedrock Edition.
Such blocks include:
Anvils (Regular, Chipped, and Damaged)
Azaleas (Regular and Flowering)
Banners (All 16 Colours)
Barriers
Beacons
Beds (All 16 Colours)
Bells
Brewing Stands
Cacti
Cakes (Without Candles, and With All 16 Colours of Candle)
Cauldrons (Empty, Water, Lava, and Powder Snow)
Composters
Daylight Detectors (Regular and Inverted)
Doors (All 8 Wood Types)
Dragon Eggs
Enchanting Tables
End Portal Frames
Fence Gates (All 8 Wood Types)
Grindstones
Hoppers
Leaves (All 6 Overworld Wood Types)
Lecterns
Pistons (Regular and Sticky)
Pressure Plates (All 12 Types)
Shulker Boxes (Regular and All 16 Colours)
Spawners
Structure Blocks
Stonecutters
Turtle Eggs
Buttons (All 10 Types)
Carpets (All 16 Colours)
Cobwebs
Dead Bushes
End Rods
Flower Pots (Empty and With All Plants)
Levers
Heads (All 6 Types)
Redstone Comparators
Redstone Repeaters
Tripwires
Tripwire Hooks
Vines
While this issue relates to MC-125351, it is a separate issue as it relates to parity.
This list was created with the help of the Waterlogging page on the Minecraft Wiki.
Related issues
is duplicated by
Comments

Thank you for your report!
However, this issue is Invalid.
You reported a parity issue. We are only tracking parity issues that meet the following criteria on this bug tracker:
The feature affected by the parity issue is present in both Bedrock Edition and Java Edition in the latest release or development version
The feature behaves differently in one edition than in the other
The parity issue was introduced in Buzzy Bees (Bedrock Edition 1.14 / Java Edition 1.15) or later and was not present before
Any parity issue that does not meet these criteria will not be tracked on the bug tracker and should instead be reported on the Feedback website.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki