Issue:
When you compile your java class, you may got following error.
The code of method is exceeding the 65535 bytes limit
Reason:
According Java specification, one Java method size must be less than 65535 Bytes (64k). In most cases you encounter this error is because you want to init a big data or your java class is generated by some toolkit.
Solution:
One workaround is divide your big size method into some pieces of small size methods.
For example,
public static Float[][] getSMatrix()
{
initSMatrixPart1() ;
initSMatrixPart2() ;
initSMatrixPart3() ;
initSMatrixPart4() ;
initSMatrixPart5() ;
return sMatrix;
}
分享到:
相关推荐
Cython封装Callback函数文章 示例 http://blog.csdn.net/i2cbus/article/details/18415333
The Architecture of the Java Virtual Machine Data Types Word Size The Class Loader Subsystem Loading, Linking and Initialization The Primordial Class Loader Class Loader Objects Name Spaces ...
Fully updated for Java SE 11, Java: The Complete Reference, Eleventh Edition explains how to develop, compile, debug, and run Java programs. Best-selling programming author Herb Schildt covers the ...
javacompile
included with the 1.2.1 version of the Java 2 Platform, Enterprise Edition (J2EE), so it is still commonly used. The version of the JavaMail API you want to use affects what you download and install...
打印编译日期 如:Software Compile Date :2023-09-06 14:04:18
the setPrice() method is abstract. Create two suclasses for individual automobile makers (for example, Ford and Chevy) and include appropriate setPrice() methods in each subclass. Finally, write a ...
Sometimes they are the result of trial and error. However, their most common link is that they are usually hidden in people's heads or in the back pages of space-constrained conference papers. As a ...
The overhead of a semaphore per-method is eliminated. Fixed a regression where an error was no longer emitted if a control method attempts to create 2 objects of the same name. This once again ...
Extensions to RxJava This library allow simple implementation for some tasks in android Usage Add library to project dependencies. repositories { ... compile 'com.github.jacek-marchwicki.rx-java-
JavaCompile Java compile是一个自动增量/全量编译java的api接口应用。 包含以下特性: 全量编译 增量编译 svnkit接口(svn操作web接口) 全流程使用案例 [toc] 说在最前面的话 本人只是一枚从事运维6年的老兵,从今年...
While you can still write normal object-oriented code in Swift, it requires a new way of thinking to take advantage of its powerful features and a solid understanding of the basics to become ...
You should always use the most recent Qt version from Trolltech3 to ensure having ...safer to obtain the source texts from Trolltech, and compile the sources yourself as described below.
Take your first step towards a career in software development with this introduction to Java, one of the most in-demand programming languages and the foundation of the Android. Designed for beginners,...
By the end of this book you will have gained a sound understanding of the Java language and be able to write your own Java programs and compile them into executable files that can be run on any Java-...
Squid is the most popular Web caching software in use today, and it works on a variety of platforms including Linux, FreeBSD, and Windows. Written by Duane Wessels, the creator of Squid, Squid: The ...
The decompiled Java code is provided "as is", for your information only, without warranty of any kind, either expressed or implied. You assume all risks concerning the suitability and accuracy of the ...
javaCompile.exe是一个Editplus插件。 可以简化java程序运行流程。 直接运行java,不再先编译再运行。 减少无效动作,增加开发效率。
- FIX: If the TCustomProp.Assign method calls when the undo/redo history writing was in progress, the error occured. - FIX: The TFlexPanel.LoadFlexControl method now virtual. - FIX: The TFlexPanel....