Comments (17)
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.
Nevermind, I am able to recreate. Will have fix together soon I think.
from java-koans.
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.
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.
@matyb Thank you for the quick reply I'll do that. Awesome work you've done.
from java-koans.
@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.
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.
@matyb Great! Thank you for all the time and work invested on this issue.
from java-koans.
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.
OK I can see it now...
from java-koans.
OK, so I moved these classes to inner and now it should work; pull request issued.
Thank you @ljocampo and @matyb .
from java-koans.
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.
Never mind moved the interface to inner and is working ok.
from java-koans.
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.
Moved the interface(s) and class(es) to inner in AboutTryWithResources, AboutDefaultMethods, AboutLambdas and AboutMultipleInheritance. Koans 239/239
from java-koans.
K I'm reopening until I get that fixed, good catches!
from java-koans.
Just updated the last few files @ljocampo. Thanks again man.
from java-koans.
Related Issues (20)
- Misleading koan about chars HOT 1
- Create a JavaKones Organization HOT 5
- netbeans can´t run jInternal frame HOT 2
- AboutPrimitives HOT 2
- Add ANSI colors to terminal output? HOT 2
- Intermediate AboutEquality not behaving as expected. HOT 2
- Run koans in "non-interactive" mode HOT 8
- Run koan on IntelliJ IDEA HOT 2
- FileMonitorPolling error HOT 2
- Should Koan output "give away" the solution? HOT 3
- Misleading comment on shortCircuit koan HOT 1
- assertNotSameInstance a bit unclear HOT 3
- nestedIfsWithoutCurlysAreReallyMisleading doesn't live up to the name HOT 1
- error in instructions for toStringIsTestedForNullWhenInvokedImplicitly HOT 1
- Outdated Gradle version?
- Only display the expected value after student has attempted koan
- IDE support
- Intermediate AboutStreams.java: Duplicate Koan HOT 1
- AboutFileIO Koan basicFileWritingAndReading() line 29 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-koans.