Kernel-Based Learning of Safety Barriers (Journal of Artificial Intelligence Research (JAIR), 2026)