intel-cloud / cosbench

a benchmark tool for cloud object storage service
Other
573 stars 242 forks source link

cosbench-http build fails after Java-11 #412

Open thatsdone opened 3 years ago

thatsdone commented 3 years ago

DESCRIPTION

cosbench-http build fails saying the following symbol cannot be found.

import org.omg.CORBA.PUBLIC_MEMBER;

https://github.com/intel-cloud/cosbench/blob/master/dev/cosbench-http/src/com/intel/cosbench/client/http/HttpClientUtil.java#L51

REPRODUCE PROCEDURE

I built master branch of cosbench using the following environment.

ANALYSYS and SUGGESTED RESOLUTION

Firstly, CORBAR modules were removed at Java-11, and 'org.omg.*' is a part of CORBA.

Secondaly, the symbol is not referenced at all in cosbench-http.

So, I think the line importing org.omg.CORBA.PUBLIC_MEMBER can be simply removed.