Skip to content


Subversion checkout URL

You can clone with
Download ZIP


JAVA-441: keep symbols as symbols #90

wants to merge 1 commit into from

3 participants


No description provided.


I'm afraid that, while this is most certainly the correct behavior, the cure is worse than the disease, as anyone actually using the SYMBOL BSON type is now expecting a String and changing to a Symbol will likely break those applications.


Going to close this as it's backwards-breaking

@trishagee trishagee closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 3, 2012
  1. @guyboertje
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/main/org/bson/
2  src/main/org/bson/
@@ -133,7 +133,7 @@ public void gotString( final String name , final String v ){
_put( name , v );
public void gotSymbol( String name , String v ){
- _put( name , v );
+ _put( name , new Symbol(v) );
public void gotTimestamp( String name , int time , int inc ){
Something went wrong with that request. Please try again.