# JEP 초안: 생성자에서 super() 와 this()가 먼저 쓸 필요 없음

> Clean Markdown view of GeekNews topic #8312. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=8312](https://news.hada.io/topic?id=8312)
- GeekNews Markdown: [https://news.hada.io/topic/8312.md](https://news.hada.io/topic/8312.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2023-01-24T10:54:08+09:00
- Updated: 2023-01-24T10:54:08+09:00
- Original source: [openjdk.org](https://openjdk.org/jeps/8300786)
- Points: 3
- Comments: 5

## Topic Body

- Java 언어 스펙을 변경하고 컴파일러에 변경사항을 적용   
  - 이제 생성자에서 super()와 this()가 첫번째 문장이 되어야 할 필요가 없게   
  - 생성자에게 제공되는 기존의 안전 및 초기화 보장은 유지   
  - 기존 프로그램은 이전 처럼 계속 컴파일되고 작동함   
- 언어는 이렇게 요구하고 있지만, JVM은 더 유연성을 허용하고 있음   
- JEP : JDK Enhancement Proposal

## Comments



### Comment 14423

- Author: ehlegeth
- Created: 2023-01-25T15:23:48+09:00
- Points: 1

자세히 보니, 생산성을 위한 작은 크기의 feature들을 드라이브하는 Project Amber의 일부로군요. (마치 옛날의 Project Coin 같은 느낌...?)  
https://openjdk.org/projects/amber/

### Comment 14439

- Author: roxie
- Created: 2023-01-26T13:15:48+09:00
- Points: 1
- Parent comment: 14423
- Depth: 1

Draft 통과 이후 무조건 amber를 거치는줄 알았는데 아닌가요?

### Comment 14447

- Author: ehlegeth
- Created: 2023-01-26T15:25:55+09:00
- Points: 1
- Parent comment: 14439
- Depth: 2

저도 JEP 프로세스는 잘 모르겠습니다만, language specification 관련한 JEP들은 대부분 Amber 프로젝트에서 다루고 있기는 하네요. 컴파일러 그룹의 현재 프로젝트 중 하나이구요.  
  
https://bugs.openjdk.org/browse/JDK-8300786?jql=project%20%3D%20JDK%20AND%20issuetype%20%3D%20JEP%20AND%20status%20in%20(Draft%2C%20Submitted%2C%20Candidate)%20AND%20component%20%3D%20specification

### Comment 14410

- Author: twince
- Created: 2023-01-24T15:31:52+09:00
- Points: 1

이제사..

### Comment 14407

- Author: xguru
- Created: 2023-01-24T10:54:14+09:00
- Points: 1

음 자바쓰던 시절에 귀찮았던 것 같기는 하네요. (이제는 너무 오래전이라 가물가물..)
