Fix javaJaxRS template: remove deprecated in JDK9 method usage
Small fix for java JaxRS template. newInstance() method is deprecated in Class class since JDK9.
can you please follow step 3 to update the samples so that CI can test the change?
can you please follow step 3 to update the samples so that CI can test the change?
Done.
tested locally and confirmed the using deprecated api warning is gone. thanks for the fix.
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)