weixin_39603217
weixin_39603217
2020-12-09 11:52

thread-unsafe null-check idiom in EndpointHelper

com.sun.enterprise.jbi.serviceengine.bridge.EndpointHelper

Visibility and race condition problems:

public static EndpointHelper getInstance() { if (helper == null)

{ helper = new EndpointHelper(); }

return helper; }

Environment

Operating System: All Platform: All

Affected Versions

[9.1pe]

该提问来源于开源项目:eclipse-ee4j/glassfish

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

8条回答

  • weixin_39603217 weixin_39603217 5月前

    Commented This issue was imported from java.net JIRA GLASSFISH-2135

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented Reported by llc

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented Marked as fixed on Saturday, January 20th 2007, 4:57:07 pm

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前
    • Issue Imported From: https://github.com/javaee/glassfish/issues/2135
    • Original Issue Raised By:
    • Original Issue Assigned To:
    • Original Issue Closed By:
    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented gfbugbridge said:

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented va146370 said: Fixed. Below is the checkin log- Checking in jbi/src/java/com/sun/enterprise/jbi/serviceengine/bridge/EndpointHelper.java; /cvs/glassfish/appserv-addons/jbi/src/java/com/sun/enterprise/jbi/serviceengine/bridge/EndpointHelper.java,v <-- EndpointHelper.java new revision: 1.14; previous revision: 1.13 done

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented va146370 said: Fixed the issue.

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented Was assigned to va146370

    点赞 评论 复制链接分享

相关推荐