Ciao a tutti, ho il seguente errore:
Exception in thread "main" java.lang.ClassFormatError: test (Code of a method longer than 65535 bytes)
Perché?
:bubu:![]()
![]()
Ciao a tutti, ho il seguente errore:
Exception in thread "main" java.lang.ClassFormatError: test (Code of a method longer than 65535 bytes)
Perché?
:bubu:![]()
![]()
-------------------------------------------------
Il fumo nuoce gravemente alla salute
Thrown when the Java Virtual Machine attempts to read a class file and determines that the file is malformed or otherwise cannot be interpreted as a class file
il motivo lo dice esplicitamente
cos'è che non può essere interpretato come classeOriginariamente inviato da floyd
Thrown when the Java Virtual Machine attempts to read a class file and determines that the file is malformed or otherwise cannot be interpreted as a class file
il motivo lo dice esplicitamente
![]()
-------------------------------------------------
Il fumo nuoce gravemente alla salute
Code of a method longer than 65535 bytes
metodo lungo
Originariamente inviato da floyd
Code of a method longer than 65535 bytes
metodo lungo
in effetti sono ~8000 righe di codice, però.... è assurdo!
scusa come posso fare, devo dividere la classe in due?
-------------------------------------------------
Il fumo nuoce gravemente alla salute
hai fatto un metodo lungo 8000 righe ??
studia la programmazione a oggetti e i vantaggi di avere costruttori e metodi
se non trovi un modo per ridurre il metodo (impossibile) fai due metodi nel primo dei quali alla fine chiami il secondo
no scusa, mi sono espresso male... :gren: e il file sorgente che è lunga 8000 righeOriginariamente inviato da floyd
hai fatto un metodo lungo 8000 righe ??
studia la programmazione a oggetti e i vantaggi di avere costruttori e metodi
se non trovi un modo per ridurre il metodo (impossibile) fai due metodi nel primo dei quali alla fine chiami il secondo
-------------------------------------------------
Il fumo nuoce gravemente alla salute