From 917b1b9837147db903c41b942698c9b7d8ce2910 Mon Sep 17 00:00:00 2001 From: Nisarg Thakkar Date: Wed, 20 Sep 2023 13:04:16 -0700 Subject: [PATCH] Disable annotation processing in the runtime compiler (#518) --- .../main/java/com/linkedin/avro/fastserde/FastSerdeBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastserde/avro-fastserde/src/main/java/com/linkedin/avro/fastserde/FastSerdeBase.java b/fastserde/avro-fastserde/src/main/java/com/linkedin/avro/fastserde/FastSerdeBase.java index 6c84e7406..3df28ba46 100644 --- a/fastserde/avro-fastserde/src/main/java/com/linkedin/avro/fastserde/FastSerdeBase.java +++ b/fastserde/avro-fastserde/src/main/java/com/linkedin/avro/fastserde/FastSerdeBase.java @@ -134,7 +134,7 @@ protected Class compileClass(final String className, Set knownUsedFullyQ */ LOGGER.info("Starting compilation for the generated source file: {} ", filePath); LOGGER.debug("The inferred compile class path for file: {} : {}", filePath, compileClassPathForCurrentFile); - compileResult = compiler.run(null, null, null, "-cp", compileClassPathForCurrentFile, filePath, "-XDuseUnsharedTable"); + compileResult = compiler.run(null, null, null, "-cp", compileClassPathForCurrentFile, "-XDuseUnsharedTable", "-proc:none", filePath); } catch (Exception e) { throw new FastSerdeGeneratorException("Unable to compile:" + className + " from source file: " + filePath, e); }