代码原来使用iobjectjava11.0.1,打印没有问题,但拓扑操作有问题。更新为11.1.1后拓扑没问题,调用printer.print()打印时jvm崩溃。
Printer printer = mapLayout.getPrinter();直接获取的。
报错:
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.supermap.layout.MapLayoutNative.jni_OnPrint(JIIIIIZIIIZIILjava/lang/String;Ljava/lang/String;DDZZ)Z+0
j com.supermap.layout.Printer.print()V+202
v ~StubRoutines::call_stub
j com.zlsk.desktop.component.layer.plot.MapPrinterDialog4.printMap()V+30