This is not answer, it's additional information. The problem resolved itself spontaneously. Maybe it's because I quit Netbeans. Maybe it's because I rebooted. Maybe it's gremlins:
Just to be clear, compile-on-save is still disabled and it's the same version of Netbeans.