Skip to content

Commit

Permalink
fixed default args operation
Browse files Browse the repository at this point in the history
  • Loading branch information
ianopolous committed Feb 22, 2015
1 parent 7b77e86 commit 24e91cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,7 @@ application: fast
jar -i JPCApplication.jar

.PHONY: release
release:
mkdir -p build
javac $(JAVA_RELEASE_OPTS) -d build `find org/jpc/emulator -name \*.java` \
`find org/jpc/support -name \*.java` \
`find org/jpc/debugger -name \*.java` \
`find org/jpc/classfile -name \*.java` \
`find org/jpc/debugger -name \*.java` \
`find org/jpc/j2se -name \*.java`
release: build_core
echo "Name: JPC Application" > jpc.manifest
echo "Author: Ian Preston" >> jpc.manifest
echo "Main-Class: org.jpc.j2se.JPCApplication" >> jpc.manifest
Expand Down
2 changes: 1 addition & 1 deletion src/org/jpc/j2se/JPCApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ public static void main(String[] args) throws Exception
System.exit(0);
}

if ((args.length == 0) && (!Option.boot.isSet() && !Option.hda.isSet() && Option.cdrom.isSet() && Option.fda.isSet()))
if ((args.length == 0) && (!Option.boot.isSet() && !Option.hda.isSet() && !Option.cdrom.isSet() && !Option.fda.isSet()))
{
ClassLoader cl = JPCApplication.class.getClassLoader();
if (cl instanceof URLClassLoader)
Expand Down

0 comments on commit 24e91cd

Please sign in to comment.