0x150
JCHJava Community | Help. Code. Learn.
•Created by Jordan σ_σ on 2/20/2025 in #java-help
Output Characters
cmd displays these as the "missing character" symbol you see there
91 replies
JCHJava Community | Help. Code. Learn.
•Created by Jordan σ_σ on 2/20/2025 in #java-help
Output Characters
the char array is bigger than the data you write to it, and thus the string you return contains characters that haven't been filled (\u0000)
91 replies
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