You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by 魏子涵 <wz...@163.com> on 2020/08/05 07:57:15 UTC
The bytecode of the class does not match the source code
Hi, everyone:
I found the 【org.apache.flink.runtime.jobmaster.slotpool.SlotPoolImpl】 class in【flink-runtime_2.11-1.11.1.jar】does not match the source code. Is it a problem we need to fix(if it is, what should we do)? or just let it go?
Re: The bytecode of the class does not match the source code
Posted by Jake <ft...@qq.com>.
hi 魏子涵
Idea decompiled code is not match java source code, you can download java source code in idea.
/Volumes/work/maven_repository/org/apache/flink/flink-runtime_2.11/1.10.1/flink-runtime_2.11-1.10.1-sources.jar!/org/apache/flink/runtime/jobmaster/slotpool/SlotPoolImpl.java
Jake
> On Aug 5, 2020, at 6:20 PM, 魏子涵 <wz...@163.com> wrote:
>
> I'm sure the two versions match up. Following is the pic comparing codes in IDEA
> https://img-blog.csdnimg.cn/20200805180232929.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0NTRE5yaG1t,size_16,color_FFFFFF,t_70
>
>
>
>
>
> At 2020-08-05 16:46:11, "Chesnay Schepler" <ch...@apache.org> wrote:
>
> Please make sure you have loaded the correct source jar, and aren't by chance still using the 1.11.0 source jar.
>
> On 05/08/2020 09:57, 魏子涵 wrote:
>> Hi, everyone:
>> I found the 【org.apache.flink.runtime.jobmaster.slotpool.SlotPoolImpl】 class in【flink-runtime_2.11-1.11.1.jar】does not match the source code. Is it a problem we need to fix(if it is, what should we do)? or just let it go?
>>
>>
>>
>
>
>
>
Re: The bytecode of the class does not match the source code
Posted by Chesnay Schepler <ch...@apache.org>.
Well of course these differ; on the left you have the decompiled
bytecode, on the right the original source.
If these were the same you wouldn't need source jars.
On 05/08/2020 12:20, 魏子涵 wrote:
> I'm sure the two versions match up. Following is the pic comparing
> codes in IDEA
> https://img-blog.csdnimg.cn/20200805180232929.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0NTRE5yaG1t,size_16,color_FFFFFF,t_70
>
>
>
>
>
>
> At 2020-08-05 16:46:11, "Chesnay Schepler" <ch...@apache.org> wrote:
>
> Please make sure you have loaded the correct source jar, and
> aren't by chance still using the 1.11.0 source jar.
>
> On 05/08/2020 09:57, 魏子涵 wrote:
>> Hi, everyone:
>> I found the
>> 【org.apache.flink.runtime.jobmaster.slotpool.SlotPoolImpl】 class
>> in【flink-runtime_2.11-1.11.1.jar】does not match the source code.
>> Is it a problem we need to fix(if it is, what should we do)? or
>> just let it go?
>>
>>
>
>
>
Re: The bytecode of the class does not match the source code
Posted by Chesnay Schepler <ch...@apache.org>.
Well of course these differ; on the left you have the decompiled
bytecode, on the right the original source.
If these were the same you wouldn't need source jars.
On 05/08/2020 12:20, 魏子涵 wrote:
> I'm sure the two versions match up. Following is the pic comparing
> codes in IDEA
> https://img-blog.csdnimg.cn/20200805180232929.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0NTRE5yaG1t,size_16,color_FFFFFF,t_70
>
>
>
>
>
>
> At 2020-08-05 16:46:11, "Chesnay Schepler" <ch...@apache.org> wrote:
>
> Please make sure you have loaded the correct source jar, and
> aren't by chance still using the 1.11.0 source jar.
>
> On 05/08/2020 09:57, 魏子涵 wrote:
>> Hi, everyone:
>> I found the
>> 【org.apache.flink.runtime.jobmaster.slotpool.SlotPoolImpl】 class
>> in【flink-runtime_2.11-1.11.1.jar】does not match the source code.
>> Is it a problem we need to fix(if it is, what should we do)? or
>> just let it go?
>>
>>
>
>
>
Re:Re: The bytecode of the class does not match the source code
Posted by 魏子涵 <wz...@163.com>.
I'm sure the two versions match up. Following is the pic comparing codes in IDEA
https://img-blog.csdnimg.cn/20200805180232929.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0NTRE5yaG1t,size_16,color_FFFFFF,t_70
At 2020-08-05 16:46:11, "Chesnay Schepler" <ch...@apache.org> wrote:
Please make sure you have loaded the correct source jar, and aren't by chance still using the 1.11.0 source jar.
On 05/08/2020 09:57, 魏子涵 wrote:
Hi, everyone:
I found the 【org.apache.flink.runtime.jobmaster.slotpool.SlotPoolImpl】 class in【flink-runtime_2.11-1.11.1.jar】does not match the source code. Is it a problem we need to fix(if it is, what should we do)? or just let it go?
Re:Re: The bytecode of the class does not match the source code
Posted by 魏子涵 <wz...@163.com>.
I'm sure the two versions match up. Following is the pic comparing codes in IDEA
https://img-blog.csdnimg.cn/20200805180232929.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0NTRE5yaG1t,size_16,color_FFFFFF,t_70
At 2020-08-05 16:46:11, "Chesnay Schepler" <ch...@apache.org> wrote:
Please make sure you have loaded the correct source jar, and aren't by chance still using the 1.11.0 source jar.
On 05/08/2020 09:57, 魏子涵 wrote:
Hi, everyone:
I found the 【org.apache.flink.runtime.jobmaster.slotpool.SlotPoolImpl】 class in【flink-runtime_2.11-1.11.1.jar】does not match the source code. Is it a problem we need to fix(if it is, what should we do)? or just let it go?
Re: The bytecode of the class does not match the source code
Posted by Chesnay Schepler <ch...@apache.org>.
Please make sure you have loaded the correct source jar, and aren't by
chance still using the 1.11.0 source jar.
On 05/08/2020 09:57, 魏子涵 wrote:
> Hi, everyone:
> I found the
> 【org.apache.flink.runtime.jobmaster.slotpool.SlotPoolImpl】 class
> in【flink-runtime_2.11-1.11.1.jar】does not match the source code. Is it
> a problem we need to fix(if it is, what should we do)? or just let it go?
>
>
Re: The bytecode of the class does not match the source code
Posted by Chesnay Schepler <ch...@apache.org>.
Please make sure you have loaded the correct source jar, and aren't by
chance still using the 1.11.0 source jar.
On 05/08/2020 09:57, 魏子涵 wrote:
> Hi, everyone:
> I found the
> 【org.apache.flink.runtime.jobmaster.slotpool.SlotPoolImpl】 class
> in【flink-runtime_2.11-1.11.1.jar】does not match the source code. Is it
> a problem we need to fix(if it is, what should we do)? or just let it go?
>
>