Lambdas and 1.9.2.5

Jump to navigation Jump to search
Revision as of 17 September 2018 at 15:05.
The highlighted comment was edited in this revision. [diff]

Lambdas and 1.9.2.5

1.9.2.5 has a known bug with lambdas which has already been fixed in 1.9.2.6

currently 1.9.2.5 is the only accepted roborumble and it gets

   Got an error with e32.Omni: java.lang.ClassNotFoundException

You could use retrolambda to transpile lambdas as I do, or just avoid using lambdas until 1.9.2.6+ is accepted.

    Xor (talk)18:51, 14 September 2018

    Ah, thanks for the heads up. I haven't explicitly used lambdas to my knowledge (though I'll check this weekend), but method references instead. I'm guessing those also cause this behavior.

      Enamel 32 (talk)19:28, 14 September 2018

      Yes, method references and lambdas are the same thing in JVM

        Xor (talk)19:49, 14 September 2018
         

        Oops, it seems that roborumble client cannot download your bot, from all over the world. Maybe dropbox set the restriction, or there may be some bug in any of the ends.

        And after downloading your bot manually, roborumble client throws exception and exits completely.

        Screen Shot 2018-09-17 at 1.12.35 PM.png

          Xor (talk)07:38, 17 September 2018
           

          Btw, can you try running your bot with robocode 1.9.2.5? And can you try running roborumble to see whether it can download your bot automatically or not?

            Xor (talk)07:39, 17 September 2018
             

            Did you share the bot before releasing it? You can't download something from a dropbox link unless it is shared. I generally share it with myself and I haven't had any problems with Dropbox yet.

              Dsekercioglu (talk)16:04, 17 September 2018

              rumble client on all my machines from all over the world cannot download your bot as well, but manually run curl on the same machine is ok. I guess that’s dropbox restriction or some bug of rumble client.

                Xor (talk)16:21, 17 September 2018

                If it's as simple as user vs. code, it may be that I made the link http rather than https in an attempt to mimic similar entries. Thanks for taking a look, but I'll re-submit after I've done ALL the homework next time. I'm still learning the build/deployment side of Java.

                  Enamel 32 (talk)17:03, 17 September 2018