Hello all. I’m encountering some odd behavior when...
# general-advice
d
Hello all. I’m encountering some odd behavior when trying to use JVM reflection for default constructors. Topic says “no technical questions” but I’m not sure where best to ask this. It appears that when a class’s only constructor parameter(s) are inline value classes with default values, there is no default constructor? (The issue can be resolved by adding an explicit empty constructor and repeating the defaults.) Where might I best direct the question: “is this expected behavior?”
c
For topic, I think this would be best in #getting-started? Or maybe #compiler or #reflect
e
I would say it is expected behaviour since the purpose of the inline classes is not to have a holder class in bytecode (whenever possible).