We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e74127 commit 71fc9aeCopy full SHA for 71fc9ae
src/main/org/bson/types/ObjectId.java
@@ -360,7 +360,7 @@ public static int _flip( int x ){
360
sb.append( ni.toString() );
361
}
362
machinePiece = sb.toString().hashCode() << 16;
363
- } catch (Exception e) {
+ } catch (Throwable e) {
364
// exception sometimes happens with IBM JVM, use random
365
LOGGER.log(Level.WARNING, e.getMessage(), e);
366
machinePiece = (new Random().nextInt()) << 16;
0 commit comments