Giter Site home page Giter Site logo

Comments (17)

matyb avatar matyb commented on September 23, 2024

Great question, not sure its anything you're doing. Will you reply with:
-the output of running "java -version" from the command line?
-what OS you are using?
-your copy of AboutTryWithResources

You'll be back up and running soon.

from java-koans.

matyb avatar matyb commented on September 23, 2024

Nevermind, I am able to recreate. Will have fix together soon I think.

from java-koans.

matyb avatar matyb commented on September 23, 2024

darsen - did u figure out how to fix this? I added "sourceFile.exists()" to DynamicClassLoader :87 and that appeared to do the trick, but I didn't see it in your branch, wondering if you found a smarter alternative?

from java-koans.

matyb avatar matyb commented on September 23, 2024

ljocampo if you comment out or remove the AboutTryWithResources suite in the file /Users/luis/dev/java-koans/koans/app/config/PathToEnlightenment.xml you should be able to continue while we work this out. If that doesn't do it, retain that change, but also run './run.sh clean' to clear that busted class out.

from java-koans.

ljocampo-zz avatar ljocampo-zz commented on September 23, 2024

@matyb Thank you for the quick reply I'll do that. Awesome work you've done.

from java-koans.

ljocampo-zz avatar ljocampo-zz commented on September 23, 2024

@matyb FYI had to comment out AboutDefaultMethods in PathToEnlightenment.xml also, now I'm able to move on with AboutOptional, and thank you in advanced.

from java-koans.

matyb avatar matyb commented on September 23, 2024

ljocampo no problem, glad you're not stalled any longer. I think I have a fix but want to test it before lobbing it up here. Thanks for taking the time to report this.

from java-koans.

ljocampo-zz avatar ljocampo-zz commented on September 23, 2024

@matyb Great! Thank you for all the time and work invested on this issue.

from java-koans.

darsen avatar darsen commented on September 23, 2024

I am getting "java.io.FileNotFoundException: I do not exist! (The system cannot find the file specified)" in AboutTryWithResources. But that's because the catch statement is missing.

However, no problems with WorkException and CloseException.

from java-koans.

darsen avatar darsen commented on September 23, 2024

OK I can see it now...

from java-koans.

darsen avatar darsen commented on September 23, 2024

OK, so I moved these classes to inner and now it should work; pull request issued.
Thank you @ljocampo and @matyb .

from java-koans.

ljocampo-zz avatar ljocampo-zz commented on September 23, 2024

Made the changes on my AboutTryWithResources and is working smoothly, Now after completing the koans on it I get the same exception "Source path must actually exist" for StringUtils in AboutDefaultMethods, any ideas on this one since the interface is define at the top?

from java-koans.

ljocampo-zz avatar ljocampo-zz commented on September 23, 2024

Never mind moved the interface to inner and is working ok.

from java-koans.

matyb avatar matyb commented on September 23, 2024

Awesome great work @ljocampo and @darsen thanks for all the help. Moved StringUtils inside AboutDefaultMethods as well. Let me know if you spot any other issues and I'll patch those up too.

from java-koans.

ljocampo-zz avatar ljocampo-zz commented on September 23, 2024

Moved the interface(s) and class(es) to inner in AboutTryWithResources, AboutDefaultMethods, AboutLambdas and AboutMultipleInheritance. Koans 239/239

from java-koans.

matyb avatar matyb commented on September 23, 2024

K I'm reopening until I get that fixed, good catches!

from java-koans.

matyb avatar matyb commented on September 23, 2024

Just updated the last few files @ljocampo. Thanks again man.

from java-koans.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.