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
2015
Proceedings of the 2016 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications
OOPSLA 2016

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/2983990.2984004
Author(s)
Amin, Nada  
Tate, Ross
Date Issued

2015

Published in
Proceedings of the 2016 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications
Subjects

Unsoundness

•

Java

•

Scala

•

Null

•

Existential

Editorial or Peer reviewed

REVIEWED

Written at

EPFL

EPFL units
LAMP1  
Event nameEvent placeEvent date
OOPSLA 2016

Amsterdam, Netherlands

November 02 - 04, 2016

Available on Infoscience
March 31, 2017
Use this identifier to reference this record
https://infoscience.epfl.ch/handle/20.500.14299/136177
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