ByteCode.News
Submit RSS Atom Sign in

Back to the channels

#java

  1. * mindCrime joined #java
  2. * Tenchi joined #java
  3. * sweatiest joined #java
  4. * Odyss3us joined #java
  5. * hwpplayer1 joined #java
  6. * kcomhnall joined #java
  7. * Bahhumbug joined #java
  8. * sweatiest joined #java
  9. * Bahhumbug joined #java
  10. * AllxIO64 joined #java
  11. johnjay jreicher: i see there are several distinctions you could make here about what constitutes 'java'
  12. jreicher I think so too.
  13. * deavmi joined #java
  14. * deavmi joined #java
  15. * sponkz joined #java
  16. * stfstfm_ joined #java
  17. * deavmi joined #java
  18. * deavmi joined #java
  19. * Odyss3us joined #java
  20. * deavmi joined #java
  21. * deavmi joined #java
  22. * deavmi joined #java
  23. * hwpplayer1 joined #java
  24. * metalmaniac joined #java
  25. * deavmi joined #java
  26. * deavmi joined #java
  27. * deavmi joined #java
  28. * deavmi joined #java
  29. * jreicher joined #java
  30. * deavmi joined #java
  31. * deavmi joined #java
  32. * ptomli joined #java
  33. * kathadris joined #java
  34. * Cyp_ joined #java
  35. * acidjnk joined #java
  36. * Cyp_ joined #java
  37. * MikeBux joined #java
  38. * Cyp_ joined #java
  39. Para jreicher: early implementations of languages such as Groovy did everything through Object and magic casting, having type erasure be effectively objects everywhere didn't accidentally limit code execution in such case
  40. Para CLR actually had lots of problems with this, especially when MS was creating F#. The CLR itself was constantly fighting against the dynamic implementation because the code wouldn't even load.
  41. * rvalue- joined #java
  42. * julemand101 joined #java
  43. * sponkz joined #java
  44. * Cyp_ joined #java
  45. * hwpplayer1 joined #java
  46. * stewi joined #java
  47. * mwnaylor joined #java
  48. * stewi joined #java
  49. * sponkz joined #java
  50. * Betal joined #java
  51. * Anaphaxaway joined #java
  52. * GreenResponse joined #java
  53. * _10KBps joined #java
  54. * marcel1 joined #java
  55. * sponkz joined #java
  56. * sponkz joined #java
  57. * caryhartline joined #java
  58. * Anaphaxaway joined #java
  59. * ne555 joined #java
  60. * stfstfm joined #java
  61. * Cyp joined #java
  62. ne555 i have a`foo.bar = true;` that throws me «java.lang.VerifyError: Bad type on operand stack». replacing it with `foo.setBar(true);` fixes it, but would want to know if anyone has any idea what the hell may be happening
  63. nimaje ne555: that seems very strange, can you share some minimal reproducer?
  64. ne555 nimaje: the project is an elephant inside a whale, would be hard to isolate the issue. if it helps this is the stack https://bpa.st/D75A
  65. dreamreal sounds like a version mismatch SOMEWHERE - something's compiled against a versin of something that changed. javap may help. Do you agev lombok in the mix? What's the actual type of bar, how is it declared, with no information we're flailing more than you are.
  66. dreamreal And your types don't match the signature of the error. Please don't obfuscate your question any more than you ABSOLUTELY have to. It LOOKS like the legajo definition changed from compilation to deployment.
  67. nimaje is foo.bar maybe private and you compiled against some other version where it is public? I fail to see another reason why foo.bar = true; would fail at run/load time instead of at compile time
  68. ne555 it's a clean build and i'm changing the setter with the = to reproduce/fix at will. no lombok, but we do have some db magic that creates Proxy classes (altought foo is not marked to be managed by it)
  69. dreamreal I'm throwing a yello card on "foo.bar" as the description.
  70. dreamreal Time to chase those proxy things A LOT. Someone's doing something critically wrong, and I get that it may be privileged information, so the best we can say is *follow that freaking stack trace* with a fine-toothed comb. We'd help but "foo.bar" makes it impossible because we're doing too much assuming to be actually helpful.
  71. Para VerifyError is also an Error, not an Exception - that implies something's fundamentally broken on a deeper level than just some method calls.
  72. dreamreal Dump Legajo, foo.bar is doing direct access whereas setBar() is following a method chain, so something's right and something else is wrong. The short version is "do what works and leave the rval/lval crap to the side" but the problem suggests a more crucial problem.
  73. dreamreal The "use setBar()" is tactical advice and papers over the problem. It gets you past that specific hump today, but let's be real, the problem's elsewhere and this does not address it at all. Fix yo crap, homes. I wish we could help, but we can't.
  74. * Cyp joined #java
  75. ne555 «And your types don't match the signature of the error» that bafles me more. this is the function https://bpa.st/ARCA
  76. dreamreal Why create an OpcionesValidar... but it sounds like bar is at the wrong VISIBILITY in that OpcionesValidarFinalizacion, honestly. That's one thing. And then you have the Legajo not being assignable to the foo *type* - that's not a line 5 error.
  77. dreamreal This is pretty clear: you may think you have a clean Legajo deployment but you do not.
  78. dreamreal I don't know offhand how you're deploying such that this is happening, or where, or why, but ... there you are. Your classes don't match the bytecode you're running, one way or the other.
  79. ne555 what was trying to do. i have a `validate()` function that takes a lot of parameter according to what should and should not validate. so created the OpcionesValidar to store those parameters and simplify and make less error prone the call to the function
  80. * Odyss3us joined #java
  81. * sponkz joined #java
  82. * acidsys joined #java
  83. * Anaphaxaway joined #java
  84. pr3d4t0r dreamreal: Check your messages.
  85. Para nooo don't do it, it's a trap
  86. Para Have a donut instead!
  87. * Pixi` joined #java
  88. * Pixi joined #java
  89. * mindCrime joined #java
  90. * Ragnor joined #java
  91. * ne555 joined #java
  92. * Drixtan joined #java
  93. * Anaphaxaway joined #java
  94. * hwpplaye` joined #java
  95. * metalmaniac joined #java
  96. * hwpplayer1 joined #java
  97. * yamada joined #java
  98. * Anaphaxaway joined #java
  99. * Cyp joined #java
  100. * Anaphaxeton joined #java
  101. * stfstfm_ joined #java
  102. * hwpplayer1 joined #java
  103. * monkeyPlus joined #java
  104. jreicher Para: I'm still not following, sorry. What was "enabled" by this erasure behaviour that wouldn't have been possible without it?
  105. * OmniRadix698 joined #java
  106. * mindCrime joined #java
  107. * Anaphaxeton joined #java
  108. * JazzJackalope joined #java
  109. * Anaphaxeton joined #java
  110. * fgarcia joined #java
  111. * Anaphaxeton joined #java
  112. * Anaphaxeton joined #java