openapi-generator icon indicating copy to clipboard operation
openapi-generator copied to clipboard

Fix javaJaxRS template: remove deprecated in JDK9 method usage

Open rozdy opened this issue 1 year ago • 2 comments

Small fix for java JaxRS template. newInstance() method is deprecated in Class class since JDK9.

rozdy avatar May 21 '24 18:05 rozdy

can you please follow step 3 to update the samples so that CI can test the change?

wing328 avatar May 22 '24 12:05 wing328

can you please follow step 3 to update the samples so that CI can test the change?

Done.

rozdy avatar May 22 '24 22:05 rozdy

tested locally and confirmed the using deprecated api warning is gone. thanks for the fix.

wing328 avatar May 26 '24 07:05 wing328

cc @bbdouglas (2017/07) @sreeshas (2017/08) @jfiala (2017/08) @lukoyanov (2017/09) @cbornet (2017/09) @jeff9finger (2018/01) @karismann (2019/03) @Zomzog (2019/04) @lwlee2608 (2019/10) @martin-mfg (2023/08)

wing328 avatar May 26 '24 07:05 wing328