From d8465893cdf6a8f3d33087b3ccc4d91f83d4575b Mon Sep 17 00:00:00 2001 From: "James R. Wilcox" Date: Wed, 1 Apr 2026 11:50:43 -0700 Subject: [PATCH] add -proc:full to handout Makefile see https://inside.java/2024/06/18/quality-heads-up/ JDK 23 changes the behavior of annotation processing, and they backported a warning to recent security updates to the JDK 21 line, and this warning if visible to students. the fix is to pass another command line flag to the JVM to restore the previous default behavior. they state that this flag is not expected to be deprecated or removed any time soon. --- handout-files/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handout-files/Makefile b/handout-files/Makefile index 7699c76..d8792c3 100644 --- a/handout-files/Makefile +++ b/handout-files/Makefile @@ -1,7 +1,7 @@ ################################################################################ # Java compiler settings ################################################################################ -JC = javac -source 21 -g +JC = javac -source 21 -g -proc:full ################################################################################