OpenJDK-Research
OpenJDK-Research copied to clipboard
build error
D:\workspace\OpenJDK\hotspot\src\share\vm\classfile/classFileParser.hpp(409): error C2039: 'tag_at' : is not a member of 'ConstantPool' 1> D:\workspace\OpenJDK\hotspot\src\share\vm\oops/constantPool.hpp(86) : see declaration of 'ConstantPool' 1>D:\workspace\OpenJDK\hotspot\src\share\vm\classfile/classFileParser.hpp(409): error C2228: left of '.is_klass_or_reference' must have class/struct/union 1>D:\workspace\OpenJDK\hotspot\src\share\vm\classfile/classFileParser.hpp(410): error C2039: 'tag_at' : is not a member of 'ConstantPool' 1> D:\workspace\OpenJDK\hotspot\src\share\vm\oops/constantPool.hpp(86) : see declaration of 'ConstantPool' 1>D:\workspace\OpenJDK\hotspot\src\share\vm\classfile/classFileParser.hpp(410): error C2228: left of '.is_klass_reference' must have class/struct/union 1>D:\workspace\OpenJDK\hotspot\src\share\vm\classfile/classFileParser.hpp(416): error C2039: 'tag_at' : is not a member of 'ConstantPool' 1> D:\workspace\OpenJDK\hotspot\src\share\vm\oops/constantPool.hpp(86) : see declaration of 'ConstantPool' 1>D:\workspace\OpenJDK\hotspot\src\share\vm\classfile/classFileParser.hpp(416): error C2228: left of '.is_utf8' must have class/struct/union
请问大牛,这个该怎么解决呢?
把src/share/vm/oops/constantPool.hpp 347行的中文注释删掉看看。
看上openJDK源代码上有中文注释都不行
还真的是中文注释都不能有... 删到最后就能build成功了。