User Tools

Site Tools


inner_classfiles_naming

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

inner_classfiles_naming [2013/11/13 07:37]
yann created
inner_classfiles_naming [2017/09/06 01:54]
Line 1: Line 1:
-From the beginning of the inception of [[http://​jcp.org/​aboutJava/​communityprocess/​maintenance/​JLS/​innerclasses.pdf|inner classes]] in Java, developers knew that it would be a mess... and it had been proven again and again. Here is a most recent example. Take the following (academic) piece of code: 
- 
-<​code>​ 
-public class Anonymous { 
- public void foo() { 
- class B {} 
- new B(); 
- } 
-} 
-</​code>​ 
- 
-On both MacOS Windows, there are two files generated... BUT, these two files have different names, thus throwing on the ground some of the dedicated PADL tests (in particular in PADL Creator ClassFile Tests) 
- 
-  * On MacOS 
-    * Anonymous.class 
-    * Anonymous$1B.class 
-  * On Windows 
-    * Anonymous.class 
-    * Anonymous$1$B.class 
  
inner_classfiles_naming.txt ยท Last modified: 2019/10/06 20:37 (external edit)