Java 使用大剪贴板粘贴时出现Matlab Linux错误

Java 使用大剪贴板粘贴时出现Matlab Linux错误,java,matlab,Java,Matlab,每当我尝试将大型数组粘贴到Matlab时,Linux下的Matlab中就会显示此错误: java.io.IOException: Owner failed to convert data Oracle网站上有一个解决方案: Fix: fix code in XSelection.java where, for incremental dataGetter.dispose() is called before validateDataGetter(dataGetter); in the me

每当我尝试将大型数组粘贴到Matlab时,Linux下的Matlab中就会显示此错误:

java.io.IOException: Owner failed to convert data
Oracle网站上有一个解决方案:

Fix: fix code in XSelection.java where, for incremental  dataGetter.dispose() is called before  validateDataGetter(dataGetter); in the method  getData(long format, long time):

               dataGetter.dispose();

                ByteArrayOutputStream dataStream = new ByteArrayOutputStream(len);

                while (true) {
                    WindowPropertyGetter incrDataGetter =
                        new WindowPropertyGetter(XWindow.getXAWTRootWindow().getWindow(),
                                                 selectionPropertyAtom,
                                                 0, MAX_LENGTH, false,
                                                 XConstants.AnyPropertyType);

                    try {
                        XToolkit.awtLock();
                        XToolkit.addEventDispatcher(XWindow.getXAWTRootWindow().getWindow(),
                                                    incrementalTransferHandler);

                        propertyGetter = incrDataGetter;

                        try {
                            XlibWrapper.XDeleteProperty(XToolkit.getDisplay(),
                                                        XWindow.getXAWTRootWindow().getWindow(),
                                                        selectionPropertyAtom.getAtom());

                            // If the owner doesn't respond within the
                            // SELECTION_TIMEOUT, we terminate incremental
                            // transfer.
                            waitForSelectionNotify(incrDataGetter);
                        } catch (InterruptedException ie) {
                            break;
                        } finally {
                            propertyGetter = null;
                            XToolkit.removeEventDispatcher(XWindow.getXAWTRootWindow().getWindow(),
                                                           incrementalTransferHandler);
                            XToolkit.awtUnlock();
                        }

                        validateDataGetter(dataGetter);

但是,我不知道要将任何java相关类修改为matlab的文件是什么。我应该去哪里查看?

您应该向Mathworks提交支持票。您应该向Mathworks提交支持票。