Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

open a file in binary mode to save byte codes. #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Nov 1, 2012

  1. open a file in binary mode to save byte codes.

    When I try to compile a bs file(helloworld.bs for example) first and run it with command:
      java helloworld
    I get an error:
    Exception in thread "main" java.lang.ClassFormatError: 
    ....
    
    Just as the issue:
    headius#9
    
    I opened this file, found generated byte array was saved to a file opened not in binary mode.
    This will cause EOL <-> CRLF conversion on Windows. So I fix it.
    messi18 committed Nov 1, 2012
    Configuration menu
    Copy the full SHA
    6099ea8 View commit details
    Browse the repository at this point in the history
  2. Update README.txt

    messi18 committed Nov 1, 2012
    Configuration menu
    Copy the full SHA
    10ff7f9 View commit details
    Browse the repository at this point in the history