Type argument containment in draft JLS3

I have three questions about section 4.5.1.1 "Type Argument Containment and Equivalence":
1. "TA1 is said to contain another type argument TA2, written TA2 <= TA1, if the set of types denoted by TA1 is provably a subset of the set of types denoted by TA2"
Shouldn't that say "superset" instead of "subset"?
2. "T <= ? extends T" seems to imply that the set of type arguments that are contained by '? extends T' has only one member - T itself.
Same thing goes for the next line "T <= ? super T"
Shouldn't they be, respectively:
"T <= ? extends S if T <: S"
and
"T <= ? super S if S <: T"
3. Shouldn't there be a relation involving unbounded wildcards? Something like:
"Any type argument <= ?"

"Any type argument <= ?"The wildcard "?" is equivalent to "? extends Object" except
when used in generic array creation and instanceof.
However, the spec could have been clearer.

Similar Messages

  • RSCPEINVAL Invalid arguments Container is not char-like Export CDCLS

    Hello Memebers,
    I will highly appreciate the postive answer, if available with you.
    OS: AIX5.3/Oracle10.2
    We are doing system Export of 4.6system for unicode convesion, after long running CDCLS Table/package throws below error.
    <b>
    GSI) INFO: instno   = "0020091458"
    (rscpMC) CDCLS     : Cannot read UMGCCTL. I will use code page '1100' for whole
    table.
    (rscpMC) CDPOS     : Cannot read UMGCCTL. I will use code page '1100' for whole
    table.
    Tab field J_7LC19-[13] has type DDic:160 ABAP:2
    Syslog: k CQ9 : J_7LC19&DDic:160&ABAP:2&field:13&                    rscpgdio 41
    .--============--
    RSCP - Error
    Error from:             Codepage handling (RSCP)               44548
    code:   16  RSCPEINVAL   Invalid arguments
    Container is not char-like
    module: rscpgdio no:   41 line:  3738                    T100: TS005
    TSL01: CQ9  p3: J_7LC19  p4: &DDic:160&ABAP:2&field:13&
    `----
    Tab field J_7LC19-[13] has type DDic:160 ABAP:2
    Syslog: k CQ9 : J_7LC19&DDic:160&ABAP:2&field:13&                    rscpgdio 41
    *********************************</b>
    We had set I18N_NAMETAB_TIMESTAMPS=IGNORE earlier.
    Size of Table is 4GB and Index 13 GB.
    R3load version is latest.
    Waiting for spotaneous reply.
    Thanks in advace.
    Amit lal

    Solution Provided by SAP.
    Check notes:
    Note 946493 - ! Unicode conversion: Some fields in clusters not converted
    Note 837173 - RADCUCNT in Unicode Conversion: Collective Note
    Referring note 89384, we checked cluster tables with R3check. This check fails with error (return code 12) in trans.log. I am attaching log file for your reference. (trans_CDCLS.txt)
    Note 867193 - ABAP and kernel patches for CU&UC in 46C

  • A SWF Tag of type 75 contains 10 bytes of unread data at the end of the tag at byte offset 1762

    When building with Flash builder 4.7 I get two warnings I can't seem to track down.
    Those are
    "A SWF Tag of type 75 contains 10 bytes of unread data at the end of the tag at byte offset 1762" The other
    "A SWF Tag of type 75 contains 5464 bytes of unread data at the end of the tag at byte offset 797163"
    No file is pointed out or anything else to help.
    Any ideas what to look for, why this is a warning, possible implications & what to do?

    This is one output after running a variation of the script, but I get this   <!-- unknown tag=63 length=16 --> on all of the libraries
    Here is a link to the swc for further inspection https://dl.dropbox.com/u/154782/GoCoUtil.swc
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Parsing swf file:/Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.345990/AIRSDK/bin/GoCoUtil.swc.swf -->
    <swf xmlns="http://macromedia/2003/swfx" version="14" framerate="24.0" size="10000x7500" compressed="true" >
      <!-- framecount=1 length=12927 -->
      <FileAttributes useDirectBlit="false" useGPU="false" hasMetadata="true" actionScript3="true" suppressCrossDomainCaching="false" swfRelativeUrls="false" useNetwork="true"/>
      <Metadata>
            <![CDATA[<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'><rdf:Description rdf:about='' xmlns:dc='http://purl.org/dc/elements/1.1'><dc:format>application/x-shockwave-flash</dc:format><dc:title>Adobe Flex 4 Application</dc:title><dc:description>http://www.adobe.com/products/flex</dc:description><dc:publisher>unknown</dc:publisher><dc:creator>unknown</dc:creator><dc:l anguage>EN</dc:language><dc:date>Sep 20, 2012</dc:date></rdf:Description></rdf:RDF>
    ]]>
      </Metadata>
      <EnableDebugger2 password="NO-PASSWORD" reserved="0x1975"/>
      <!-- unknown tag=63 length=16 -->
      <ScriptLimits scriptRecursionLimit="1000" scriptTimeLimit="60"/>
      <SetBackgroundColor color="#FFFFFF"/>
      <ProductInfo product="FLEX" edition="NONE" version="4.6" build="23201" compileDate="9/20/12 12:41 PM"/>
      <DoABC name="com/gogogic/common/util/interfaces/IParsableList"/>
      <DoABC name="_5655ee2c6f5749799717c751ad05c55879a42026a02d38e5e206aab452dbcc6f_flash_display_Spr ite"/>
      <DoABC name="com/gogogic/common/util/ShallowCloner"/>
      <DoABC name="com/gogogic/common/util/GoCoDataUtil"/>
      <DoABC name="com/gogogic/common/util/PropertyParseError"/>
      <DoABC name="com/gogogic/common/util/interfaces/IDataChange"/>
      <DoABC name="com/gogogic/common/util/vo/DataChangeVO"/>
      <DoABC name="com/gogogic/common/util/GoCoUtilVersion"/>
      <DoABC name="com/gogogic/common/util/event/DataChangeEvent"/>
      <DoABC name="com/gogogic/common/util/PropertyParser"/>
      <SymbolClass>
        <Symbol idref="0" className="_5655ee2c6f5749799717c751ad05c55879a42026a02d38e5e206aab452dbcc6f_flash_displa y_Sprite" />
      </SymbolClass>
      <ShowFrame/>
    </swf>

  • The parameter "argument" contains "0x9".Unicode Error

    Hello Experts,Kindly help!!!!
         In one of the scenarios in Production XI, I am getting following error in communication channel monitoring.
    Could not process due to error: com.sap.engine.frame.core.locking.SAPLockingIllegalArgumentException: ISO-control characters are not allowed in parameters. The parameter "argument" contains "0x9".
    In this particular scenario, SAP XI is picking .txt file from application server through sender communiation channel and placing this .txt on FTP through receiver communication channel.
       My receiver communication channel is throwing this error in communication channel monitoring.
    It seems the error is related to unicode as I found there is no such string "0x9" in my payload.
    Also, I found out in unicode "tab" character represents "0x9".But my application server .txt file also does not have any "tab" character in it.
    I have confirmed with basis team and my SAP installation is unicode enabled.
    If I execute same scenario in my quality server with same payload, its successfully creating file on F.T.P.
    Thanks and Regards,
    Amol

    Hello Michal,
       Thanks for quick response.
    In both production and quality servers its text mode in file adapter.
    Regards,
    Amol

  • BUG - Reformat in 10.1.3.2 erases explicit type argument specifications

    JDeveloper: 10.1.3.2.0.4066
    Explicit type argument specifications seem to be erased when using the reformat function (Ctrl-Alt-L) in JDeveloper.
    For example, the following code compiles and runs before a reformat:
    import java.util.*;
    class Snow {}
    class Powder extends Snow {}
    class Light extends Powder {}
    class Heavy extends Powder {}
    public class AsListInference2 {
      public static void main(String[] args) {
        List<Snow> snow = Arrays.<Snow>asList(new Light(), new Heavy());
        for (Snow s: snow) { System.out.println(s); }
    }After the reformat, "Arrays.<Snow>asList(" is changed to "Arrays.asList(", causing a compile error.

    Thanks Loren,
    I'll file a bug on this
    Frank

  • Error: Set type Z contains multiple-value attributes

    Hi forum,
    I have a problem when i try to assign a set type with the same value but diferent name on another set type to the same product category.
    This is the detail of the error but i dont know where i have to set this indicator:
    If you set this indicator for a particular hierarchy, all categories and set types in this hierarchy are created in the PME.
    This gives you the following extended maintenance options at category level:
    You can assign set types with multiple-value attributes
    You can restrict value ranges and maintain default values for attributes of customer set types.
    Any sugerence about this?
    Regards and thanks in advance,
    Mon

    Hi Nelson,
    I create two set types, the description is not the problem. I have discover that when i try to assign these attributes in the same set type or in other appears this error.
    The set types have the same values. For example:
    zcountry1. Values: sp - spain. fr - france.
    zcountry2. Values: sp - spain. fr - france.
    When i try to configurate the comm_hierarchy in my category appears this error:
    Set type zcountry2 contains multiple-value attributes.
    Diagnosis
    The set type ZGAME5 contains multiple-value attributes. It cannot be assigned to the category as extended maintenance has not been activated.
    Procedure
    Multiple-value attributes are stored in the PME. If you want to use the set type ZGAME5, you must set the Extended Maintenance Options indicator for the hierarchy.
    Extended Maintenance Is Possible for the Hierarchy
    Definition
    If you set this indicator for a particular hierarchy, all categories and set types in this hierarchy are created in the PME.
    This gives you the following extended maintenance options at category level:
    You can assign set types with multiple-value attributes
    You can restrict value ranges and maintain default values for attributes of customer set types.
    Where is this indicator¿? in R3?
    So, these are the steps...can anybody help to me?
    Regards and thanks in advance.

  • Clear definition+examples- type variable, type parameter and type argument

    I am trying to fully understand the terms like type variable, type parameter and type argument as they apply to generics. Can anyone please give the exact definition and example of each of these terms. Also how these terms relate to the classes/interfaces in language model APIs of Java 6.

    http://java.sun.com/docs/books/jls/third_edition/html/j3TOC.html

  • Idoc message type which contains all  data types

    Hi,
    I need idoc type or name which consist of all data type sap has defined. There are nearly 24 data types.
    Pls help..
    Regards,
    Taj

    hi,
    you will not have any message types which contain all data types.
    message types will be defined based on specific data.
    for example :
    MATMAS - Material master
    DEBMAS - Customer master data distribution

  • IDOC type abc contains error (Unable to read segments)

    Hi All
    While importing IDOC in IR i am getting error "IDOC type abc contains error (Unable to read segments)".
    We have added one extra field into our existing customised IDOC into R3 and successfully releases. Previous IDOC having version 640 and modified IDOC having version 700.
    In IDX2 i have successfully imported IDOC metadata and one extra added field also i can see there. But while importing into IR its showing me error "IDOC type abc contains error (Unable to read segments)".
    I have tried to import different IDOC using same user and it was successfully imported means there is no authorization error.
    Please suggest me where could be the problem?
    Regards
    Dheeraj Kumar

    Do The following:
    1) Delete the IDX2 entry and try to reimport once again....and in the IR also do the same.
    2) Have a look into this SAP Note- 742093
    3) Check the IDX1 entry , RFC destination entry... may be not pointing correctly.
    4) If any field which is mandatory in the idoc must not be disabled...take care about it.

  • Billing type ZF2 contains split crit. , n invoiced: 123456789, invoice notr

    Hi All,
    I am getting the following error at the time of doing billing,VF01....Help to resolve the same....
    *Error:  Billing type ZF2 contains split crit. , n invoiced: 123456789, invoice not req.*
    Rgds,
    Pavan.

    Check for the line item what is the item category you got. and then check in VTFL whether that item category is available or not. If it is not available then maintain the item category in VTFL. Also check in VOV7 for that item category whether relevant for billing has been maintained or not.
    You might be aware of Invoice split takes place because of the following criteria
    1) Payment terms
    2) Payer
    3) Billing date
    4) Foreign trade data
    5) Account assignment grp of MMR
    You might have maintained some group data in the sales order bcoz of that this is taking place.
    So check in the sales order whether all are same or not. for the two line items you had created in the sales order.
    Note : Check the copy control VTFL(if it is delv related billing or VTFA for order related billing) , whether invoice split 001 has been maintained or not.
    Hope it can assist you.
    Thanks & Regards
    JP

  • Why is my drafts folder grey and unaccessible on iPad2? It is not empty, contains 1 draft.

    Hi,
    My drafts folder is completely grey and unaccessible despite the fact that it contains 1 draft. I would like to know how I can either force empty this folder or simply get access to it again (black rather than grey).
    The draft was created by the Dragon Dictation app which I thought I might mention but I have never had a problem accessing drafts before that I can remember.
    I have seen a discussion for ipad 1 where all she had to do was turn her ipad to portrait and it went back to black but this is not the case with my ipad2.
    Any help would be very greatly appreciated I am foxed by this problem.
    Many thanks,
    Anni

    See this article. 
    iOS: Wi-Fi settings grayed out or dim

  • Workflow Step type for Container Operation

    Hi,
    A STEP in a given Workflow has to have an Agent? Can't I create a Step to get data from the DB into the container and that's it?
    I have created a container variable called "Grade" and I need to fetch the Grade of a User (WF Inititator) from a DB table and populate the "Grade" variable from the container that will be used in further steps.
    The Workflow gets kicked off but when it reaches the STEP, it stays there waiting for something (Action from a user?).
    Thanks & Regards,
    Ernesto

    Ok, now this is getting weird. Will try to explain what I am doing for one single step:
    1) I have my workflow. On PFTC I Have a workflow Template. Under the Container Tab I created a Parameter called "Grade" with the Import/Export check-boxes set and a "CreatedBy" parameter with the import/export check-boxes set as well.
    2) Then on the Workflow Builder I created a Step called Get Grade. This step calls a Custom Task and processes in the background so there is no agent determination.
        2.1) Here I have two bindings: a) Binding Between Workflow Container and Task and between Task and BO Method       
               Get_grade.  The Method Get_grade has 2 parameters (CreatedBy, that is an attribute of the Object and is an import
               parameteter and Grade that it is an import/export parameter).
        2.2) The Binding between the WF Container and the Task is like this:
                  &PROCCONFIRMATION.CREATEDBY& --> &CREATEDBY&
                  &GRADE& <-- &GRADE&
        2.3) Binding Between Task and Method is:
                 &_WI_OBJECT_ID.CREATEDBY& --> &CREATEDBY&
                 &GRADE& <-- &GRADE&   
        2.4) The Code for my method is:
    begin_method get_grade changing container.
    DATA:
          lv_grade TYPE zmm_app_req_info-grade,
          lv_userid TYPE zmm_app_req_info-requestor
    swc_get_property self 'CreatedBy' lv_userid.
    SELECT SINGLE grade FROM zmm_app_req_info
    INTO lv_grade
    WHERE requestor = lv_userid.
    IF sy-subrc IS INITIAL.
      swc_set_element container 'Grade' lv_grade.
    ENDIF.
    end_method.
    The only thing I need is to get the Grade parameter of the WF Container populated. This parameter will be used later on.
    Thanks & Regards,
    Ernesto.

  • Complex Type arguments in COM methods.

    Problem:
    A COM’s object method is expected to receive two
    arguments by reference. Both arguments are complex type (objects).
    According to CFMX documentation, you pass variables ‘by
    reference‘ by enclosing them in quotes. This works for simple
    types, but not for objects.
    Any idea how to pass an object by reference?

    Would it help to convert it to a string while passing between Python and LabVIEW?
    Then you can typecast it accordingly in each environment.
    Cory K

  • ASMX webservice with Complex type argument consuming in Biztalk

    There is a requirement to consume asmx webservice in biztalk orch.The asmx webservice ,webmethod is having complex type as a argument
    For Ex:CalculateFDR(Invoice as invoice) Here Invoice is a class.now consumed an asmx webservice using WCF consume wizard in BizTalk.
    In orchestration , when I create the Requestmessage and bind to messagetype with MyFin.CalculateFDRSoapIn.
    Now In expression shape when I want pass invoice values as argument  to Request message i am getting like below
    Msg_ServiceRequest.Parameters. instaed
    Msg_ServiceRequest.Invoice.InvoiceNo etc.
    Even When I check the multi-partmessage type i found that CalculateFDRSoapIn-Parameters and description of multi-part message type is <wsdl:message name="WriteDBEntrySoapIn"/> messagepart description is  <wsdl:part name="parameters"/> 
    Could you please let me know how to pass Invoice values as a argument for this webservice in Orchestration
    Note: We are palnning to use wcf-basichttp adapter.due to this not using webreference option
    Regards BizTalkWorship

    When you consume WCF/Web service using WCF/Web service wizard, it creates multi-part message type representing the contract’s of the parameters exchanged. This multi-part message will have
    message part names as “parameters”. This parameter can be of primitive .NET Types type like System.String, System.Int32 etc or it could be of a schema type.
    If multipart message’s message part type of Primitive .NET Types, then you can construct the message as you say something like..
    Msg_ServiceRequest.InvoiceNo
    Here if InvoiceNo could be of any primitive .NET Types.
    If it’s of any schema type then you got to construct the schema first either using map (Transform) or in message-assignment. In your case it seems to be the multipart message’s message part
    type is that of a schema. So you have to construct the schema using either map (Transform) or in message-assignment.
    Regards,
    M.R.Ashwin Prabhu
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • What type of Container Persistence should I choose �?

    Hi,
    I would like to know... what type of persistence should I choose to manage the entities bean.
    At first I choose CMP because it seems to be much easy to understood and maintain, and it seems to work fine with small queries...
    Every record of a table of muy RDBMS is represented by CMP Bean... �? is it true �?
    What happens if i will like to extract a big table with thousands and thousands records �? does this, affects to the performance of my server �? how can i control...�?
    Can I make complex queries with the CMP beans or should i use BMP beans in this case �?
    I do not know if the ejb-ql language will result helpful to perform complex queries...
    Can you help me �?
    Thank you....

    Hi,
    I would like to know... what type of persistence
    should I choose to manage the entities bean.CMP or BMP - those are the two choices.
    >
    At first I choose CMP because it seems to be much easy
    to understood and maintain, and it seems to work fine
    with small queries...
    Every record of a table of muy RDBMS is represented
    by CMP Bean... �? is it true �?True.
    >
    What happens if i will like to extract a big table
    with thousands and thousands records �? does this,
    affects to the performance of my server �? how can i
    control...�?Yes, indeed, it does affect performance.
    One way to handle that is to use a session bean to access all the data at once and then send back a collection of objects. There's a Core J2EE pattern called session facade that can help:
    http://java.sun.com/blueprints/corej2eepatterns/Patterns/SessionFacade.html

Maybe you are looking for