```ruby
require File.dirname(__FILE__) + '/../../spec_helper'

describe "Fixnum#size" do
  it "returns the number of bytes in the machine representation of self" do
    -1.size.should == 4
    0.size.should == 4
    4091.size.should == 4
  end
end
```

Fix for Fixnum size spec to guard "java" platform with 8 byte size
user
```ruby
require File.dirname(__FILE__) + '/../../spec_helper'

describe "Fixnum#size" do
  platform_not :java do
    it "returns the number of bytes in the machine representation of self" do
      -1.size.should == 4
      0.size.should == 4
      4091.size.should == 4
    end
  end

  platform :java do
    it "returns the number of bytes in the machine representation of self" do
      -1.size.should == 8
      0.size.should == 8
      4091.size.should == 8
    end
  end
end
```
assistant