Repository logo

Infoscience

  • English
  • French
Log In
Logo EPFL, École polytechnique fédérale de Lausanne

Infoscience

  • English
  • French
Log In
  1. Home
  2. Academic and Research Output
  3. Conferences, Workshops, Symposiums, and Seminars
  4. Java and Scala's Type Systems are Unsound The Existential Crisis of Null Pointers
 
conference paper

Java and Scala's Type Systems are Unsound The Existential Crisis of Null Pointers

Amin, Nada  
•
Tate, Ross
2016
Acm Sigplan Notices
ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications (OOPSLA)

We present short programs that demonstrate the unsoundness of Java and Scala's current type systems. In particular, these programs provide parametrically polymorphic functions that can turn any type into any type without (down) casting. Fortunately, parametric polymorphism was not integrated into the Java Virtual Machine (JVM), so these examples do not demonstrate any unsoundness of the JVM. Nonetheless, we discuss broader implications of these findings on the field of programming languages.

  • Files
  • Details
  • Metrics
Type
conference paper
DOI
10.1145/3022671.2984004
Web of Science ID

WOS:000393581000048

Author(s)
Amin, Nada  
Tate, Ross
Date Issued

2016

Publisher

Assoc Computing Machinery

Publisher place

New York

Published in
Acm Sigplan Notices
Total of pages

11

Volume

51

Issue

10

Start page

838

End page

848

Subjects

Unsoundness

•

Java

•

Scala

•

Null

•

Existential

•

Design

•

Languages

•

Reliability

•

Security

Editorial or Peer reviewed

REVIEWED

Written at

EPFL

EPFL units
LAMP1  
Event nameEvent placeEvent date
ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications (OOPSLA)

Amsterdam, NETHERLANDS

NOV 02-04, 2016

Available on Infoscience
March 27, 2017
Use this identifier to reference this record
https://infoscience.epfl.ch/handle/20.500.14299/135990
Logo EPFL, École polytechnique fédérale de Lausanne
  • Contact
  • infoscience@epfl.ch

  • Follow us on Facebook
  • Follow us on Instagram
  • Follow us on LinkedIn
  • Follow us on X
  • Follow us on Youtube
AccessibilityLegal noticePrivacy policyCookie settingsEnd User AgreementGet helpFeedback

Infoscience is a service managed and provided by the Library and IT Services of EPFL. © EPFL, tous droits réservés