org.eclipse.osgi_3.8.2.v20130124-134944

   184: ldc 3
    //   186: invokeinterface 419 2 0
    //   191: aload_1
    //   192: aload 6
    //   194: iload 7
    //   196: aaload
    //   197: invokevirtual 382	java/lang/Object:toString	()Ljava/lang/String;
    //   200: invokeinterface 420 2 0
    //   205: iinc 7 1
    //   208: iload 7
    //   210: aload 6
    //   212: arraylength
    //   213: if_icmplt -50 -> 163
    //   216: aload 5
    //   218: arraylength
    //   219: ifne +26 -> 245
    //   222: aload 6
    //   224: arraylength
    //   225: ifne +20 -> 245
    //   228: aload_1
    //   229: ldc 3
    //   231: invokeinterface 419 2 0
    //   236: aload_1
    //   237: getstatic 370	org/eclipse/core/runtime/internal/adaptor/EclipseAdaptorMsg:ECLIPSE_CONSOLE_NO_CONSTRAINTS	Ljava/lang/String;
    //   240: invokeinterface 420 2 0
    //   245: aload 5
    //   247: arraylength
    //   248: ifle +20 -> 268
    //   251: aload_1
    //   252: ldc 3
    //   254: invokeinterface 419 2 0
    //   259: aload_1
    //   260: getstatic 360	org/eclipse/core/runtime/internal/adaptor/EclipseAdaptorMsg:ECLIPSE_CONSOLE_DIRECT_CONSTRAINTS	Ljava/lang/String;
    //   263: invokeinterface 420 2 0
    //   268: iconst_0
    //   269: istore 7
    //   271: goto +29 -> 300
    //   274: aload_1
    //   275: ldc_w 176
    //   278: invokeinterface 419 2 0
    //   283: aload_1
    //   284: aload 5
    //   286: iload 7
    //   288: aaload
    //   289: invokestatic 403	org/eclipse/core/runtime/internal/adaptor/MessageHelper:getResolutionFailureMessage	(Lorg/eclipse/osgi/service/resolver/VersionConstraint;)Ljava/lang/String;
    //   292: invokeinterface 420 2 0
    //   297: iinc 7 1
    //   300: iload 7
    //   302: aload 5
    //   304: arraylength
    //   305: if_icmplt -31 -> 274
    //   308: aload_0
    //   309: getfield 374	org/eclipse/core/runtime/internal/adaptor/EclipseCommandProvider:platformAdmin	Lorg/eclipse/osgi/service/resolver/PlatformAdmin;
    //   312: invokeinterface 430 1 0
    //   317: iconst_1
    //   318: anewarray 202	org/eclipse/osgi/service/resolver/BundleDescription
    //   321: dup
    //   322: iconst_0
    //   323: aload 4
    //   325: aastore
    //   326: invokeinterface 438 2 0
    //   331: astore 7
    //   333: iconst_0
    //   334: istore 8
    //   336: iconst_0
    //   337: istore 9
    //   339: goto +145 -> 484
    //   342: aload 7
    //   344: iload 9
    //   346: aaload
    //   347: invokeinterface 439 1 0
    //   352: aload 4
    //   354: if_acmpne +6 -> 360
    //   357: goto +124 -> 481
    //   360: iload 8
    //   362: ifne +23 -> 385
    //   365: iconst_1
    //   366: istore 8
    //   368: aload_1
    //   369: ldc 3
    //   371: invokeinterface 419 2 0
    //   376: aload_1
    //   377: getstatic 368	org/eclipse/core/runtime/internal/adaptor/EclipseAdaptorMsg:ECLIPSE_CONSOLE_LEAF_CONSTRAINTS	Ljava/lang/String;
    //   380: invokeinterface 420 2 0
    //   385: aload_1
    //   386: ldc_w 176
    //   389: invokeinterface 419 2 0
    //   394: aload_1
    //   395: new 190	java/lang/StringBuffer
    //   398: dup
    //   399: aload 7
    //   401: iload 9
    //   403: aaload
    //   404: invokeinterface 439 1 0
    //   409: invokeinterface 423 1 0
    //   414: invokestatic 386	java/lang/String:valueOf	(Ljava/lang/Object;)Ljava/lang/String;
    //   417: invokespecial 389	java/lang/StringBuffer:<init>	(Ljava/lang/String;)V
    //   420: ldc_w 178
    //   423: invokevirtual 392	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   426: aload 7
    //   428: iload 9
    //   430: aaload
    //   431: invokeinterface 439 1 0
    //   436: invokeinterface 422 1 0
    //   441: invokevirtual 390	java/lang/StringBuffer:append	(J)Ljava/lang/StringBuffer;
    //   444: ldc_w 179
    //   447: invokevirtual 392	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   450: invokevirtual 388	java/lang/StringBuffer:toString	()Ljava/lang/String;
    //   453: invokeinterface 420 2 0
    //   458: aload_1
    //   459: ldc_w 177
    //   462: invokeinterface 419 2 0
    //   467: aload_1
    //   468: aload 7
    //   470: iload 9
    //   472: aaload
    //   473: invokestatic 403	org/eclipse/core/runtime/internal/adaptor/MessageHelper:getResolutionFailureMessage	(Lorg/eclipse/osgi/service/resolver/VersionConstraint;)Ljava/lang/String;
    //   476: invokeinterface 420 2 0
    //   481: iinc 9 1
    //   484: iload 9
    //   486: aload 7
    //   488: arraylength
    //   489: if_icmplt -147 -> 342
    //   492: aload_1
    //   493: invokeinterface 421 1 0
    //   498: astore_2
    //   499: aload_2
    //   500: ifnonnull -464 -> 36
    //   503: goto +12 -> 515
    //   506: astore 10
    //   508: aload_0
    //   509: invokespecial 396	org/eclipse/core/runtime/internal/adaptor/EclipseCommandProvider:ungetPlatformAdmin	()V
    //   512: aload 10
    //   514: athrow
    //   515: aload_0
    //   516: invokespecial 396	org/eclipse/core/runtime/internal/adaptor/EclipseCommandProvider:ungetPlatformAdmin	()V
    //   519: return
    // Line number table:
    //   Java source line #123	-> byte code offset #0
    //   Java source line #124	-> byte code offset #7
    //   Java source line #125	-> byte code offset #11
    //   Java source line #126	-> byte code offset #20
    //   Java source line #129	-> byte code offset #21
    //   Java source line #130	-> byte code offset #33
    //   Java source line #131	-> byte code offset #36
    //   Java source line #132	-> byte code offset #44
    //   Java source line #133	-> byte code offset #49
    //   Java source line #134	-> byte code offset #62
    //   Java source line #135	-> byte code offset #69
    //   Java source line #137	-> byte code offset #72
    //   Java source line #138	-> byte code offset #120
    //   Java source line #139	-> byte code offset #138
    //   Java source line #140	-> byte code offset #157
    //   Java source line #141	-> byte code offset #163
    //   Java source line #142	-> byte code offset #180
    //   Java source line #143	-> byte code offset #183
    //   Java source line #144	-> byte code offset #191
    //   Java source line #140	-> byte code offset #205
    //   Java source line #147	-> byte code offset #216
    //   Java source line #148	-> byte code offset #228
    //   Java source line #149	-> byte code offset #236
    //   Java source line #151	-> byte code offset #245
    //   Java source line #152	-> byte code offset #251
    //   Java source line #153	-> byte code offset #259
    //   Java source line #155	-> byte code offset #268
    //   Java source line #156	-> byte code offset #274
    //   Java source line #157	-> byte code offset #283
    //   Java source line #155	-> byte code offset #297
    //   Java source line #159	-> byte code offset #308
    //   Java source line #160	-> byte code offset #333
    //   Java source line #161	-> byte code offset #336
    //   Java source line #162	-> byte code offset #342
    //   Java source line #163	-> byte code offset #357
    //   Java source line #164	-> byte code offset #360
    //   Java source line #165	-> byte code offset #365
    //   Java source line #166	-> byte code offset #368
    //   Java source line #167	-> byte code offset #376
    //   Java source line #169	-> byte code offset #385
    //   Java source line #170	-> byte code offset #394
    //   Java source line #171	-> byte code offset #458
    //   Java source line #172	-> byte code offset #467
    //   Java source line #161	-> byte code offset #481
    //   Java source line #174	-> byte code offset #492
    //   Java source line #130	-> byte code offset #499
    //   Java source line #176	-> byte code offset #503
    //   Java source line #177	-> byte code offset #508
    //   Java source line #178	-> byte code offset #512
    //   Java source line #177	-> byte code offset #515
    //   Java source line #179	-> byte code offset #519
    // Local variable table:
    //   start	length	slot	name	signature
    //   0	520	0	this	EclipseCommandProvider
    //   0	520	1	ci	CommandInterpreter
    //   6	494	2	nextArg	String
    //   32	6	3	systemState	State
    //   42	311	4	bundle	BundleDescription
    //   136	167	5	unsatisfied	org.eclipse.osgi.service.resolver.VersionConstraint[]
    //   155	68	6	resolverErrors	org.eclipse.osgi.service.resolver.ResolverError[]
    //   158	51	7	i	int
    //   269	32	7	i	int
    //   331	156	7	unsatisfiedLeaves	org.eclipse.osgi.service.resolver.VersionConstraint[]
    //   334	33	8	foundLeaf	boolean
    //   337	148	9	i	int
    //   506	7	10	localObject	Object
    // Exception table:
    //   from	to	target	type
    //   21	506	506	finally
  }
  
  /* Error */
  public void _enableBundle(CommandInterpreter ci)
    throws java.lang.Exception
  {
    // Byte code:
    //   0: aload_1
    //   1: invokeinterface 421 1 0
    //   6: astore_2
    //   7: aload_2
    //   8: ifnonnull +13 -> 21
    //   11: aload_1
    //   12: getstatic 369	org/eclipse/core/runtime/internal/adaptor/EclipseAdaptorMsg:ECLIPSE_CONSOLE_NO_BUNDLE_SPECIFIED_ERROR	Ljava/lang/String;
    //   15: invokeinterface 420 2 0
    //   20: return
    //   21: aload_0
    //   22: aload_1
    //   23: invokespecial 400	org/eclipse/core/runtime/internal/adaptor/EclipseCommandProvider:getPlatformAdmin	(Lorg/eclipse/osgi/framework/console/CommandInterpreter;)Lorg/eclipse/osgi/service/resolver/PlatformAdmin;
    //   26: iconst_0
    //   27: invokeinterface 429 2 0
    //   32: astore_3
    //   33: goto +88 -> 121
    //   36: aload_0
    //   37: aload_3
    //   38: aload_2
    //   39: invokespecial 402	org/eclipse/core/runtime/internal/adaptor/EclipseCommandProvider:getBundleDescriptionFromToken	(Lorg/eclipse/osgi/service/resolver/State;Ljava/lang/String;)Lorg/eclipse/osgi/service/resolver/BundleDescription;
    //   42: astore 4
    //   44: aload 4
    //   46: ifnonnull +26 -> 72
    //   49: aload_1
    //   50: getstatic 358	org/eclipse/core/runtime/internal/adaptor/EclipseAdaptorMsg:ECLIPSE_CONSOLE_CANNOT_FIND_BUNDLE_ERROR	Ljava/lang/String;
    //   53: aload_2
    //   54: invokestatic 407	org/eclipse/osgi/util/NLS:bind	(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
    //   57: invokeinterface 420 2 0
    //   62: aload_1
    //   63: invokeinterface 421 1 0
    //   68: astore_2
    //   69: goto +52 -> 121
    //   72: aload_3
    //   73: aload 4
    //   75: invokeinterface 435 2 0
    //   80: astore 5
    //   82: iconst_0
    //   83: istore 6
    //   85: goto +21 -> 106
    //   88: aload_0
    //   89: aload_1
    //   90: invokespecial 400	org/eclipse/core/runtime/internal/adaptor/EclipseCommandProvider:getPlatformAdmin	(Lorg/eclipse/osgi/framework/console/CommandInterpreter;)Lorg/eclipse/osgi/service/resolver/PlatformAdmin;
    //   93: aload 5
    //   95: iload 6
    //   97: aaload
    //   98: invokeinterface 428 2 0
    //   103: iinc 6 1
    //   106: iload 6
    //   108: aload 5
    //   110: arraylength
    //   111: if_icmplt -23 -> 88
    //   114: aload_1
    //   115: invokeinterface 421 1 0
    //   120: astore_2
    //   121: aload_2
    //   122: ifnonnull -86 -> 36
    //   125: goto +12 -> 137
    //   128: astore 7
    //   130: aload_0
    //   131: invokespecial 396	org/eclipse/core/runtime/internal/adaptor/EclipseCommandProvider:ungetPlatformAdmin	()V
    //   134: aload 7
    //   136: athrow
    //   137: aload_0
    //   138: invokespecial 396	org/eclipse/core/runtime/internal/adaptor/EclipseCommandProvider:ungetPlatformAdmin	()V
    //   141: return
    // Line number table:
    //   Java source line #182	-> byte code offset #0
    //   Java source line #183	-> byte code offset #7
    //   Java source line #184	-> byte code offset #11
    //   Java source line #185	-> byte code offset #20
    //   Java source line #188	-> byte code offset #21
    //   Java source line #189	-> byte code offset #33
    //   Java source line #190	-> byte code offset #36
    //   Java source line #191	-> byte code offset #44
    //   Java source line #192	-> byte code offset #49
    //   Java source line #193	-> byte code offset #62
    //   Java source line #194	-> byte code offset #69
    //   Java source line #196	-> byte code offset #72
    //   Java source line #197	-> byte code offset #82
    //   Java source line #198	-> byte code offset #88
    //   Java source line #197	-> byte code offset #103
    //   Java source line #200	-> byte code offset #114
    //   Java source line #189	-> byte code offset #121
    //   Java source line #202	-> byte code offset #125
    //   Java source line #203	-> byte code offset #130
    //   Java source line #204	-> byte code offset #134
    //   Java source line #203	-> byte code offset #137
    //   Java source line #205	-> byte code offset #141
    // Local variable table:
    //   start	length	slot	name	signature
    //   0	142	0	this	EclipseCommandProvider
    //   0	142	1	ci	CommandInterpreter
    //   6	116	2	nextArg	String
    //   32	41	3	systemState	State
    //   42	32	4	bundleDesc	BundleDescription
    //   80	29	5	infos	org.eclipse.osgi.service.resolver.DisabledInfo[]
    //   83	24	6	i	int
    //   128	7	7	localObject	Object
    // Exception table:
    //   from	to	target	type
    //   21	128	128	finally
  }
  
  /* Error */
  public void _disableBundle(CommandInterpreter ci)
    throws java.lang.Exception
  {
    // Byte code:
    //   0: aload_1
    //   1: invokeinterface 421 1 0
    //   6: astore_2
    //   7: aload_2
    //   8: ifnonnull +13 -> 21
    //   11: aload_1
    //   12: getstatic 369	org/eclipse/core/runtime/internal/adaptor/EclipseAdaptorMsg:ECLIPSE_CONSOLE_NO_BUNDLE_SPECIFIED_ERROR	Ljava/lang/String;
    //   15: invokeinterface 420 2 0
    //   20: return
    //   21: aload_0
    //   22: aload_1
    //   23: invokespecial 400	org/eclipse/core/runtime/internal/adaptor/EclipseCommandProvider:getPlatformAdmin	(Lorg/eclipse/osgi/framework/console/CommandInterpreter;)Lorg/eclipse/osgi/service/resolver/PlatformAdmin;
    //   26: iconst_0
    //   27: invokeinterface 429 2 0
    //   32: astore_3
    //   33: goto +74 -> 107
    //   36: aload_0
    //   37: aload_3
    //   38: aload_2
    //   39: invokespecial 402	org/eclipse/core/runtime/internal/adaptor/EclipseCommandProvider:getBundleDescriptionFromToken	(Lorg/eclipse/osgi/service/resolver/State;Ljava/lang/String;)Lorg/eclipse/osgi/service/resolver/BundleDescription;
    //   42: astore 4
    //   44: aload 4
    //   46: ifnonnull +26 -> 72
    //   49: aload_1
    //   50: getstatic 358	org/eclipse/core/runtime/internal/adaptor/EclipseAdaptorMsg:ECLIPSE_CONSOLE_CANNOT_FIND_BUNDLE_ERROR	Ljava/lang/String;
    //   53: aload_2
    //   54: invokestatic 407	org/eclipse/osgi/util/NLS:bind	(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
    //   57: invokeinterface 420 2 0
    //   62: aload_1
    //   63: invokeinterface 421 1 0
    //   68: astore_2
    //   69: goto +38 -> 107
    //   72: new 203	org/eclipse/osgi/service/resolver/DisabledInfo
    //   75: dup
    //   76: ldc 10
    //   78: getstatic 357	org/eclipse/core/runtime/internal/adaptor/EclipseAdaptorMsg:ECLIPSE_CONSOLE_BUNDLE_DISABLED_MESSAGE	Ljava/lang/String;
    //   81: aload 4
    //   83: invokespecial 406	org/eclipse/osgi/service/resolver/DisabledInfo:<init>	(Ljava/lang/String;Ljava/lang/String;Lorg/eclipse/osgi/service/resolver/BundleDescription;)V
    //   86: astore 5
    //   88: aload_0
    //   89: aload_1
    //   90: invokespecial 400	org/eclipse/core/runtime/internal/adaptor/EclipseCommandProvider:getPlatformAdmin	(Lorg/eclipse/osgi/framework/console/CommandInterpreter;)Lorg/eclipse/osgi/service/resolver/PlatformAdmin;
    //   93: aload 5
    //   95: invokeinterface 427 2 0
    //   100: aload_1
    //   101: invokeinterface 421 1 0
    //   106: astore_2
    //   107: aload_2
    //   108: ifnonnull -72 -> 36
    //   111: goto +12 -> 123
    //   114: astore 6
    //   116: aload_0
    //   117: invokespecial 396	org/eclipse/core/runtime/internal/adaptor/EclipseCommandProvider:ungetPlatformAdmin	()V
    //   120: aload 6
    //   122: athrow
    //   123: aload_0
    //   124: invokespecial 396	org/eclipse/core/runtime/internal/adaptor/EclipseCommandProvider:ungetPlatformAdmin	()V
    //   127: return
    // Line number table:
    //   Java source line #208	-> byte code offset #0
    //   Java source line #209	-> byte code offset #7
    //   Java source line #210	-> byte code offset #11
    //   Java source line #211	-> byte code offset #20
    //   Java source line #214	-> byte code offset #21
    //   Java source line #215	-> byte code offset #33
    //   Java source line #216	-> byte code offset #36
    //   Java source line #217	-> byte code offset #44
    //   Java source line #218	-> byte code offset #49
    //   Java source line #219	-> byte code offset #62
    //   Java source line #220	-> byte code offset #69
    //   Java source line #222	-> byte code offset #72
    //   Java source line #223	-> byte code offset #88
    //   Java source line #224	-> byte code offset #100
    //   Java source line #215	-> byte code offset #107
    //   Java source line #226	-> byte code offset #111
    //   Java source line #227	-> byte code offset #116
    //   Java source line #228	-> byte code offset #120
    //   Java source line #227	-> byte code offset #123
    //   Java source line #229	-> byte code offset #127
    // Local variable table:
    //   start	length	slot	name	signature
    //   0	128	0	this	EclipseCommandProvider
    //   0	128	1	ci	CommandInterpreter
    //   6	102	2	nextArg	String
    //   32	6	3	systemState	State
    //   42	40	4	bundleDesc	BundleDescription
    //   86	8	5	info	org.eclipse.osgi.service.resolver.DisabledInfo
    //   114	7	6	localObject	Object
    // Exception table:
    //   from	to	target	type
    //   21	114	114	finally
  }
  
  /* Error */
  public void _disabledBundles(CommandInterpreter ci)
    throws java.lang.Exception
  {
    // Byte code:
    //   0: aload_0
    //   1: aload_1
    //   2: invokespecial 400	org/eclipse/core/runtime/internal/adaptor/EclipseCommandProvider:getPlatformAdmin	(Lorg/eclipse/osgi/framework/console/CommandInterpreter;)Lorg/eclipse/osgi/service/resolver/PlatformAdmin;
    //   5: iconst_0
    //   6: invokeinterface 429 2 0
    //   11: astore_2
    //   12: aload_2
    //   13: invokeinterface 432 1 0
    //   18: astore_3
    //   19: aload_1
    //   20: getstatic 363	org/eclipse/core/runtime/internal/adaptor/EclipseAdaptorMsg:ECLIPSE_CONSOLE_DISABLED_COUNT_MESSAGE	Ljava/lang/String;
    //   23: aload_3
    //   24: arraylength
    //   25: invokestatic 384	java/lang/String:valueOf	(I)Ljava/lang/String;
    //   28: invokestatic 407	org/eclipse/osgi/util/NLS:bind	(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
    //   31: invokeinterface 420 2 0
    //   36: aload_3
    //   37: arraylength
    //   38: ifle +9 -> 47
    //   41: aload_1
    //   42: invokeinterface 418 1 0
    //   47: iconst_0
    //   48: istore 4
    //   50: goto +130 -> 180
    //   53: aload_2
    //   54: aload_3
    //   55: iload 4
    //   57: aaload
    //   58: invokeinterface 435 2 0
    //   63: astore 5
    //   65: aload_1
    //   66: getstatic 361	org/eclipse/core/runtime/internal/adaptor/EclipseAdaptorMsg:ECLIPSE_CONSOLE_DISABLED_BUNDLE_HEADER	Ljava/lang/String;
    //   69: aload_0
    //   70: aload_3
    //   71: iload 4
    //   73: aaload
    //   74: invokespecial 398	org/eclipse/core/runtime/internal/adaptor/EclipseCommandProvider:formatBundleName	(Lorg/eclipse/osgi/service/resolver/BundleDescription;)Ljava/lang/String;
    //   77: aload_3
    //   78: iload 4
    //   80: aaload
    //   81: invokeinterface 422 1 0
    //   86: invokestatic 385	java/lang/String:valueOf	(J)Ljava/lang/String;
    //   89: invokestatic 408	org/eclipse/osgi/util/NLS:bind	(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
    //   92: invokeinterface 420 2 0
    //   97: aload_1
    //   98: getstatic 362	org/eclipse/core/runtime/internal/adaptor/EclipseAdaptorMsg:ECLIPSE_CONSOLE_DISABLED_BUNDLE_REASON1	Ljava/lang/String;
    //   101: aload 5
    //   103: iconst_0
    //   104: aaload
    //   105: invokevirtual 404	org/eclipse/osgi/service/resolver/DisabledInfo:getMessage	()Ljava/lang/String;
    //   108: aload 5
    //   110: iconst_0
    //   111: aaload
    //   112: invokevirtual 405	org/eclipse/osgi/service/resolver/DisabledInfo:getPolicyName	()Ljava/lang/String;
    //   115: invokestatic 408	org/eclipse/osgi/util/NLS:bind	(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
    //   118: invokeinterface 419 2 0
    //   123: iconst_1
    //   124: istore 6
    //   126: goto +37 -> 163
    //   129: aload_1
    //   130: getstatic 362	org/eclipse/core/runtime/internal/adaptor/EclipseAdaptorMsg:ECLIPSE_CONSOLE_DISABLED_BUNDLE_REASON1	Ljava/lang/String;
    //   133: aload 5
    //   135: iload 6
    //   137: aaload
    //   138: invokevirtual 404	org/eclipse/osgi/service/resolver/DisabledInfo:getMessage	()Ljava/lang/String;
    //   141: aload 5
    //   143: iload 6
    //   145: aaload
    //   146: invokevirtual 405	org/eclipse/osgi/service/resolver/DisabledInfo:getPolicyName	()Ljava/lang/String;
    //   149: invokestatic 386	java/lang/String:valueOf	(Ljava/lang/Object;)Ljava/lang/String;
    //   152: invokestatic 408	org/eclipse/osgi/util/NLS:bind	(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
    //   155: invokeinterface 419 2 0
    //   160: iinc 6 1
    //   163: iload 6
    //   165: aload 5
    //   167: arraylength
    //   168: if_icmplt -39 -> 129
    //   171: aload_1
    //   172: invokeinterface 418 1 0
    //   177: iinc 4 1
    //   180: iload 4
    //   182: aload_3
    //   183: arraylength
    //   184: if_icmplt -131 -> 53
    //   187: goto +12 -> 199
    //   190: astore 7
    //   192: aload_0
    //   193: invokespecial 396	org/eclipse/core/runtime/internal/adaptor/EclipseCommandProvider:ungetPlatformAdmin	()V
    //   196: aload 7
    //   198: athrow
    //   199: aload_0
    //   200: invokespecial 396	org/eclipse/core/runtime/internal/adaptor/EclipseCommandProvider:ungetPlatformAdmin	()V
    //   203: return
    // Line number table:
    //   Java source line #234	-> byte code offset #0
    //   Java source line #235	-> byte code offset #12
    //   Java source line #237	-> byte code offset #19
    //   Java source line #239	-> byte code offset #36
    //   Java source line #240	-> byte code offset #41
    //   Java source line #242	-> byte code offset #47
    //   Java source line #243	-> byte code offset #53
    //   Java source line #245	-> byte code offset #65
    //   Java source line #246	-> byte code offset #97
    //   Java source line #248	-> byte code offset #123
    //   Java source line #249	-> byte code offset #129
    //   Java source line #248	-> byte code offset #160
    //   Java source line #252	-> byte code offset #171
    //   Java source line #242	-> byte code offset #177
    //   Java source line #254	-> byte code offset #187
    //   Java source line #255	-> byte code offset #192
    //   Java source line #256	-> byte code offset #196
    //   Java source line #255	-> byte code offset #199
    //   Java source line #257	-> byte code offset #203
    // Local variable table:
    //   start	length	slot	name	signature
    //   0	204	0	this	EclipseCommandProvider
    //   0	204	1	ci	CommandInterpreter
    //   11	43	2	systemState	State
    //   18	165	3	disabledBundles	BundleDescription[]
    //   48	133	4	i	int
    //   63	103	5	disabledInfos	org.eclipse.osgi.service.resolver.DisabledInfo[]
    //   124	40	6	j	int
    //   190	7	7	localObject	Object
    // Exception table:
    //   from	to	target	type
    //   0	190	190	finally
  }
  
  public Object _help(CommandInterpreter intp)
  {
    String commandName = intp.nextArgument();
    if (commandName == null) {
      return new Boolean(false);
    }
    String help = getHelp(commandName);
    return help.length() > 0 ? help : new Boolean(false);
  }
  
  private String formatBundleName(BundleDescription b)
  {
    String label = b.getSymbolicName();
    if ((label == null) || (label.length() == 0)) {
      label = b.toString();
    } else {
      label = label + "_" + b.getVersion();
    }
    return label;
  }
}

/* Location:
 * Qualified Name:     org.eclipse.core.runtime.internal.adaptor.EclipseCommandProvider
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.core.runtime.internal.adaptor;

import java.io.PrintStream;
import java.util.Locale;
import java.util.NoSuchElementException;
import java.util.StringTokenizer;
import org.eclipse.osgi.framework.internal.core.FrameworkProperties;
import org.eclipse.osgi.service.environment.EnvironmentInfo;
import org.eclipse.osgi.util.NLS;

public class EclipseEnvironmentInfo
  implements EnvironmentInfo
{
  private static EclipseEnvironmentInfo singleton;
  private static String nl;
  private static String os;
  private static String ws;
  private static String arch;
  private static volatile String[] allArgs;
  private static volatile String[] frameworkArgs;
  private static volatile String[] appArgs;
  private static final String INTERNAL_OS_SUNOS = "SunOS";
  private static final String INTERNAL_OS_LINUX = "Linux";
  private static final String INTERNAL_OS_MACOSX = "Mac OS";
  private static final String INTERNAL_OS_AIX = "AIX";
  private static final String INTERNAL_OS_HPUX = "HP-UX";
  private static final String INTERNAL_OS_QNX = "QNX";
  private static final String INTERNAL_OS_OS400 = "OS/400";
  private static final String INTERNAL_OS_OS390 = "OS/390";
  private static final String INTERNAL_OS_ZOS = "z/OS";
  private static final String INTERNAL_ARCH_I386 = "i386";
  private static final String INTERNAL_AMD64 = "amd64";
  
  private EclipseEnvironmentInfo()
  {
    setupSystemContext();
  }
  
  public static EclipseEnvironmentInfo getDefault()
  {
    if (singleton == null) {
      singleton = new EclipseEnvironmentInfo();
    }
    return singleton;
  }
  
  public boolean inDevelopmentMode()
  {
    return FrameworkProperties.getProperty("osgi.dev") != null;
  }
  
  public boolean inDebugMode()
  {
    return FrameworkProperties.getProperty("osgi.debug") != null;
  }
  
  public String[] getCommandLineArgs()
  {
    return allArgs;
  }
  
  public String[] getFrameworkArgs()
  {
    return frameworkArgs;
  }
  
  public String[] getNonFrameworkArgs()
  {
    return appArgs;
  }
  
  public String getOSArch()
  {
    return arch;
  }
  
  public String getNL()
  {
    return nl;
  }
  
  public String getOS()
  {
    return os;
  }
  
  public String getWS()
  {
    return ws;
  }
  
  private static void setupSystemContext()
  {
    nl = FrameworkProperties.getProperty("osgi.nl");
    if (nl != null)
    {
      StringTokenizer tokenizer = new StringTokenizer(nl, "_");
      int segments = tokenizer.countTokens();
      try
      {
        Locale userLocale = null;
        switch (segments)
        {
        case 1: 
          userLocale = new Locale(tokenizer.nextToken(), "");
          break;
        case 2: 
          userLocale = new Locale(tokenizer.nextToken(), tokenizer.nextToken());
          break;
        case 3: 
          userLocale = new Locale(tokenizer.nextToken(), tokenizer.nextToken(), tokenizer.nextToken());
          break;
        default: 
          System.err.println(NLS.bind(EclipseAdaptorMsg.error_badNL, nl));
          userLocale = Locale.getDefault();
        }
        Locale.setDefault(userLocale);
        
        FrameworkProperties.setProperty("osgi.nl.user", nl);
      }
      catch (NoSuchElementException localNoSuchElementException) {}
    }
    nl = Locale.getDefault().toString();
    FrameworkProperties.setProperty("osgi.nl", nl);
    
    os = FrameworkProperties.getProperty("osgi.os");
    if (os == null)
    {
      os = guessOS(FrameworkProperties.getProperty("os.name"));
      FrameworkProperties.setProperty("osgi.os", os);
    }
    ws = FrameworkProperties.getProperty("osgi.ws");
    if (ws == null)
    {
      ws = guessWS(os);
      FrameworkProperties.setProperty("osgi.ws", ws);
    }
    arch = FrameworkProperties.getProperty("osgi.arch");
    if (arch == null)
    {
      String name = FrameworkProperties.getProperty("os.arch");
      if (name.equalsIgnoreCase("i386")) {
        arch = "x86";
      } else if (name.equalsIgnoreCase("amd64")) {
        arch = "x86_64";
      } else {
        arch = name;
      }
      FrameworkProperties.setProperty("osgi.arch", arch);
    }
  }
  
  public static void setAllArgs(String[] allArgs)
  {
    allArgs = allArgs;
  }
  
  public static void setAppArgs(String[] appArgs)
  {
    appArgs = appArgs;
  }
  
  public static void setFrameworkArgs(String[] frameworkArgs)
  {
    frameworkArgs = frameworkArgs;
  }
  
  public static String guessWS(String osName)
  {
    if (osName.equals("win32")) {
      return "win32";
    }
    if (osName.equals("linux")) {
      return "gtk";
    }
    if (osName.equals("macosx")) {
      return "cocoa";
    }
    if (osName.equals("hpux")) {
      return "motif";
    }
    if (osName.equals("aix")) {
      return "motif";
    }
    if (osName.equals("solaris")) {
      return "gtk";
    }
    if (osName.equals("qnx")) {
      return "photon";
    }
    return "unknown";
  }
  
  public static String guessOS(String osName)
  {
    if (osName.regionMatches(true, 0, "win32", 0, 3)) {
      return "win32";
    }
    if (osName.equalsIgnoreCase("SunOS")) {
      return "solaris";
    }
    if (osName.equalsIgnoreCase("Linux")) {
      return "linux";
    }
    if (osName.equalsIgnoreCase("QNX")) {
      return "qnx";
    }
    if (osName.equalsIgnoreCase("AIX")) {
      return "aix";
    }
    if (osName.equalsIgnoreCase("HP-UX")) {
      return "hpux";
    }
    if (osName.equalsIgnoreCase("OS/400")) {
      return "os/400";
    }
    if (osName.equalsIgnoreCase("OS/390")) {
      return "os/390";
    }
    if (osName.equalsIgnoreCase("z/OS")) {
      return "z/os";
    }
    if (osName.regionMatches(true, 0, "Mac OS", 0, "Mac OS".length())) {
      return "macosx";
    }
    return "unknown";
  }
  
  public String getProperty(String key)
  {
    return FrameworkProperties.getProperty(key);
  }
  
  public String setProperty(String key, String value)
  {
    return FrameworkProperties.setProperty(key, value);
  }
}

/* Location:
 * Qualified Name:     org.eclipse.core.runtime.internal.adaptor.EclipseEnvironmentInfo
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.core.runtime.internal.adaptor;

import java.io.IOException;
import java.net.URLConnection;
import java.util.Properties;
import org.eclipse.osgi.baseadaptor.BaseAdaptor;
import org.eclipse.osgi.baseadaptor.HookConfigurator;
import org.eclipse.osgi.baseadaptor.HookRegistry;
import org.eclipse.osgi.baseadaptor.hooks.AdaptorHook;
import org.eclipse.osgi.framework.log.FrameworkLog;
import org.osgi.framework.BundleContext;
import org.osgi.framework.BundleException;

public class EclipseErrorHandler
  implements AdaptorHook, HookConfigurator
{
  private static final String PROP_EXITONERROR = "eclipse.exitOnError";
  private BaseAdaptor adaptor;
  
  public void frameworkStart(BundleContext context)
    throws BundleException
  {}
  
  public void frameworkStop(BundleContext context)
    throws BundleException
  {}
  
  public void frameworkStopping(BundleContext context) {}
  
  public void addProperties(Properties properties) {}
  
  public URLConnection mapLocationToURLConnection(String location)
    throws IOException
  {
    return null;
  }
  
  private boolean isFatalException(Throwable error)
  {
    if ((error instanceof VirtualMachineError)) {
      return true;
    }
    if ((error instanceof ThreadDeath)) {
      return true;
    }
    return false;
  }
  
  /* Error */
  public void handleRuntimeError(Throwable error)
  {
    // Byte code:
    //   0: iconst_0
    //   1: istore_2
    //   2: ldc 1
    //   4: ldc 3
    //   6: invokestatic 146	org/eclipse/osgi/framework/internal/core/FrameworkProperties:getProperty	(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    //   9: invokestatic 134	java/lang/Boolean:valueOf	(Ljava/lang/String;)Ljava/lang/Boolean;
    //   12: invokevirtual 133	java/lang/Boolean:booleanValue	()Z
    //   15: istore_2
    //   16: getstatic 131	org/eclipse/core/runtime/internal/adaptor/EclipseAdaptorMsg:ECLIPSE_ADAPTOR_RUNTIME_ERROR	Ljava/lang/String;
    //   19: astore_3
    //   20: iload_2
    //   21: ifeq +37 -> 58
    //   24: aload_0
    //   25: aload_1
    //   26: invokespecial 143	org/eclipse/core/runtime/internal/adaptor/EclipseErrorHandler:isFatalException	(Ljava/lang/Throwable;)Z
    //   29: ifeq +29 -> 58
    //   32: new 70	java/lang/StringBuffer
    //   35: dup
    //   36: aload_3
    //   37: invokestatic 136	java/lang/String:valueOf	(Ljava/lang/Object;)Ljava/lang/String;
    //   40: invokespecial 138	java/lang/StringBuffer:<init>	(Ljava/lang/String;)V
    //   43: bipush 32
    //   45: invokevirtual 139	java/lang/StringBuffer:append	(C)Ljava/lang/StringBuffer;
    //   48: getstatic 130	org/eclipse/core/runtime/internal/adaptor/EclipseAdaptorMsg:ECLIPSE_ADAPTOR_EXITING	Ljava/lang/String;
    //   51: invokevirtual 140	java/lang/StringBuffer:append	(Ljava/lang/String;)Ljava/lang/StringBuffer;
    //   54: invokevirtual 137	java/lang/StringBuffer:toString	()Ljava/lang/String;
    //   57: astore_3
    //   58: new 83	org/eclipse/osgi/framework/log/FrameworkLogEntry
    //   61: dup
    //   62: ldc 2
    //   64: iconst_4
    //   65: iconst_0
    //   66: aload_3
    //   67: iconst_0
    //   68: aload_1
    //   69: aconst_null
    //   70: invokespecial 147	org/eclipse/osgi/framework/log/FrameworkLogEntry:<init>	(Ljava/lang/String;IILjava/lang/String;ILjava/lang/Throwable;[Lorg/eclipse/osgi/framework/log/FrameworkLogEntry;)V
    //   73: astore 4
    //   75: aload_0
    //   76: getfield 132	org/eclipse/core/runtime/internal/adaptor/EclipseErrorHandler:adaptor	Lorg/eclipse/osgi/baseadaptor/BaseAdaptor;
    //   79: invokevirtual 144	org/eclipse/osgi/baseadaptor/BaseAdaptor:getFrameworkLog	()Lorg/eclipse/osgi/framework/log/FrameworkLog;
    //   82: aload 4
    //   84: invokeinterface 148 2 0
    //   89: goto +58 -> 147
    //   92: astore_3
    //   93: aload_1
    //   94: invokevirtual 142	java/lang/Throwable:printStackTrace	()V
    //   97: aload_3
    //   98: invokevirtual 142	java/lang/Throwable:printStackTrace	()V
    //   101: goto +4 -> 105
    //   104: pop
    //   105: iload_2
    //   106: ifeq +58 -> 164
    //   109: aload_0
    //   110: aload_1
    //   111: invokespecial 143	org/eclipse/core/runtime/internal/adaptor/EclipseErrorHandler:isFatalException	(Ljava/lang/Throwable;)Z
    //   114: ifeq +50 -> 164
    //   117: bipush 13
    //   119: invokestatic 141	java/lang/System:exit	(I)V
    //   122: goto +42 -> 164
    //   125: astore 5
    //   127: iload_2
    //   128: ifeq +16 -> 144
    //   131: aload_0
    //   132: aload_1
    //   133: invokespecial 143	org/eclipse/core/runtime/internal/adaptor/EclipseErrorHandler:isFatalException	(Ljava/lang/Throwable;)Z
    //   136: ifeq +8 -> 144
    //   139: bipush 13
    //   141: invokestatic 141	java/lang/System:exit	(I)V
    //   144: aload 5
    //   146: athrow
    //   147: iload_2
    //   148: ifeq +16 -> 164
    //   151: aload_0
    //   152: aload_1
    //   153: invokespecial 143	org/eclipse/core/runtime/internal/adaptor/EclipseErrorHandler:isFatalException	(Ljava/lang/Throwable;)Z
    //   156: ifeq +8 -> 164
    //   159: bipush 13
    //   161: invokestatic 141	java/lang/System:exit	(I)V
    //   164: return
    // Line number table:
    //   Java source line #73	-> byte code offset #0
    //   Java source line #76	-> byte code offset #2
    //   Java source line #77	-> byte code offset #16
    //   Java source line #78	-> byte code offset #20
    //   Java source line #79	-> byte code offset #32
    //   Java source line #80	-> byte code offset #58
    //   Java source line #81	-> byte code offset #75
    //   Java source line #82	-> byte code offset #89
    //   Java source line #88	-> byte code offset #93
    //   Java source line #89	-> byte code offset #97
    //   Java source line #90	-> byte code offset #101
    //   Java source line #96	-> byte code offset #105
    //   Java source line #97	-> byte code offset #117
    //   Java source line #93	-> byte code offset #125
    //   Java source line #96	-> byte code offset #127
    //   Java source line #97	-> byte code offset #139
    //   Java source line #98	-> byte code offset #144
    //   Java source line #96	-> byte code offset #147
    //   Java source line #97	-> byte code offset #159
    //   Java source line #99	-> byte code offset #164
    // Local variable table:
    //   start	length	slot	name	signature
    //   0	165	0	this	EclipseErrorHandler
    //   0	165	1	error	Throwable
    //   1	147	2	exitOnError	boolean
    //   19	48	3	message	String
    //   92	6	3	t	Throwable
    //   73	10	4	logEntry	org.eclipse.osgi.framework.log.FrameworkLogEntry
    //   125	20	5	localObject	Object
    //   104	1	7	localThrowable1	Throwable
    // Exception table:
    //   from	to	target	type
    //   2	89	92	java/lang/Throwable
    //   93	101	104	java/lang/Throwable
    //   2	105	125	finally
  }
  
  public void addHooks(HookRegistry hookRegistry)
  {
    hookRegistry.addAdaptorHook(this);
  }
  
  public FrameworkLog createFrameworkLog()
  {
    return null;
  }
  
  public void initialize(BaseAdaptor initAdaptor)
  {
    adaptor = initAdaptor;
  }
}

/* Location:
 * Qualified Name:     org.eclipse.core.runtime.internal.adaptor.EclipseErrorHandler
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.core.runtime.internal.adaptor;

import org.eclipse.osgi.framework.adaptor.StatusException;

class EclipseLazyStarter$TerminatingClassNotFoundException
  extends ClassNotFoundException
  implements StatusException
{
  private static final long serialVersionUID = -6730732895632169173L;
  private Throwable cause;
  
  public EclipseLazyStarter$TerminatingClassNotFoundException(String message, Throwable cause)
  {
    super(message, cause);
    this.cause = cause;
  }
  
  public Object getStatus()
  {
    return cause;
  }
  
  public int getStatusCode()
  {
    return 8;
  }
}

/* Location:
 * Qualified Name:     org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.TerminatingClassNotFoundException
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.core.runtime.internal.adaptor;

import java.io.IOException;
import java.net.URL;
import java.net.URLConnection;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.WeakHashMap;
import org.eclipse.osgi.baseadaptor.BaseAdaptor;
import org.eclipse.osgi.baseadaptor.BaseData;
import org.eclipse.osgi.baseadaptor.HookConfigurator;
import org.eclipse.osgi.baseadaptor.HookRegistry;
import org.eclipse.osgi.baseadaptor.bundlefile.BundleEntry;
import org.eclipse.osgi.baseadaptor.hooks.AdaptorHook;
import org.eclipse.osgi.baseadaptor.hooks.ClassLoadingStatsHook;
import org.eclipse.osgi.baseadaptor.loader.BaseClassLoader;
import org.eclipse.osgi.baseadaptor.loader.ClasspathEntry;
import org.eclipse.osgi.baseadaptor.loader.ClasspathManager;
import org.eclipse.osgi.framework.adaptor.ClassLoaderDelegate;
import org.eclipse.osgi.framework.adaptor.EventPublisher;
import org.eclipse.osgi.framework.adaptor.StatusException;
import org.eclipse.osgi.framework.debug.Debug;
import org.eclipse.osgi.framework.internal.core.AbstractBundle;
import org.eclipse.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87

Further reading...

For more information on Java 1.5 Tiger, you may find Java 1.5 Tiger, A developer's Notebook by D. Flanagan and B. McLaughlin from O'Reilly of interest.

New!JAR listings


Copyright 2006-2017. Infinite Loop Ltd