0x150
JCHJava Community | Help. Code. Learn.
•Created by Lort533 on 1/23/2025 in #java-help
Overwriting a declared method?
do you want to:
1. change the a() method for everyone globally retroactively?
2. make one instance of XYZ with a different a() implementation?
10 replies
JCHJava Community | Help. Code. Learn.
•Created by Lort533 on 1/23/2025 in #java-help
Overwriting a declared method?
really depends on what you want to do here
10 replies
JCHJava Community | Help. Code. Learn.
•Created by Lort533 on 1/23/2025 in #java-help
Overwriting a declared method?
you dont just "set" a method. you need to generate a new class that overrides that method, and then you need to load that class and call its a() method
10 replies
JCHJava Community | Help. Code. Learn.
•Created by SidKid on 1/15/2025 in #java-help
What are the initial values of the primitives that are encapsulated in an object?
ß?
8 replies
JCHJava Community | Help. Code. Learn.
•Created by halofixer on 12/16/2024 in #java-help
Kotlin Branch Test coverage question
@puggy are you using chatgpt
15 replies
JCHJava Community | Help. Code. Learn.
•Created by halofixer on 12/16/2024 in #java-help
Kotlin Branch Test coverage question
well where is the code? gradle or maven project?
15 replies
JCHJava Community | Help. Code. Learn.
•Created by halofixer on 12/16/2024 in #java-help
Kotlin Branch Test coverage question
show bytecode
15 replies
JCHJava Community | Help. Code. Learn.
•Created by halofixer on 12/16/2024 in #java-help
Kotlin Branch Test coverage question
what?
15 replies
JCHJava Community | Help. Code. Learn.
•Created by 𝓐pothicon on 12/11/2024 in #java-help
Unallocating direct buffer
allocating and deallocating takes time. if need be for more memory, the gc will free everything it can. if you dont need to allocate and deallocate shit all the time, your program will run faster
18 replies
JCHJava Community | Help. Code. Learn.
•Created by 𝓐pothicon on 12/11/2024 in #java-help
Unallocating direct buffer
with all due respect this advice is ass
18 replies
JCHJava Community | Help. Code. Learn.
•Created by Jack’o Lantern on 12/11/2024 in #java-help
Help what am I missing?
mainPanel doesnt exist
6 replies
JCHJava Community | Help. Code. Learn.
•Created by 𝓐pothicon on 12/11/2024 in #java-help
Unallocating direct buffer
if you do want to worry about it, you can just call upon the c standard library to malloc() and free() a pointer and use that to do your stuff (although i dont recommend doing that)
18 replies
JCHJava Community | Help. Code. Learn.
•Created by 𝓐pothicon on 12/11/2024 in #java-help
Unallocating direct buffer
the gc will free the memory when it's no longer needed. it's specifically engineered to do that. you dont need to worry about it
18 replies
JCHJava Community | Help. Code. Learn.
•Created by 𝓐pothicon on 12/11/2024 in #java-help
Unallocating direct buffer
a direct buffer is just a byte array in the end. you cant deallocate a byte array immediately
18 replies
JCHJava Community | Help. Code. Learn.
•Created by 𝓐pothicon on 12/11/2024 in #java-help
Unallocating direct buffer
no, the gc does as the gc pleases
18 replies
JCHJava Community | Help. Code. Learn.
•Created by The Typhothanian on 11/18/2024 in #java-help
LWJGL missing EGL .dll
both the runtime error when it cant find it and the gradle error
40 replies
JCHJava Community | Help. Code. Learn.
•Created by The Typhothanian on 11/18/2024 in #java-help
LWJGL missing EGL .dll
show errors
40 replies
JCHJava Community | Help. Code. Learn.
•Created by taun on 11/9/2024 in #java-help
Compiling manually via CMD
Main.class is the compiled version of your Main.java
12 replies
JCHJava Community | Help. Code. Learn.
•Created by taun on 11/9/2024 in #java-help
Compiling manually via CMD
no it did work
12 replies
JCHJava Community | Help. Code. Learn.
•Created by mochatitan on 10/28/2024 in #java-help
issue with maven server, cant find anything on it online
idk what you ran but that doesnt look like you executed the app directly
57 replies