mirror of
https://github.com/corda/corda.git
synced 2025-01-22 12:28:11 +00:00
fix OpenJDK bootimage build regression
This commit is contained in:
parent
1119675b7a
commit
797b4c25cc
@ -1292,6 +1292,7 @@ writeBootImage2(Thread* t, OutputStream* bootimageOutput, OutputStream* codeOutp
|
||||
class MyCompilationHandler : public Processor::CompilationHandler {
|
||||
public:
|
||||
virtual void compiled(const void* code, unsigned size UNUSED, unsigned frameSize UNUSED, const char* class_, const char* name, const char* spec) {
|
||||
if (class_ and name and spec) {
|
||||
size_t classLen = strlen(class_);
|
||||
size_t nameLen = strlen(name);
|
||||
size_t specLen = strlen(spec);
|
||||
@ -1302,6 +1303,7 @@ writeBootImage2(Thread* t, OutputStream* bootimageOutput, OutputStream* codeOutp
|
||||
symbols.add(SymbolInfo(offset, completeName));
|
||||
// printf("%ld %ld %s.%s%s\n", offset, offset + size, class_, name, spec);
|
||||
}
|
||||
}
|
||||
|
||||
virtual void dispose() {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user